summaryrefslogtreecommitdiffstats
path: root/kjsembed/plugins/qprocess_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/plugins/qprocess_plugin.h')
-rw-r--r--kjsembed/plugins/qprocess_plugin.h26
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