summaryrefslogtreecommitdiffstats
path: root/src/knetstats.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:34:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 20:52:59 +0900
commit678eabac8b79a2650ff43f175bef534c0d576e54 (patch)
tree5eeb41840d41631ca4503d814aca21a8e6ad0a3f /src/knetstats.cpp
parent57a4c0abc1ec9abe4334eae94e7a2ffbd2815d2e (diff)
downloadknetstats-678eabac8b79a2650ff43f175bef534c0d576e54.tar.gz
knetstats-678eabac8b79a2650ff43f175bef534c0d576e54.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f4f3cbbebd58e8f44df1d4dbc7d576ed0c891eac)
Diffstat (limited to 'src/knetstats.cpp')
-rw-r--r--src/knetstats.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/knetstats.cpp b/src/knetstats.cpp
index 8f0de31..6f6548f 100644
--- a/src/knetstats.cpp
+++ b/src/knetstats.cpp
@@ -54,7 +54,7 @@ KNetStats::KNetStats() : TQWidget(0, "knetstats"), mConfigure(0), mBoot(true) {
mBoot = false;
TQTimer* timer = new TQTimer(this);
- connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(detectNewInterfaces()));
+ connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(detectNewInterfaces()));
timer->start(IF_DETECTION_INTERVAL);
}
@@ -70,17 +70,17 @@ void KNetStats::setupUi() {
mActionCollection = new TDEActionCollection(this);
mContextMenu = new TDEPopupMenu(this);
mContextMenu->insertTitle( kapp->miniIcon(), kapp->caption() );
- TDEAction* configure = KStdAction::preferences(this, TQT_SLOT(configure()), mActionCollection, "configure");
+ TDEAction* configure = KStdAction::preferences(this, TQ_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(kapp, TQT_SLOT(quit()), mActionCollection);
+ TDEAction* quitAction = KStdAction::quit(kapp, TQ_SLOT(quit()), mActionCollection);
quitAction->plug(mContextMenu);
- connect(helpmenu, TQT_SIGNAL(showAboutApplication()), this, TQT_SLOT(about()));
+ connect(helpmenu, TQ_SIGNAL(showAboutApplication()), this, TQ_SLOT(about()));
}
TQStringList KNetStats::scanInterfaces() {
@@ -106,9 +106,9 @@ bool KNetStats::configure() {
}*/
mConfigure = new Configure(this, mInterfaces);
- connect(mConfigure->mOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(configOk()));
- connect(mConfigure->mApply, TQT_SIGNAL(clicked()), this, TQT_SLOT(configApply()));
- connect(mConfigure->mCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(configCancel()));
+ connect(mConfigure->mOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(configOk()));
+ connect(mConfigure->mApply, TQ_SIGNAL(clicked()), this, TQ_SLOT(configApply()));
+ connect(mConfigure->mCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(configCancel()));
mConfigure->show();
}
return true;