summaryrefslogtreecommitdiffstats
path: root/src/modules/raweditor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:15:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 18:03:34 +0900
commit209ac1e561619ff446be4b3411ed74e59fff168e (patch)
tree83b384cf0c4dfb918b3a4c39b4333f33e0f2f387 /src/modules/raweditor
parent44846083311d49d75e8376326d29f7f34e1dae52 (diff)
downloadkvirc-209ac1e561619ff446be4b3411ed74e59fff168e.tar.gz
kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/raweditor')
-rw-r--r--src/modules/raweditor/raweditor.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp
index b7786fee..a1221d73 100644
--- a/src/modules/raweditor/raweditor.cpp
+++ b/src/modules/raweditor/raweditor.cpp
@@ -85,7 +85,7 @@ KviRawEditor::KviRawEditor(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);
@@ -130,9 +130,9 @@ void KviRawEditor::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 KviRawEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int col)
@@ -146,25 +146,25 @@ void KviRawEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int col
if(!(((KviRawHandlerListViewItem *)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->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(addHandlerForCurrentRaw()));
+ this,TQ_SLOT(addHandlerForCurrentRaw()));
}
}
@@ -172,7 +172,7 @@ void KviRawEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int col
m_pContextPopup->insertItem(
*(g_pIconManager->getSmallIcon(KVI_SMALLICON_RAWEVENT)),
__tr2qs("&Add Raw Event..."),
- this,TQT_SLOT(addRaw()));
+ this,TQ_SLOT(addRaw()));
m_pContextPopup->popup(pnt);
}
@@ -451,17 +451,17 @@ KviRawEditorWindow::KviRawEditorWindow(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);