From 678eabac8b79a2650ff43f175bef534c0d576e54 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Jan 2024 10:34:39 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit f4f3cbbebd58e8f44df1d4dbc7d576ed0c891eac) --- src/configure.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/configure.cpp') 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); } -- cgit v1.2.3