diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/plugins/qprocess_plugin.h | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/plugins/qprocess_plugin.h')
-rw-r--r-- | kjsembed/plugins/qprocess_plugin.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kjsembed/plugins/qprocess_plugin.h b/kjsembed/plugins/qprocess_plugin.h index c5ffe4a5..66d79f99 100644 --- a/kjsembed/plugins/qprocess_plugin.h +++ b/kjsembed/plugins/qprocess_plugin.h @@ -33,20 +33,20 @@ namespace Bindings { class ProcessLoader : public JSBindingPlugin { public: - ProcessLoader( TQObject *parent, const char *name, const TQStringList &args ); + ProcessLoader( TTQObject *parent, const char *name, const TTQStringList &args ); virtual ~ProcessLoader(){;} KJS::Object createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const; }; -class ProcessImp : public TQProcess { +class ProcessImp : public TTQProcess { Q_OBJECT /** Identifiers for the methods provided by this class. */ enum Communication { Stdin = 0x01, Stdout = 0x02, Stderr = 0x04, DupStderr = 0x08 }; - Q_PROPERTY(TQStringList arguments READ arguments WRITE setArguments ) + Q_PROPERTY(TTQStringList 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( TQObject *parent = 0, const char *name = 0); + ProcessImp( TTQObject *parent = 0, const char *name = 0); virtual ~ProcessImp(); - TQStringList arguments() const; - void setArguments( const TQStringList args); + TTQStringList arguments() const; + void setArguments( const TTQStringList args); Communication communication() const; void setCommunication( Communication comm); @@ -73,11 +73,11 @@ public: public slots: bool start(); - virtual TQString readLineStdout (); - virtual TQString readLineStderr (); - TQDir workingDirectory () const; - void setWorkingDirectory ( const TQDir & dir ); - void addArgument ( const TQString & arg ); + virtual TTQString readLineStdout (); + virtual TTQString readLineStderr (); + TTQDir workingDirectory () const; + void setWorkingDirectory ( const TTQDir & dir ); + void addArgument ( const TTQString & arg ); }; } // namespace |