summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope/synaescope.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
commit4c097708c4cc24f3b8e4c21f14644f5715767d47 (patch)
treee8ca4b1d3a3b3de0d18e5f144dcef9b36f830b84 /noatun-plugins/synaescope/synaescope.cpp
parent0642ee50634d90e255c6f45194f6a47dc1157cde (diff)
downloadtdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz
tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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;