diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/plugins/qprocess_plugin.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/plugins/qprocess_plugin.h')
-rw-r--r-- | kjsembed/plugins/qprocess_plugin.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kjsembed/plugins/qprocess_plugin.h b/kjsembed/plugins/qprocess_plugin.h index 8b0608a5..c5ffe4a5 100644 --- a/kjsembed/plugins/qprocess_plugin.h +++ b/kjsembed/plugins/qprocess_plugin.h @@ -24,8 +24,8 @@ #include <kjsembed/jsbindingplugin.h> #include <kjsembed/jsproxy_imp.h> -#include <qprocess.h> -#include <qdir.h> +#include <tqprocess.h> +#include <tqdir.h> namespace KJSEmbed { namespace Bindings { @@ -33,20 +33,20 @@ namespace Bindings { class ProcessLoader : public JSBindingPlugin { public: - ProcessLoader( QObject *parent, const char *name, const QStringList &args ); + ProcessLoader( TQObject *parent, const char *name, const TQStringList &args ); virtual ~ProcessLoader(){;} KJS::Object createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const; }; -class ProcessImp : public QProcess { +class ProcessImp : public TQProcess { Q_OBJECT /** Identifiers for the methods provided by this class. */ enum Communication { Stdin = 0x01, Stdout = 0x02, Stderr = 0x04, DupStderr = 0x08 }; - Q_PROPERTY(QStringList arguments READ arguments WRITE setArguments ) + Q_PROPERTY(TQStringList arguments READ arguments WRITE setArguments ) Q_PROPERTY(Communication communication READ communication WRITE setCommunication) Q_PROPERTY(bool canReadLineStdout READ canReadLineStdout ) Q_PROPERTY(bool canReadLineStderr READ canReadLineStderr ) @@ -56,11 +56,11 @@ Q_OBJECT Q_ENUMS(Communication) public: - ProcessImp( QObject *parent = 0, const char *name = 0); + ProcessImp( TQObject *parent = 0, const char *name = 0); virtual ~ProcessImp(); - QStringList arguments() const; - void setArguments( const QStringList args); + TQStringList arguments() const; + void setArguments( const TQStringList args); Communication communication() const; void setCommunication( Communication comm); @@ -73,11 +73,11 @@ public: public slots: bool start(); - virtual QString readLineStdout (); - virtual QString readLineStderr (); - QDir workingDirectory () const; - void setWorkingDirectory ( const QDir & dir ); - void addArgument ( const QString & arg ); + virtual TQString readLineStdout (); + virtual TQString readLineStderr (); + TQDir workingDirectory () const; + void setWorkingDirectory ( const TQDir & dir ); + void addArgument ( const TQString & arg ); }; } // namespace |