From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/util/execcommand.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/util/execcommand.h') 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 -#include +#include +#include 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 -- cgit v1.2.1