summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/newsengine.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:48:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:48:31 -0600
commitc48e769eb275917717e2b55eb869f7e559293ac8 (patch)
tree8f650b907e21c918b826f854dbe1c8174cc2c0c6 /knewsticker/common/newsengine.cpp
parent8011d84f483f3628f3f04ea5cb2c1c3c86b2dba7 (diff)
downloadtdenetwork-c48e769eb275917717e2b55eb869f7e559293ac8.tar.gz
tdenetwork-c48e769eb275917717e2b55eb869f7e559293ac8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'knewsticker/common/newsengine.cpp')
-rw-r--r--knewsticker/common/newsengine.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/knewsticker/common/newsengine.cpp b/knewsticker/common/newsengine.cpp
index 911095d9..e503c7b1 100644
--- a/knewsticker/common/newsengine.cpp
+++ b/knewsticker/common/newsengine.cpp
@@ -178,13 +178,13 @@ void SourceFileNewsSource::retrieveNews()
ProgramNewsSource::ProgramNewsSource(const NewsSourceBase::Data &nsd,
ConfigIface *config) : NewsSourceBase(nsd, config),
- m_program(new KProcess()),
+ m_program(new TDEProcess()),
m_programOutput(0)
{
- connect(m_program, TQT_SIGNAL(processExited(KProcess *)),
- TQT_SLOT(slotProgramExited(KProcess *)));
- connect(m_program, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)),
- TQT_SLOT(slotGotProgramOutput(KProcess *, char *, int)));
+ connect(m_program, TQT_SIGNAL(processExited(TDEProcess *)),
+ TQT_SLOT(slotProgramExited(TDEProcess *)));
+ connect(m_program, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ TQT_SLOT(slotGotProgramOutput(TDEProcess *, char *, int)));
m_data.sourceFile = KURL(m_data.sourceFile).encodedPathAndQuery();
}
@@ -201,15 +201,15 @@ void ProgramNewsSource::retrieveNews()
m_programOutput->open(IO_WriteOnly);
*m_program << m_data.sourceFile;
- m_program->start(KProcess::NotifyOnExit, KProcess::Stdout);
+ m_program->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout);
}
-void ProgramNewsSource::slotGotProgramOutput(KProcess *, char *data, int length)
+void ProgramNewsSource::slotGotProgramOutput(TDEProcess *, char *data, int length)
{
m_programOutput->writeBlock(data, length);
}
-void ProgramNewsSource::slotProgramExited(KProcess *proc)
+void ProgramNewsSource::slotProgramExited(TDEProcess *proc)
{
bool okSoFar = true;