summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/newsengine.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /knewsticker/common/newsengine.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'knewsticker/common/newsengine.cpp')
-rw-r--r--knewsticker/common/newsengine.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/knewsticker/common/newsengine.cpp b/knewsticker/common/newsengine.cpp
index 6f341c46..c5c44f04 100644
--- a/knewsticker/common/newsengine.cpp
+++ b/knewsticker/common/newsengine.cpp
@@ -49,14 +49,14 @@ NewsSourceBase::NewsSourceBase(const Data &nsd, ConfigIface *config)
m_cfg(dynamic_cast<ConfigAccess *>(config)),
m_newsIconMgr(NewsIconMgr::self())
{
- connect(this, TQT_SIGNAL(loadComplete(XMLNewsSource *, bool)),
- TQT_SLOT(slotProcessArticles(XMLNewsSource *, bool)));
+ connect(this, TQ_SIGNAL(loadComplete(XMLNewsSource *, bool)),
+ TQ_SLOT(slotProcessArticles(XMLNewsSource *, bool)));
}
void NewsSourceBase::getIcon()
{
- connect(m_newsIconMgr, TQT_SIGNAL(gotIcon(const KURL &, const TQPixmap &)),
- this, TQT_SLOT(slotGotIcon(const KURL &, const TQPixmap &)));
+ connect(m_newsIconMgr, TQ_SIGNAL(gotIcon(const KURL &, const TQPixmap &)),
+ this, TQ_SLOT(slotGotIcon(const KURL &, const TQPixmap &)));
m_newsIconMgr->getIcon( KURL( m_data.icon ) );
}
@@ -160,8 +160,8 @@ void NewsSourceBase::slotGotIcon(const KURL &url, const TQPixmap &pixmap)
if (url.url() == m_data.icon) {
m_icon = pixmap;
- disconnect(m_newsIconMgr, TQT_SIGNAL(gotIcon(const KURL &, const TQPixmap &)),
- this, TQT_SLOT(slotGotIcon(const KURL &, const TQPixmap &)));
+ disconnect(m_newsIconMgr, TQ_SIGNAL(gotIcon(const KURL &, const TQPixmap &)),
+ this, TQ_SLOT(slotGotIcon(const KURL &, const TQPixmap &)));
}
}
@@ -181,10 +181,10 @@ ProgramNewsSource::ProgramNewsSource(const NewsSourceBase::Data &nsd,
m_program(new TDEProcess()),
m_programOutput(0)
{
- 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)));
+ connect(m_program, TQ_SIGNAL(processExited(TDEProcess *)),
+ TQ_SLOT(slotProgramExited(TDEProcess *)));
+ connect(m_program, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ TQ_SLOT(slotGotProgramOutput(TDEProcess *, char *, int)));
m_data.sourceFile = KURL(m_data.sourceFile).encodedPathAndQuery();
}