From 51f2e0ff8cb13efa4f5d1d2574940f080a4f3934 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:25 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 418e8f7a6f6d79b2cbc9d83b29ef53d01582f826) --- knewsticker/knewsticker.cpp | 2 +- knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'knewsticker') 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(TQT_TQWIDGET(parent))); + TQObject *obj = new KntSrcFilePropsDlg(static_cast(parent)); return obj; } return 0L; -- cgit v1.2.1