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.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/plugins/qprocess_plugin.cpp')
-rw-r--r-- | kjsembed/plugins/qprocess_plugin.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kjsembed/plugins/qprocess_plugin.cpp b/kjsembed/plugins/qprocess_plugin.cpp index 3106fd8f..085334ef 100644 --- a/kjsembed/plugins/qprocess_plugin.cpp +++ b/kjsembed/plugins/qprocess_plugin.cpp @@ -32,7 +32,7 @@ namespace KJSEmbed { namespace Bindings { -ProcessLoader::ProcessLoader( TQObject *parent, const char *name, const TQStringList &args ) : +ProcessLoader::ProcessLoader( TTQObject *parent, const char *name, const TTQStringList &args ) : JSBindingPlugin(parent, name, args) { } @@ -41,7 +41,7 @@ KJS::Object ProcessLoader::createBinding(KJSEmbedPart *jspart, KJS::ExecState *e { kdDebug() << "Loading a process object" << endl; - TQObject *parent = 0L; + TTQObject *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(TQObject *parent, const char *name ) - : TQProcess(parent, name) +ProcessImp::ProcessImp(TTQObject *parent, const char *name ) + : TTQProcess(parent, name) { kdDebug() << "New ProcessImp " << endl; } @@ -64,73 +64,73 @@ ProcessImp::~ProcessImp() { } -TQStringList ProcessImp::arguments() const +TTQStringList ProcessImp::arguments() const { - return TQProcess::arguments(); + return TTQProcess::arguments(); } -void ProcessImp::setArguments( const TQStringList args) +void ProcessImp::setArguments( const TTQStringList args) { - TQProcess::setArguments( args ); + TTQProcess::setArguments( args ); } ProcessImp::Communication ProcessImp::communication() const { - return (ProcessImp::Communication)TQProcess::communication(); + return (ProcessImp::Communication)TTQProcess::communication(); } void ProcessImp::setCommunication( Communication comm) { - TQProcess::setCommunication( comm ); + TTQProcess::setCommunication( comm ); } bool ProcessImp::canReadLineStdout() const { - return TQProcess::canReadLineStdout(); + return TTQProcess::canReadLineStdout(); } bool ProcessImp::canReadLineStderr() const { - return TQProcess::canReadLineStderr(); + return TTQProcess::canReadLineStderr(); } bool ProcessImp::isRunning() const { - return TQProcess::isRunning(); + return TTQProcess::isRunning(); } bool ProcessImp::normalExit() const { - return TQProcess::normalExit(); + return TTQProcess::normalExit(); } int ProcessImp::exitStatus() const { - return TQProcess::exitStatus(); + return TTQProcess::exitStatus(); } bool ProcessImp::start() { - return TQProcess::start( ); + return TTQProcess::start( ); } -TQString ProcessImp::readLineStdout () +TTQString ProcessImp::readLineStdout () { - return TQProcess::readLineStdout(); + return TTQProcess::readLineStdout(); } -TQString ProcessImp::readLineStderr () +TTQString ProcessImp::readLineStderr () { - return TQProcess::readLineStderr(); + return TTQProcess::readLineStderr(); } -TQDir ProcessImp::workingDirectory () const +TTQDir ProcessImp::workingDirectory () const { - return TQProcess::workingDirectory(); + return TTQProcess::workingDirectory(); } -void ProcessImp::setWorkingDirectory ( const TQDir & dir ) +void ProcessImp::setWorkingDirectory ( const TTQDir & dir ) { - TQProcess::setWorkingDirectory( dir ); + TTQProcess::setWorkingDirectory( dir ); } -void ProcessImp::addArgument ( const TQString & arg ) +void ProcessImp::addArgument ( const TTQString & arg ) { - TQProcess::addArgument( arg ); + TTQProcess::addArgument( arg ); } } // namespace KJSEmbed::Bindings |