diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /ksirc/KSPrefs | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/KSPrefs')
-rw-r--r-- | ksirc/KSPrefs/ksprefs.cpp | 28 | ||||
-rw-r--r-- | ksirc/KSPrefs/page_font.cpp | 2 | ||||
-rw-r--r-- | ksirc/KSPrefs/page_rmbmenu.cpp | 24 | ||||
-rw-r--r-- | ksirc/KSPrefs/page_servchan.cpp | 8 | ||||
-rw-r--r-- | ksirc/KSPrefs/page_shortcuts.cpp | 2 | ||||
-rw-r--r-- | ksirc/KSPrefs/page_startup.cpp | 4 |
6 files changed, 34 insertions, 34 deletions
diff --git a/ksirc/KSPrefs/ksprefs.cpp b/ksirc/KSPrefs/ksprefs.cpp index 6de1e845..34071979 100644 --- a/ksirc/KSPrefs/ksprefs.cpp +++ b/ksirc/KSPrefs/ksprefs.cpp @@ -69,20 +69,20 @@ KSPrefs::KSPrefs(TQWidget * parent, const char * name): pageAutoConnect = new PageAutoConnect( itemAutoConnect ); pageShortcuts = new PageShortcuts( itemShortcuts ); - connect(pageLooknFeel, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageGeneral, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageStartup, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageColors, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageIRCColors, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageFont, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageRMBMenu, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageServChan, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageAutoConnect, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - connect(pageShortcuts, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) ); - - connect(this, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( saveConfig() ) ); - connect(this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( saveConfig() ) ); - connect(this, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT(defaultConfig() ) ); + connect(pageLooknFeel, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageGeneral, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageStartup, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageColors, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageIRCColors, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageFont, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageRMBMenu, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageServChan, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageAutoConnect, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + connect(pageShortcuts, TQ_SIGNAL( modified() ), TQ_SLOT( modified() ) ); + + connect(this, TQ_SIGNAL( applyClicked() ), this, TQ_SLOT( saveConfig() ) ); + connect(this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( saveConfig() ) ); + connect(this, TQ_SIGNAL( defaultClicked() ), this, TQ_SLOT(defaultConfig() ) ); looknfeelTopLayout->addWidget( pageLooknFeel ); generalTopLayout->addWidget( pageGeneral ); diff --git a/ksirc/KSPrefs/page_font.cpp b/ksirc/KSPrefs/page_font.cpp index a4a59c1b..9230503f 100644 --- a/ksirc/KSPrefs/page_font.cpp +++ b/ksirc/KSPrefs/page_font.cpp @@ -6,7 +6,7 @@ PageFont::PageFont( TQWidget *parent, const char *name ) : layout = new TQHBoxLayout(this); fontchooser = new TDEFontChooser(this); layout->addWidget(fontchooser); - connect(fontchooser,TQT_SIGNAL(fontSelected ( const TQFont&)), this, TQT_SLOT(update())); + connect(fontchooser,TQ_SIGNAL(fontSelected ( const TQFont&)), this, TQ_SLOT(update())); } PageFont::~PageFont( ) diff --git a/ksirc/KSPrefs/page_rmbmenu.cpp b/ksirc/KSPrefs/page_rmbmenu.cpp index 0a5c223f..03f7fa0d 100644 --- a/ksirc/KSPrefs/page_rmbmenu.cpp +++ b/ksirc/KSPrefs/page_rmbmenu.cpp @@ -41,21 +41,21 @@ PageRMBMenu::PageRMBMenu( TQWidget *parent, const char *name ) : PageRMBMenuBase changeItemPB->hide(); - connect(commandLB, TQT_SIGNAL(highlighted( int )), - this, TQT_SLOT(highlighted( int ))); - connect(moveUpPB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(moveDown())); - connect(moveDownPB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(moveUp())); + connect(commandLB, TQ_SIGNAL(highlighted( int )), + this, TQ_SLOT(highlighted( int ))); + connect(moveUpPB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(moveDown())); + connect(moveDownPB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(moveUp())); - connect(insertSeperatorPB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(insSeperator())); + connect(insertSeperatorPB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(insSeperator())); - connect(insertItemPB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(insCommand())); + connect(insertItemPB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(insCommand())); - connect(deleteItemPB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(delCommand())); + connect(deleteItemPB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(delCommand())); } diff --git a/ksirc/KSPrefs/page_servchan.cpp b/ksirc/KSPrefs/page_servchan.cpp index 91edf864..fc9e73e6 100644 --- a/ksirc/KSPrefs/page_servchan.cpp +++ b/ksirc/KSPrefs/page_servchan.cpp @@ -17,10 +17,10 @@ PageServChan::PageServChan( TQWidget *parent, const char *name ) : PageServChanBase( parent, name) { - connect(serverDeleteItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(deletePressedSL())); - connect(ServerAddItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(addPressedSL())); - connect(chanDeleteItmPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(deletePressedCL())); - connect(ChanAddItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(addPressedCL())); + connect(serverDeleteItemPB, TQ_SIGNAL(pressed()), this, TQ_SLOT(deletePressedSL())); + connect(ServerAddItemPB, TQ_SIGNAL(pressed()), this, TQ_SLOT(addPressedSL())); + connect(chanDeleteItmPB, TQ_SIGNAL(pressed()), this, TQ_SLOT(deletePressedCL())); + connect(ChanAddItemPB, TQ_SIGNAL(pressed()), this, TQ_SLOT(addPressedCL())); } diff --git a/ksirc/KSPrefs/page_shortcuts.cpp b/ksirc/KSPrefs/page_shortcuts.cpp index c1f3da12..fc52334a 100644 --- a/ksirc/KSPrefs/page_shortcuts.cpp +++ b/ksirc/KSPrefs/page_shortcuts.cpp @@ -21,7 +21,7 @@ PageShortcuts::PageShortcuts( TQWidget *parent, const char *name ) : PageShortcu globalGB->setColumnLayout( 0, TQt::Horizontal ); m_key = new KKeyChooser(servercontroller::self()->getGlobalAccel(), globalGB); - connect(m_key, TQT_SIGNAL(keyChange()), this, TQT_SLOT(changed())); + connect(m_key, TQ_SIGNAL(keyChange()), this, TQ_SLOT(changed())); globalGB->layout()->add(m_key); } diff --git a/ksirc/KSPrefs/page_startup.cpp b/ksirc/KSPrefs/page_startup.cpp index d95a2725..e2a4813d 100644 --- a/ksirc/KSPrefs/page_startup.cpp +++ b/ksirc/KSPrefs/page_startup.cpp @@ -27,8 +27,8 @@ PageStartup::PageStartup( TQWidget *parent, const char *name ) : PageStartupBase serverLB->downButton()->hide(); TQListBox *lb = serverLB->listBox(); - connect(lb, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(clickedLB(int))); + connect(lb, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(clickedLB(int))); changing = false; |