diff options
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 66d79f99..c5ffe4a5 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( TTQObject *parent, const char *name, const TTQStringList &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 TTQProcess { +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(TTQStringList 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( TTQObject *parent = 0, const char *name = 0); + ProcessImp( TQObject *parent = 0, const char *name = 0); virtual ~ProcessImp(); - TTQStringList arguments() const; - void setArguments( const TTQStringList 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 TTQString readLineStdout (); - virtual TTQString readLineStderr (); - TTQDir workingDirectory () const; - void setWorkingDirectory ( const TTQDir & dir ); - void addArgument ( const TTQString & arg ); + virtual TQString readLineStdout (); + virtual TQString readLineStderr (); + TQDir workingDirectory () const; + void setWorkingDirectory ( const TQDir & dir ); + void addArgument ( const TQString & arg ); }; } // namespace |