diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:22:52 +0900 |
commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /chalk/plugins/tools/defaulttools/kis_tool_brush.cpp | |
parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'chalk/plugins/tools/defaulttools/kis_tool_brush.cpp')
-rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_brush.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.cpp b/chalk/plugins/tools/defaulttools/kis_tool_brush.cpp index 96e26202..8ceab02c 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_brush.cpp +++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.cpp @@ -55,7 +55,7 @@ KisToolBrush::KisToolBrush() m_timer = new TQTimer(this); TQ_CHECK_PTR(m_timer); - connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeoutPaint())); + connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeoutPaint())); } @@ -115,7 +115,7 @@ void KisToolBrush::setup(TDEActionCollection *collection) if (m_action == 0) { m_action = new TDERadioAction(i18n("&Brush"), "tool_freehand", TQt::Key_B, this, - TQT_SLOT(activate()), collection, + TQ_SLOT(activate()), collection, name()); m_action->setToolTip(i18n("Draw freehand")); m_action->setExclusiveGroup("tools"); @@ -152,7 +152,7 @@ TQWidget* KisToolBrush::createOptionWidget(TQWidget* parent) TQWidget *widget = super::createOptionWidget(parent); m_chkDirect = new TQCheckBox(i18n("Paint direct"), widget, "chkDirect"); m_chkDirect->setChecked(true); - connect(m_chkDirect, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotSetPaintingMode(int))); + connect(m_chkDirect, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(slotSetPaintingMode(int))); m_optionLayout = new TQGridLayout(NULL, 3, 2, 0, 6); TQ_CHECK_PTR(m_optionLayout); |