summaryrefslogtreecommitdiffstats
path: root/src/configure.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/configure.cpp
parent57a4c0abc1ec9abe4334eae94e7a2ffbd2815d2e (diff)
downloadknetstats-678eabac.tar.gz
knetstats-678eabac.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/configure.cpp')
-rw-r--r--src/configure.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configure.cpp b/src/configure.cpp
index f3ffcff..b6360b4 100644
--- a/src/configure.cpp
+++ b/src/configure.cpp
@@ -58,9 +58,9 @@ Configure::Configure(KNetStats* parent, const InterfaceMap& ifs) : ConfigureBase
mInterfaces->setCurrentItem(0);
changeInterface(mInterfaces->selectedItem());
- connect(mInterfaces, TQT_SIGNAL(selectionChanged(TQListBoxItem*)), this, TQT_SLOT(changeInterface(TQListBoxItem*)));
- connect(mTheme, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changeTheme(int)));
- //connect(mInterfaces, TQT_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)), this, TQT_SLOT(showInterfaceContextMenu(TQListBoxItem*, const TQPoint&)));
+ connect(mInterfaces, TQ_SIGNAL(selectionChanged(TQListBoxItem*)), this, TQ_SLOT(changeInterface(TQListBoxItem*)));
+ connect(mTheme, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changeTheme(int)));
+ //connect(mInterfaces, TQ_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)), this, TQ_SLOT(showInterfaceContextMenu(TQListBoxItem*, const TQPoint&)));
}
void Configure::changeInterface(TQListBoxItem* item) {
@@ -149,7 +149,7 @@ void Configure::showInterfaceContextMenu(TQListBoxItem* item, const TQPoint& poi
return;
TQPixmap icon = kapp->iconLoader()->loadIcon("edit-delete", TDEIcon::Small, 16);
TQPopupMenu* menu = new TQPopupMenu(this);
- menu->insertItem(icon, i18n("Renomve Interface"), this, TQT_SLOT(removeInterface()));
+ menu->insertItem(icon, i18n("Renomve Interface"), this, TQ_SLOT(removeInterface()));
menu->exec(point);
}