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/eventeditor/eventeditor.cpp | |
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/eventeditor/eventeditor.cpp')
-rw-r--r-- | src/modules/eventeditor/eventeditor.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp index efa75538..06d6e3e2 100644 --- a/src/modules/eventeditor/eventeditor.cpp +++ b/src/modules/eventeditor/eventeditor.cpp @@ -83,7 +83,7 @@ KviEventEditor::KviEventEditor(TQWidget * par) m_pListView->setRootIsDecorated(true); TQPushButton * pb = new TQPushButton(__tr2qs("&Export All To..."),boxi); - connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(exportAllEvents())); + connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(exportAllEvents())); KviTalVBox * box = new KviTalVBox(spl); m_pNameEditor = new TQLineEdit(box); @@ -129,9 +129,9 @@ void KviEventEditor::oneTimeSetup() m_pContextPopup = new KviTalPopupMenu(this); - connect(m_pListView,TQT_SIGNAL(selectionChanged(KviTalListViewItem *)),this,TQT_SLOT(selectionChanged(KviTalListViewItem *))); - connect(m_pListView,TQT_SIGNAL(rightButtonPressed(KviTalListViewItem *,const TQPoint &,int)), - this,TQT_SLOT(itemPressed(KviTalListViewItem *,const TQPoint &,int))); + connect(m_pListView,TQ_SIGNAL(selectionChanged(KviTalListViewItem *)),this,TQ_SLOT(selectionChanged(KviTalListViewItem *))); + connect(m_pListView,TQ_SIGNAL(rightButtonPressed(KviTalListViewItem *,const TQPoint &,int)), + this,TQ_SLOT(itemPressed(KviTalListViewItem *,const TQPoint &,int))); } void KviEventEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int col) @@ -147,27 +147,27 @@ void KviEventEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int c if(!(((KviEventHandlerListViewItem *)it)->m_bEnabled)) m_pContextPopup->insertItem( *(g_pIconManager->getSmallIcon(KVI_SMALLICON_HANDLER)), - __tr2qs("&Enable Handler"),this,TQT_SLOT(toggleCurrentHandlerEnabled())); + __tr2qs("&Enable Handler"),this,TQ_SLOT(toggleCurrentHandlerEnabled())); else m_pContextPopup->insertItem( *(g_pIconManager->getSmallIcon(KVI_SMALLICON_HANDLERDISABLED)), - __tr2qs("&Disable Handler"),this,TQT_SLOT(toggleCurrentHandlerEnabled())); + __tr2qs("&Disable Handler"),this,TQ_SLOT(toggleCurrentHandlerEnabled())); //m_pContextPopup->setItemChecked(id,((KviEventHandlerListViewItem *)it)->m_bEnabled); m_pContextPopup->insertItem( *(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)), __tr2qs("Re&move Handler"), - this,TQT_SLOT(removeCurrentHandler())); + this,TQ_SLOT(removeCurrentHandler())); m_pContextPopup->insertItem( *(g_pIconManager->getSmallIcon(KVI_SMALLICON_FOLDER)), __tr2qs("&Export Handler To..."), - this,TQT_SLOT(exportCurrentHandler())); + this,TQ_SLOT(exportCurrentHandler())); } else { m_pContextPopup->insertItem( *(g_pIconManager->getSmallIcon(KVI_SMALLICON_HANDLER)), __tr2qs("&New Handler"), - this,TQT_SLOT(addHandlerForCurrentEvent())); + this,TQ_SLOT(addHandlerForCurrentEvent())); } m_pContextPopup->popup(pnt); @@ -430,17 +430,17 @@ KviEventEditorWindow::KviEventEditorWindow(KviFrame * lpFrm) TQGridLayout * g = new TQGridLayout(m_pBase,1,4,4,4); TQPushButton * btn = new TQPushButton(__tr2qs("&OK"),m_pBase); - 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); - 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); - 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); |