diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kpackage/kpTerm.h | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/kpTerm.h')
-rw-r--r-- | kpackage/kpTerm.h | 32 |
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 |