summaryrefslogtreecommitdiffstats
path: root/src/configure.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-05 10:34:39 +0900
committerMichele Calgaro <[email protected]>2024-01-05 10:34:39 +0900
commitf4f3cbbebd58e8f44df1d4dbc7d576ed0c891eac (patch)
tree5eeb41840d41631ca4503d814aca21a8e6ad0a3f /src/configure.cpp
parentf3c6af06ee2ac9d6a4fc7e0346eff7b67ea04610 (diff)
downloadknetstats-f4f3cbbebd58e8f44df1d4dbc7d576ed0c891eac.tar.gz
knetstats-f4f3cbbebd58e8f44df1d4dbc7d576ed0c891eac.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
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);
}