diff options
Diffstat (limited to 'kjsembed/plugins/qprocess_plugin.cpp')
-rw-r--r-- | kjsembed/plugins/qprocess_plugin.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/kjsembed/plugins/qprocess_plugin.cpp b/kjsembed/plugins/qprocess_plugin.cpp index 497022e1..3106fd8f 100644 --- a/kjsembed/plugins/qprocess_plugin.cpp +++ b/kjsembed/plugins/qprocess_plugin.cpp @@ -24,7 +24,7 @@ #include <kjsembed/jsbinding.h> #include <kjsembed/kjsembedpart.h> #include <kjsembed/customobject_imp.h> -#include <qvariant.h> +#include <tqvariant.h> #include "qprocess_plugin.h" @@ -32,7 +32,7 @@ namespace KJSEmbed { namespace Bindings { -ProcessLoader::ProcessLoader( QObject *parent, const char *name, const QStringList &args ) : +ProcessLoader::ProcessLoader( TQObject *parent, const char *name, const TQStringList &args ) : JSBindingPlugin(parent, name, args) { } @@ -41,7 +41,7 @@ KJS::Object ProcessLoader::createBinding(KJSEmbedPart *jspart, KJS::ExecState *e { kdDebug() << "Loading a process object" << endl; - QObject *parent = 0L; + TQObject *parent = 0L; JSObjectProxy *proxy = JSProxy::toObjectProxy( args[0].imp() ); if ( proxy ) parent = proxy->object(); @@ -54,8 +54,8 @@ KJS::Object ProcessLoader::createBinding(KJSEmbedPart *jspart, KJS::ExecState *e return proxyObj; } -ProcessImp::ProcessImp(QObject *parent, const char *name ) - : QProcess(parent, name) +ProcessImp::ProcessImp(TQObject *parent, const char *name ) + : TQProcess(parent, name) { kdDebug() << "New ProcessImp " << endl; } @@ -64,73 +64,73 @@ ProcessImp::~ProcessImp() { } -QStringList ProcessImp::arguments() const +TQStringList ProcessImp::arguments() const { - return QProcess::arguments(); + return TQProcess::arguments(); } -void ProcessImp::setArguments( const QStringList args) +void ProcessImp::setArguments( const TQStringList args) { - QProcess::setArguments( args ); + TQProcess::setArguments( args ); } ProcessImp::Communication ProcessImp::communication() const { - return (ProcessImp::Communication)QProcess::communication(); + return (ProcessImp::Communication)TQProcess::communication(); } void ProcessImp::setCommunication( Communication comm) { - QProcess::setCommunication( comm ); + TQProcess::setCommunication( comm ); } bool ProcessImp::canReadLineStdout() const { - return QProcess::canReadLineStdout(); + return TQProcess::canReadLineStdout(); } bool ProcessImp::canReadLineStderr() const { - return QProcess::canReadLineStderr(); + return TQProcess::canReadLineStderr(); } bool ProcessImp::isRunning() const { - return QProcess::isRunning(); + return TQProcess::isRunning(); } bool ProcessImp::normalExit() const { - return QProcess::normalExit(); + return TQProcess::normalExit(); } int ProcessImp::exitStatus() const { - return QProcess::exitStatus(); + return TQProcess::exitStatus(); } bool ProcessImp::start() { - return QProcess::start( ); + return TQProcess::start( ); } -QString ProcessImp::readLineStdout () +TQString ProcessImp::readLineStdout () { - return QProcess::readLineStdout(); + return TQProcess::readLineStdout(); } -QString ProcessImp::readLineStderr () +TQString ProcessImp::readLineStderr () { - return QProcess::readLineStderr(); + return TQProcess::readLineStderr(); } -QDir ProcessImp::workingDirectory () const +TQDir ProcessImp::workingDirectory () const { - return QProcess::workingDirectory(); + return TQProcess::workingDirectory(); } -void ProcessImp::setWorkingDirectory ( const QDir & dir ) +void ProcessImp::setWorkingDirectory ( const TQDir & dir ) { - QProcess::setWorkingDirectory( dir ); + TQProcess::setWorkingDirectory( dir ); } -void ProcessImp::addArgument ( const QString & arg ) +void ProcessImp::addArgument ( const TQString & arg ) { - QProcess::addArgument( arg ); + TQProcess::addArgument( arg ); } } // namespace KJSEmbed::Bindings |