summaryrefslogtreecommitdiffstats
path: root/kpackage/kpTerm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/kpTerm.h')
-rw-r--r--kpackage/kpTerm.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kpackage/kpTerm.h b/kpackage/kpTerm.h
index 7767565..00ac57a 100644
--- a/kpackage/kpTerm.h
+++ b/kpackage/kpTerm.h
@@ -31,10 +31,10 @@
#include "../config.h"
-#include <qtextedit.h>
-#include <qstringlist.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqtextedit.h>
+#include <tqstringlist.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <kdialogbase.h>
@@ -47,23 +47,23 @@ class kpTerm: public QTextEdit
Q_OBJECT
public:
- kpTerm(kpPty *pt, QWidget * parent=0, const char * name=0);
- void keyPressEvent ( QKeyEvent * e );
- bool run(const QString &cmd, QStringList &r);
+ kpTerm(kpPty *pt, TQWidget * parent=0, const char * name=0);
+ void keyPressEvent ( TQKeyEvent * e );
+ bool run(const TQString &cmd, TQStringList &r);
void doConnect();
void doUnconnect();
- void insert ( const QString & str, bool mark=FALSE );
+ void insert ( const TQString & str, bool mark=FALSE );
kpPty *pty;
void cancel();
void done();
public slots:
- void textIn(const QString &, bool);
- void slotResult(QStringList &, int);
+ void textIn(const TQString &, bool);
+ void slotResult(TQStringList &, int);
signals:
void keyOut(char);
- void result(QStringList &, int);
+ void result(TQStringList &, int);
};
@@ -74,17 +74,17 @@ class kpRun: public KDialogBase
Q_OBJECT
public:
- kpRun(QWidget *parent = 0);
- bool run(QString cmd, QString title);
- void addText(const QStringList &ret);
+ kpRun(TQWidget *parent = 0);
+ bool run(TQString cmd, TQString title);
+ void addText(const TQStringList &ret);
public slots:
- void slotResult(QStringList &, int);
+ void slotResult(TQStringList &, int);
void slotCancel();
private:
kpTerm *term;
- QLabel *title;
+ TQLabel *title;
};
//////////////////////////////////////////////////////////////////////////////
#endif