summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kptooltoolbar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:34:35 +0900
committerMichele Calgaro <[email protected]>2024-01-18 19:03:13 +0900
commitea1f5870db808971e833dd901aac2647d50634bd (patch)
tree5eae36dbd282479c91ce1a65c2a7ef8edee0f619 /kolourpaint/widgets/kptooltoolbar.cpp
parent21cae41ae67ab4478efda7b6def53fcf7e8003bc (diff)
downloadtdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.tar.gz
tdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c616fab9053b07ed30508ab714de876409d82653)
Diffstat (limited to 'kolourpaint/widgets/kptooltoolbar.cpp')
-rw-r--r--kolourpaint/widgets/kptooltoolbar.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kolourpaint/widgets/kptooltoolbar.cpp b/kolourpaint/widgets/kptooltoolbar.cpp
index dcd79e77..0df59f2e 100644
--- a/kolourpaint/widgets/kptooltoolbar.cpp
+++ b/kolourpaint/widgets/kptooltoolbar.cpp
@@ -131,8 +131,8 @@ kpToolToolBar::kpToolToolBar (const TQString &label, kpMainWindow *mainWindow, i
it != m_toolWidgets.end ();
it++)
{
- connect (*it, TQT_SIGNAL (optionSelected (int, int)),
- this, TQT_SIGNAL (toolWidgetOptionSelected ()));
+ connect (*it, TQ_SIGNAL (optionSelected (int, int)),
+ this, TQ_SIGNAL (toolWidgetOptionSelected ()));
}
#if DEBUG_KP_TOOL_TOOL_BAR
@@ -151,7 +151,7 @@ kpToolToolBar::kpToolToolBar (const TQString &label, kpMainWindow *mainWindow, i
m_buttonGroup = new TQButtonGroup (); // invisible
m_buttonGroup->setExclusive (true);
- connect (m_buttonGroup, TQT_SIGNAL (clicked (int)), TQT_SLOT (slotToolButtonClicked ()));
+ connect (m_buttonGroup, TQ_SIGNAL (clicked (int)), TQ_SLOT (slotToolButtonClicked ()));
hideAllToolWidgets ();
}
@@ -247,10 +247,10 @@ void kpToolToolBar::registerTool (kpTool *tool)
m_buttonToolPairs.append (kpButtonToolPair (b, tool));
- connect (tool, TQT_SIGNAL (actionActivated ()),
- this, TQT_SLOT (slotToolActionActivated ()));
- connect (tool, TQT_SIGNAL (actionToolTipChanged (const TQString &)),
- this, TQT_SLOT (slotToolActionToolTipChanged ()));
+ connect (tool, TQ_SIGNAL (actionActivated ()),
+ this, TQ_SLOT (slotToolActionActivated ()));
+ connect (tool, TQ_SIGNAL (actionToolTipChanged (const TQString &)),
+ this, TQ_SLOT (slotToolActionToolTipChanged ()));
}
// public
@@ -265,10 +265,10 @@ void kpToolToolBar::unregisterTool (kpTool *tool)
delete ((*it).m_button);
m_buttonToolPairs.erase (it);
- disconnect (tool, TQT_SIGNAL (actionActivated ()),
- this, TQT_SLOT (slotToolActionActivated ()));
- disconnect (tool, TQT_SIGNAL (actionToolTipChanged (const TQString &)),
- this, TQT_SLOT (slotToolActionToolTipChanged ()));
+ disconnect (tool, TQ_SIGNAL (actionActivated ()),
+ this, TQ_SLOT (slotToolActionActivated ()));
+ disconnect (tool, TQ_SIGNAL (actionToolTipChanged (const TQString &)),
+ this, TQ_SLOT (slotToolActionToolTipChanged ()));
break;
}
}