diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 12:36:03 +0900 |
| commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
| tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /chalk/plugins/tools/defaulttools/kis_tool_brush.cpp | |
| parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
| download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 96e262022..8ceab02c0 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); |
