diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /lib/util/execcommand.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/execcommand.h')
-rw-r--r-- | lib/util/execcommand.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/util/execcommand.h b/lib/util/execcommand.h index c00085c6..c3e20d47 100644 --- a/lib/util/execcommand.h +++ b/lib/util/execcommand.h @@ -20,8 +20,8 @@ #ifndef _EXECCOMMAND_H_ #define _EXECCOMMAND_H_ -#include <qobject.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstringlist.h> class KProcess; class KProgressDialog; @@ -37,22 +37,22 @@ Command execution facilities. * a progress dialog with the possibility to cancel the command. * * If there was an error or the user pressed cancel, finished () - * will emit a QString::null, otherwise QStrings containing the stdout/stderr. + * will emit a TQString::null, otherwise QStrings containing the stdout/stderr. * * The object will delete itself after the finished signal has been emitted. - * Additional environment can be set in the QStringList env via QStrings with the format "foo=blah" + * Additional environment can be set in the TQStringList env via QStrings with the format "foo=blah" */ class ExecCommand : public QObject { Q_OBJECT public: - ExecCommand( const QString& executable, const QStringList& args, - const QString& workingDir = QString::null, - const QStringList& env = QStringList(), QObject* parent = 0, const char* name = 0 ); + ExecCommand( const TQString& executable, const TQStringList& args, + const TQString& workingDir = TQString::null, + const TQStringList& env = TQStringList(), TQObject* parent = 0, const char* name = 0 ); ~ExecCommand(); signals: - void finished( const QString& output, const QString& errorOutput ); + void finished( const TQString& output, const TQString& errorOutput ); private slots: void receivedStdout (KProcess *, char *buffer, int buflen); @@ -63,8 +63,8 @@ private slots: private: KProcess* proc; KProgressDialog* progressDlg; - QString out; - QString err; + TQString out; + TQString err; }; #endif |