summaryrefslogtreecommitdiffstats
path: root/kpackage/kpTerm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/kpTerm.cpp')
-rw-r--r--kpackage/kpTerm.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpackage/kpTerm.cpp b/kpackage/kpTerm.cpp
index aab6ab8..c91f1a2 100644
--- a/kpackage/kpTerm.cpp
+++ b/kpackage/kpTerm.cpp
@@ -38,13 +38,13 @@
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-kpTerm::kpTerm(kpPty *pt, TQWidget * parent, const char * name ) :
- TQTextEdit(parent,name)
+kpTerm::kpTerm(kpPty *pt, TQWidget * tqparent, const char * name ) :
+ TQTextEdit(tqparent,name)
{
pty = pt;
setFont(KGlobalSettings::fixedFont());
// setMinimumWidth(fontMetrics().maxWidth()*80 +
- // minimumSizeHint().width());
+ // tqminimumSizeHint().width());
setWordWrap(NoWrap);
setReadOnly(TRUE);
}
@@ -111,13 +111,13 @@ void kpTerm::textIn(const TQString &stext, bool bNewLine)
TQRegExp chrs("[\\010\\012\\015]");
TQString del = "\010";
// kdDebug() << "Tin=[" << stext << "]\n";
- if (stext.find(chrs) < 0) {
+ if (stext.tqfind(chrs) < 0) {
insert( stext );
} else {
int p;
int op = 0;
- while ((p = stext.find(chrs,op)) >= 0) {
+ while ((p = stext.tqfind(chrs,op)) >= 0) {
if (p != op) {
insert( stext.mid(op, p-op));
}
@@ -169,8 +169,8 @@ void kpTerm::slotResult(TQStringList &rlist, int ret)
// Dialog window for password prompt
//
//////////////////////////////////////////////////////////////////////////////
-kpRun::kpRun( TQWidget *parent)
- : KDialogBase(parent, "kpRun", true, TQString::null,
+kpRun::kpRun( TQWidget *tqparent)
+ : KDialogBase(tqparent, "kpRun", true, TQString(),
Cancel, Cancel, true )
{
TQVBox *page = makeVBoxMainWidget();