From 40393e30bb743346b6b40bf130da35419c12ebdc Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sat, 13 Jan 2024 17:34:53 +0900
Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
---
 ksirc/dockservercontroller.cpp | 46 +++++++++++++++++++++---------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

(limited to 'ksirc/dockservercontroller.cpp')

diff --git a/ksirc/dockservercontroller.cpp b/ksirc/dockservercontroller.cpp
index be5bb6bc..d46d8c43 100644
--- a/ksirc/dockservercontroller.cpp
+++ b/ksirc/dockservercontroller.cpp
@@ -63,24 +63,24 @@ dockServerController::dockServerController(servercontroller *sc, TQWidget *paren
   pop->setName("dockServerController_menu_pop");
 
 #ifndef NDEBUG
-  pop->insertItem(i18n("Dump Object Tree"), sc, TQT_SLOT(dump_obj()));
-  pop->insertItem(i18n("Server Debug Window"), sc, TQT_SLOT(server_debug()));
+  pop->insertItem(i18n("Dump Object Tree"), sc, TQ_SLOT(dump_obj()));
+  pop->insertItem(i18n("Server Debug Window"), sc, TQ_SLOT(server_debug()));
   pop->insertSeparator();
 #endif
 
 
   pop->insertItem(SmallIcon( "filter" ), i18n("&Filter Rule Editor..."),
-                  m_sc, TQT_SLOT(filter_rule_editor()));
+                  m_sc, TQ_SLOT(filter_rule_editor()));
 
-  KStdAction::preferences(m_sc, TQT_SLOT(general_prefs()),
+  KStdAction::preferences(m_sc, TQ_SLOT(general_prefs()),
                   m_sc->actionCollection())->plug(pop);
-  KStdAction::configureNotifications(m_sc, TQT_SLOT(notification_prefs()), actionCollection())->plug(pop);
+  KStdAction::configureNotifications(m_sc, TQ_SLOT(notification_prefs()), actionCollection())->plug(pop);
 
   pop->insertSeparator();
   pop->insertItem(i18n("New &Server..."),
-		  m_sc, TQT_SLOT(new_connection()));
-  pop->insertItem(i18n("&Do Autoconnect..."), m_sc, TQT_SLOT(start_autoconnect_check()));
-  connect(this, TQT_SIGNAL(quitSelected()), m_sc, TQT_SLOT(endksirc()));
+		  m_sc, TQ_SLOT(new_connection()));
+  pop->insertItem(i18n("&Do Autoconnect..."), m_sc, TQ_SLOT(start_autoconnect_check()));
+  connect(this, TQ_SIGNAL(quitSelected()), m_sc, TQ_SLOT(endksirc()));
 
 #if KDE_IS_VERSION(3,1,92)
   m_pic_dock = KSystemTray::loadIcon( "ksirc" );
@@ -97,7 +97,7 @@ dockServerController::dockServerController(servercontroller *sc, TQWidget *paren
   createMainPopup();
 
   m_blinkTimer = new TQTimer( this );
-  connect( m_blinkTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( blinkDockedIcon() ) );
+  connect( m_blinkTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( blinkDockedIcon() ) );
   m_blinkStatus = false;
   m_blinkActive = false;
 
@@ -107,14 +107,14 @@ dockServerController::dockServerController(servercontroller *sc, TQWidget *paren
 		i18n("If someone said your nick in a window, this action "
                      "will make that window active for you."),
 	       ALT+CTRL+Key_A, KKey::QtWIN+CTRL+Key_A, this,
-	       TQT_SLOT(raiseLastActiveWindow()));
+	       TQ_SLOT(raiseLastActiveWindow()));
   servercontroller::self()
       ->getGlobalAccel()
       ->insert("Clear Blink", i18n("Clear Blinking Dock Icon"),
 		i18n("If the dock icon is blinking, but you don't want "
 		     "to go to the window this will clear the blinking."),
 	       ALT+CTRL+Key_Down, KKey::QtWIN+CTRL+Key_Down, this,
-	       TQT_SLOT(blinkClear()));
+	       TQ_SLOT(blinkClear()));
 
 //  mainPop = new TDEPopupMenu(this, "dockServerController_main_pop");
 //  mainPop->setTitle(i18n("KSirc Dock Menu"));
@@ -161,12 +161,12 @@ void dockServerController::createMainPopup()
     if(mainPop)
 	delete mainPop;
     mainPop = new TDEPopupMenu(this, "dockservercontrller_main_pop");
-    connect(mainPop, TQT_SIGNAL(activated(int)),
-	    this, TQT_SLOT(mainActivated(int)));
-    connect(mainPop, TQT_SIGNAL(aboutToShow()),
-	    this, TQT_SLOT(mainPopShow()));
-    connect(mainPop, TQT_SIGNAL(aboutToHide()),
-	    this, TQT_SLOT(mainPopHide()));
+    connect(mainPop, TQ_SIGNAL(activated(int)),
+	    this, TQ_SLOT(mainActivated(int)));
+    connect(mainPop, TQ_SIGNAL(aboutToShow()),
+	    this, TQ_SLOT(mainPopShow()));
+    connect(mainPop, TQ_SIGNAL(aboutToHide()),
+	    this, TQ_SLOT(mainPopHide()));
 
 
     TQDictIterator<dscNickInfo> it( m_nicks );
@@ -187,8 +187,8 @@ void dockServerController::createMainPopup()
 	    sub->setItemParameter(cid, id);
 	    sub->setItemParameter(wid, id);
 	    sub->setItemParameter(dcid, id);
-	    connect(sub, TQT_SIGNAL(activated(int)),
-                    this, TQT_SLOT(subItemActivated(int)));
+	    connect(sub, TQ_SIGNAL(activated(int)),
+                    this, TQ_SLOT(subItemActivated(int)));
 	}
 	else {
 	    sub->insertItem(i18n("Went Offline: ") + it.current()->offline().toString("hh:mm"));
@@ -206,8 +206,8 @@ void dockServerController::createMainPopup()
         }
     }
     if(mainPop->count() == 0){
-        mainPop->insertItem(i18n("Help on Notify Popup..."), this, TQT_SLOT(helpNotice()));
-	mainPop->insertItem(i18n("Configure Notify..."), this, TQT_SLOT(configNotify()));
+        mainPop->insertItem(i18n("Help on Notify Popup..."), this, TQ_SLOT(helpNotice()));
+	mainPop->insertItem(i18n("Configure Notify..."), this, TQ_SLOT(configNotify()));
     }
 }
 
@@ -421,8 +421,8 @@ void dockServerController::helpNotice()
 void dockServerController::configNotify()
 {
     KSPrefs *kp = new KSPrefs();
-    connect(kp, TQT_SIGNAL(update(int)),
-	    m_sc, TQT_SLOT(configChange()));
+    connect(kp, TQ_SIGNAL(update(int)),
+	    m_sc, TQ_SLOT(configChange()));
     kp->resize(550, 450);
     kp->showPage(2); /* Show auto connect page */
     kp->show();
-- 
cgit v1.2.3