summaryrefslogtreecommitdiffstats
path: root/kpackage/kpPty.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/kpPty.h')
-rw-r--r--kpackage/kpPty.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kpackage/kpPty.h b/kpackage/kpPty.h
index f427ef8..bf303f2 100644
--- a/kpackage/kpPty.h
+++ b/kpackage/kpPty.h
@@ -27,11 +27,11 @@
#ifndef KPPTY_H
#define KPPTY_H
-#include <qmultilineedit.h>
-#include <qstringlist.h>
-#include <qregexp.h>
-#include <qtextcodec.h>
-#include <qmap.h>
+#include <tqmultilineedit.h>
+#include <tqstringlist.h>
+#include <tqregexp.h>
+#include <tqtextcodec.h>
+#include <tqmap.h>
#include <kprocio.h>
@@ -43,7 +43,7 @@ class kpKProcIO: public KProcIO
public:
- kpKProcIO ( QTextCodec *_codec = 0);
+ kpKProcIO ( TQTextCodec *_codec = 0);
~kpKProcIO();
bool sstart (RunMode runmode);
@@ -57,12 +57,12 @@ public:
kpPty();
~kpPty();
- QStringList run(const QString &cmd, bool inLoop = TRUE,
+ TQStringList run(const TQString &cmd, bool inLoop = TRUE,
bool needRoot= FALSE);
bool startSession(bool needRoot);
void close();
- QString remote;
+ TQString remote;
int Result;
// True if have started a session
bool inSession;
@@ -76,8 +76,8 @@ public slots:
void keyOut(char);
signals:
- void textIn(const QString &, bool);
- void result(QStringList &, int);
+ void textIn(const TQString &, bool);
+ void result(TQStringList &, int);
private:
void finish(int ret);
@@ -85,21 +85,21 @@ private:
void startSsh();
void startSu();
void startSudo();
- void breakUpCmd(const QString &);
+ void breakUpCmd(const TQString &);
bool needSession(bool needRoot);
kpKProcIO* pty;
- QTimer *tm;
- QStringList retList;
- QRegExp terminator;
+ TQTimer *tm;
+ TQStringList retList;
+ TQRegExp terminator;
bool pUnterm;
- QString uptext;
+ TQString uptext;
// True if in event loop
bool eventLoop;
// True if trying to login
bool loginSession;
- QTextCodec *codec;
- QMap<QString, QCString> passwords;
+ TQTextCodec *codec;
+ TQMap<TQString, TQCString> passwords;
};