summaryrefslogtreecommitdiffstats
path: root/knewsticker
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 14:31:57 +0900
commit418e8f7a6f6d79b2cbc9d83b29ef53d01582f826 (patch)
tree569fb6200e0735a269bd3355b5dce7e5636a1efa /knewsticker
parent7cf631be8afe93a3a2988ce589861537582f161d (diff)
downloadtdenetwork-418e8f7a6f6d79b2cbc9d83b29ef53d01582f826.tar.gz
tdenetwork-418e8f7a6f6d79b2cbc9d83b29ef53d01582f826.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knewsticker')
-rw-r--r--knewsticker/knewsticker.cpp2
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/knewsticker/knewsticker.cpp b/knewsticker/knewsticker.cpp
index 9fb5a2e6..0d41c26e 100644
--- a/knewsticker/knewsticker.cpp
+++ b/knewsticker/knewsticker.cpp
@@ -429,7 +429,7 @@ void KNewsTickerMenu::populateMenu()
NewsSourceBase::Ptr ns = *nIt;
TDEPopupMenu *submenu = new TDEPopupMenu;
- int checkNewsId = submenu->insertItem(lookIcon, i18n("Check News"), TQT_TQOBJECT(this), TQT_SLOT(slotCheckNews(int)), 0, sources.findIndex(ns) + 1000);
+ int checkNewsId = submenu->insertItem(lookIcon, i18n("Check News"), this, TQT_SLOT(slotCheckNews(int)), 0, sources.findIndex(ns) + 1000);
setItemParameter(checkNewsId, sources.findIndex(ns));
submenu->insertSeparator();
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
index 8076c304..7f085134 100644
--- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
+++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
@@ -112,7 +112,7 @@ TQObject *KntSrcFilePropsFactory::createObject(TQObject *parent, const char *,
if (!parent->inherits("KPropertiesDialog"))
return 0L;
- TQObject *obj = new KntSrcFilePropsDlg(static_cast<KPropertiesDialog *>(TQT_TQWIDGET(parent)));
+ TQObject *obj = new KntSrcFilePropsDlg(static_cast<KPropertiesDialog *>(parent));
return obj;
}
return 0L;