diff options
Diffstat (limited to 'knewsticker/common/newsengine.cpp')
-rw-r--r-- | knewsticker/common/newsengine.cpp | 16 |
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; |