summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-16 13:06:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-17 20:12:36 +0900
commit57a4c0abc1ec9abe4334eae94e7a2ffbd2815d2e (patch)
tree1e222834b3b71b1501bfe2d8df1d2a51c8c7332c
parent1caa8b1b4ea976e6cbc262ee298f7c5f2d637c19 (diff)
downloadknetstats-57a4c0abc1ec9abe4334eae94e7a2ffbd2815d2e.tar.gz
knetstats-57a4c0abc1ec9abe4334eae94e7a2ffbd2815d2e.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f3c6af06ee2ac9d6a4fc7e0346eff7b67ea04610)
-rw-r--r--src/knetstats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knetstats.cpp b/src/knetstats.cpp
index bfbb1b2..8f0de31 100644
--- a/src/knetstats.cpp
+++ b/src/knetstats.cpp
@@ -70,14 +70,14 @@ void KNetStats::setupUi() {
mActionCollection = new TDEActionCollection(this);
mContextMenu = new TDEPopupMenu(this);
mContextMenu->insertTitle( kapp->miniIcon(), kapp->caption() );
- TDEAction* configure = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(configure()), mActionCollection, "configure");
+ TDEAction* configure = KStdAction::preferences(this, TQT_SLOT(configure()), mActionCollection, "configure");
configure->plug(mContextMenu);
mContextMenu->insertSeparator();
KHelpMenu* helpmenu = new KHelpMenu(this, TQString(), false);
mContextMenu->insertItem( i18n("&Help"), helpmenu->menu() );
mContextMenu->insertSeparator();
- TDEAction* quitAction = KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), mActionCollection);
+ TDEAction* quitAction = KStdAction::quit(kapp, TQT_SLOT(quit()), mActionCollection);
quitAction->plug(mContextMenu);
connect(helpmenu, TQT_SIGNAL(showAboutApplication()), this, TQT_SLOT(about()));