summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope/synaescope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/synaescope/synaescope.cpp')
-rw-r--r--noatun-plugins/synaescope/synaescope.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/noatun-plugins/synaescope/synaescope.cpp b/noatun-plugins/synaescope/synaescope.cpp
index 16a6a2e..a401704 100644
--- a/noatun-plugins/synaescope/synaescope.cpp
+++ b/noatun-plugins/synaescope/synaescope.cpp
@@ -17,7 +17,7 @@ extern "C"
{
Plugin *create_plugin()
{
- KGlobal::locale()->insertCatalogue("synaescope");
+ TDEGlobal::locale()->insertCatalogue("synaescope");
return new SynaeScope();
}
}
@@ -26,12 +26,12 @@ SynaeScope::SynaeScope() : Plugin(), scopeExePath(0)
{
kdDebug(66666) << k_funcinfo << endl;
restarting=false;
- connect(&process, TQT_SIGNAL(processExited(KProcess *)),
- this, TQT_SLOT(processExited(KProcess *)));
- connect(&process, TQT_SIGNAL(receivedStdout(KProcess *,char *,int)),
- this, TQT_SLOT(receivedStdout(KProcess *,char *,int)));
- connect(&process, TQT_SIGNAL(receivedStderr(KProcess *,char *,int)),
- this, TQT_SLOT(receivedStderr(KProcess *,char *,int)));
+ connect(&process, TQT_SIGNAL(processExited(TDEProcess *)),
+ this, TQT_SLOT(processExited(TDEProcess *)));
+ connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *,char *,int)),
+ this, TQT_SLOT(receivedStdout(TDEProcess *,char *,int)));
+ connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *,char *,int)),
+ this, TQT_SLOT(receivedStderr(TDEProcess *,char *,int)));
}
SynaeScope::~SynaeScope()
@@ -63,7 +63,7 @@ void SynaeScope::init()
void SynaeScope::runScope()
{
kdDebug(66666) << k_funcinfo << endl;
- if(!process.start(KProcess::NotifyOnExit, (KProcess::Communication)(KProcess::Stdin | KProcess::Stdout)))
+ if(!process.start(TDEProcess::NotifyOnExit, (TDEProcess::Communication)(TDEProcess::Stdin | TDEProcess::Stdout)))
{
KMessageBox::error(0, i18n("Unable to start noatunsynaescope. Check your installation."));
unload();
@@ -81,7 +81,7 @@ void SynaeScope::readConfig()
process.kill();
}
-void SynaeScope::processExited(KProcess *)
+void SynaeScope::processExited(TDEProcess *)
{
kdDebug(66666) << k_funcinfo << endl;
if(restarting)
@@ -95,13 +95,13 @@ void SynaeScope::processExited(KProcess *)
}
}
-void SynaeScope::receivedStdout(KProcess *, char *buf, int len)
+void SynaeScope::receivedStdout(TDEProcess *, char *buf, int len)
{
TQCString debugString(buf,len);
kdDebug(66666) << k_funcinfo << debugString << endl;
}
-void SynaeScope::receivedStderr(KProcess *, char *buf, int len)
+void SynaeScope::receivedStderr(TDEProcess *, char *buf, int len)
{
TQCString debugString(buf,len);
kdDebug(66666) << k_funcinfo << debugString << endl;