From 40393e30bb743346b6b40bf130da35419c12ebdc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f) --- knewsticker/common/newsengine.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'knewsticker/common/newsengine.cpp') 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(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(); } -- cgit v1.2.1