diff options
Diffstat (limited to 'src/knetstats.cpp')
-rw-r--r-- | src/knetstats.cpp | 14 |
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; |