diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 20:33:17 +0900 |
commit | 677dae3bd35bd025d338292a296632d3d2f183e4 (patch) | |
tree | a5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/modules/actioneditor | |
parent | 0066e291146de702674fb38a0a2428db405698b0 (diff) | |
download | kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.tar.gz kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e)
Diffstat (limited to 'src/modules/actioneditor')
-rw-r--r-- | src/modules/actioneditor/actioneditor.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp index c0b0e7bc..608a90e5 100644 --- a/src/modules/actioneditor/actioneditor.cpp +++ b/src/modules/actioneditor/actioneditor.cpp @@ -185,7 +185,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed gl->addWidget(m_pSmallIconEdit,2,1); m_pSmallIconButton = new TQToolButton(tab); m_pSmallIconButton->setMinimumSize(TQSize(20,20)); - connect(m_pSmallIconButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(chooseSmallIcon())); + connect(m_pSmallIconButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(chooseSmallIcon())); gl->addWidget(m_pSmallIconButton,2,2); TQString s= __tr2qs("The small icon associated to this action.<br>" \ "It will appear at least in the popup menus when this action is inserted.<br>" \ @@ -200,7 +200,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed m_pBigIconButton = new TQToolButton(tab); m_pBigIconButton->setMinimumSize(TQSize(48,48)); m_pBigIconButton->setUsesBigPixmap(true); - connect(m_pBigIconButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(chooseBigIcon())); + connect(m_pBigIconButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(chooseBigIcon())); gl->addMultiCellWidget(m_pBigIconButton,3,4,2,3); s = __tr2qs("The big icon associated to this action.<br>" \ "It will appear at least in the toolbar buttons when this action is inserted.<br>" \ @@ -234,7 +234,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed m_pNeedsContextCheck = new KviStyledCheckBox(__tr2qs("Needs IRC Context"),tab); - connect(m_pNeedsContextCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(needsContextCheckToggled(bool))); + connect(m_pNeedsContextCheck,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(needsContextCheckToggled(bool))); TQToolTip::add(m_pNeedsContextCheck,__tr2qs("Check this option if this action should be enabled only when " \ "the active window belongs to an irc context")); gl->addMultiCellWidget(m_pNeedsContextCheck,0,0,0,3); @@ -244,7 +244,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed gl->addWidget(l,1,0); m_pNeedsConnectionCheck = new KviStyledCheckBox(__tr2qs("Needs IRC Connection"),tab); - connect(m_pNeedsConnectionCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(needsConnectionCheckToggled(bool))); + connect(m_pNeedsConnectionCheck,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(needsConnectionCheckToggled(bool))); TQToolTip::add(m_pNeedsConnectionCheck,__tr2qs("Check this option if this action should be enabled only when " \ "the active window has an active IRC connection")); gl->addMultiCellWidget(m_pNeedsConnectionCheck,1,1,1,3); @@ -259,7 +259,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed gl->addMultiCellWidget(m_pEnableAtLoginCheck,2,2,2,3); m_pSpecificWindowsCheck = new KviStyledCheckBox(__tr2qs("Enable Only in Specified Windows"),tab); - connect(m_pSpecificWindowsCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(specificWindowsCheckToggled(bool))); + connect(m_pSpecificWindowsCheck,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(specificWindowsCheckToggled(bool))); TQToolTip::add(m_pSpecificWindowsCheck,__tr2qs("Check this option if this action should be enabled only when " \ "the active window is of a specified type")); gl->addMultiCellWidget(m_pSpecificWindowsCheck,3,3,0,3); @@ -267,7 +267,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed m_pWindowConsoleCheck = new KviStyledCheckBox(__tr2qs("Enable in Console Windows"),tab); TQToolTip::add(m_pWindowConsoleCheck,__tr2qs("Check this option if this action should be enabled only when " \ "the active window is a console")); - connect(m_pWindowConsoleCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(channelQueryOrConsoleWindowCheckToggled(bool))); + connect(m_pWindowConsoleCheck,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(channelQueryOrConsoleWindowCheckToggled(bool))); gl->addMultiCellWidget(m_pWindowConsoleCheck,4,4,1,3); m_pConsoleOnlyIfUsersSelectedCheck = new KviStyledCheckBox(__tr2qs("Only If There Are Selected Users"),tab); @@ -278,7 +278,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed m_pWindowChannelCheck = new KviStyledCheckBox(__tr2qs("Enable in Channel Windows"),tab); TQToolTip::add(m_pWindowChannelCheck,__tr2qs("Check this option if this action should be enabled only when " \ "the active window is a channel")); - connect(m_pWindowChannelCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(channelQueryOrConsoleWindowCheckToggled(bool))); + connect(m_pWindowChannelCheck,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(channelQueryOrConsoleWindowCheckToggled(bool))); gl->addMultiCellWidget(m_pWindowChannelCheck,6,6,1,3); m_pChannelOnlyIfUsersSelectedCheck = new KviStyledCheckBox(__tr2qs("Only If There Are Selected Users"),tab); @@ -289,7 +289,7 @@ KviSingleActionEditor::KviSingleActionEditor(TQWidget * par,KviActionEditor * ed m_pWindowQueryCheck = new KviStyledCheckBox(__tr2qs("Enable in Query Windows"),tab); TQToolTip::add(m_pWindowQueryCheck,__tr2qs("Check this option if this action should be enabled only when " \ "the active window is a query")); - connect(m_pWindowQueryCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(channelQueryOrConsoleWindowCheckToggled(bool))); + connect(m_pWindowQueryCheck,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(channelQueryOrConsoleWindowCheckToggled(bool))); gl->addMultiCellWidget(m_pWindowQueryCheck,8,8,1,3); m_pQueryOnlyIfUsersSelectedCheck = new KviStyledCheckBox(__tr2qs("Only If There Are Selected Users"),tab); @@ -660,17 +660,17 @@ KviActionEditor::KviActionEditor(TQWidget * par) //m_pListView->setMultiSelection(false); m_pListView->setShowSortIndicator(true); m_pListView->setFocusPolicy(TQWidget::StrongFocus); - connect(m_pListView,TQT_SIGNAL(currentChanged(KviTalListViewItem *)),this,TQT_SLOT(currentChanged(KviTalListViewItem *))); + connect(m_pListView,TQ_SIGNAL(currentChanged(KviTalListViewItem *)),this,TQ_SLOT(currentChanged(KviTalListViewItem *))); m_pNewActionButton = new TQPushButton(__tr2qs("New Action"),box); - connect(m_pNewActionButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(newAction())); + connect(m_pNewActionButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(newAction())); m_pDeleteActionsButton = new TQPushButton(__tr2qs("Delete Actions"),box); - connect(m_pDeleteActionsButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(deleteActions())); + connect(m_pDeleteActionsButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(deleteActions())); m_pExportActionsButton = new TQPushButton(__tr2qs("Export Actions..."),box); - connect(m_pExportActionsButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(exportActions())); + connect(m_pExportActionsButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(exportActions())); box->setSpacing(1); @@ -917,19 +917,19 @@ KviActionEditorWindow::KviActionEditorWindow(KviFrame * lpFrm) TQPushButton * btn = new TQPushButton(__tr2qs("OK"),m_pBase); btn->setMinimumWidth(80); - connect(btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(okClicked())); + connect(btn,TQ_SIGNAL(clicked()),this,TQ_SLOT(okClicked())); btn->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ACCEPT))); g->addWidget(btn,0,1); btn = new TQPushButton(__tr2qs("Apply"),m_pBase); btn->setMinimumWidth(80); - connect(btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(applyClicked())); + connect(btn,TQ_SIGNAL(clicked()),this,TQ_SLOT(applyClicked())); btn->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ACCEPT))); g->addWidget(btn,0,2); btn = new TQPushButton(__tr2qs("Cancel"),m_pBase); btn->setMinimumWidth(80); - connect(btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(cancelClicked())); + connect(btn,TQ_SIGNAL(clicked()),this,TQ_SLOT(cancelClicked())); btn->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DISCARD))); g->addWidget(btn,0,3); |