summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_brush.cpp6
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp16
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_fill.cpp10
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp10
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_line.cpp2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_move.cpp4
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_pan.cpp2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_text.cpp4
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp2
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp2
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp10
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp2
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp4
-rw-r--r--chalk/plugins/tools/tool_crop/kis_tool_crop.cpp14
-rw-r--r--chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp2
-rw-r--r--chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp2
-rw-r--r--chalk/plugins/tools/tool_curves/kis_tool_curve.cpp2
-rw-r--r--chalk/plugins/tools/tool_curves/kis_tool_example.cpp2
-rw-r--r--chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp6
-rw-r--r--chalk/plugins/tools/tool_filter/kis_tool_filter.cpp4
-rw-r--r--chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp2
-rw-r--r--chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp18
-rw-r--r--chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp2
-rw-r--r--chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp2
-rw-r--r--chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp8
-rw-r--r--chalk/plugins/tools/tool_star/kis_tool_star.cpp2
-rw-r--r--chalk/plugins/tools/tool_transform/kis_tool_transform.cpp18
34 files changed, 90 insertions, 90 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);
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp
index 6130aa21..57fa86f7 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp
@@ -214,7 +214,7 @@ void KisToolColorPicker::setup(TDEActionCollection *collection)
m_action = static_cast<TDERadioAction *>(collection->action(name()));
if (m_action == 0) {
- m_action = new TDERadioAction(i18n("&Color Picker"), "tool_colorpicker", TQt::Key_P, this, TQT_SLOT(activate()), collection, name());
+ m_action = new TDERadioAction(i18n("&Color Picker"), "tool_colorpicker", TQt::Key_P, this, TQ_SLOT(activate()), collection, name());
m_action->setToolTip(i18n("Color picker"));
m_action->setExclusiveGroup("tools");
m_ownAction = true;
@@ -235,12 +235,12 @@ TQWidget* KisToolColorPicker::createOptionWidget(TQWidget* parent)
m_optionsWidget->listViewChannels->setSorting(-1);
- connect(m_optionsWidget->cbUpdateCurrentColour, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetUpdateColor(bool)));
- connect(m_optionsWidget->cbNormaliseValues, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetNormaliseValues(bool)));
- connect(m_optionsWidget->cbPalette, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(slotSetAddPalette(bool)));
- connect(m_optionsWidget->radius, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(slotChangeRadius(int)));
+ connect(m_optionsWidget->cbUpdateCurrentColour, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetUpdateColor(bool)));
+ connect(m_optionsWidget->cbNormaliseValues, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetNormaliseValues(bool)));
+ connect(m_optionsWidget->cbPalette, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(slotSetAddPalette(bool)));
+ connect(m_optionsWidget->radius, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(slotChangeRadius(int)));
KisResourceServerBase* srv = KisResourceServerRegistry::instance()->get("PaletteServer");
@@ -258,7 +258,7 @@ TQWidget* KisToolColorPicker::createOptionWidget(TQWidget* parent)
}
}
- connect(srv, TQT_SIGNAL(resourceAdded(KisResource*)), this, TQT_SLOT(slotAddPalette(KisResource*)));
+ connect(srv, TQ_SIGNAL(resourceAdded(KisResource*)), this, TQ_SLOT(slotAddPalette(KisResource*)));
return m_optionsWidget;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp
index 0f917e7f..ca7dfd1e 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp
@@ -90,7 +90,7 @@ void KisToolDuplicate::setup(TDEActionCollection *collection)
if (m_action == 0) {
m_action = new TDERadioAction(i18n("&Duplicate Brush"),
"tool_duplicate", TQt::Key_C, this,
- TQT_SLOT(activate()), collection,
+ TQ_SLOT(activate()), collection,
name());
m_action->setToolTip(i18n("Duplicate parts of the image. Shift-click to select the point to duplicate from to begin."));
m_action->setExclusiveGroup("tools");
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp
index 0dc53a5b..284cb503 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp
@@ -174,7 +174,7 @@ void KisToolEllipse::setup(TDEActionCollection *collection)
"tool_ellipse",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
m_action->setToolTip(i18n("Draw an ellipse"));
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_fill.cpp b/chalk/plugins/tools/defaulttools/kis_tool_fill.cpp
index 3c9b6038..7ac91b2e 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_fill.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_fill.cpp
@@ -167,19 +167,19 @@ TQWidget* KisToolFill::createOptionWidget(TQWidget* parent)
m_slThreshold->setRange( 1, 100);
m_slThreshold->setSteps( 3, 3);
m_slThreshold->setValue(m_threshold);
- connect(m_slThreshold, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetThreshold(int)));
+ connect(m_slThreshold, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetThreshold(int)));
m_checkUsePattern = new TQCheckBox(i18n("Use pattern"), widget);
m_checkUsePattern->setChecked(m_usePattern);
- connect(m_checkUsePattern, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetUsePattern(bool)));
+ connect(m_checkUsePattern, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetUsePattern(bool)));
m_checkSampleMerged = new TQCheckBox(i18n("Limit to current layer"), widget);
m_checkSampleMerged->setChecked(m_unmerged);
- connect(m_checkSampleMerged, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetSampleMerged(bool)));
+ connect(m_checkSampleMerged, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetSampleMerged(bool)));
m_checkFillSelection = new TQCheckBox(i18n("Fill entire selection"), widget);
m_checkFillSelection->setChecked(m_fillOnlySelection);
- connect(m_checkFillSelection, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetFillSelection(bool)));
+ connect(m_checkFillSelection, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetFillSelection(bool)));
addOptionWidgetOption(m_slThreshold, m_lbThreshold);
@@ -221,7 +221,7 @@ void KisToolFill::setup(TDEActionCollection *collection)
"tool_color_fill",
TQt::Key_F,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
m_action->setToolTip(i18n("Contiguous fill"));
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp
index c0543c6a..bdf93bdf 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp
@@ -235,10 +235,10 @@ TQWidget* KisToolGradient::createOptionWidget(TQWidget* parent)
m_lbRepeat = new TQLabel(i18n("Repeat:"), widget);
m_ckReverse = new TQCheckBox(i18n("Reverse"), widget, "reverse_check");
- connect(m_ckReverse, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetReverse(bool)));
+ connect(m_ckReverse, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetReverse(bool)));
m_cmbShape = new TQComboBox(false, widget, "shape_combo");
- connect(m_cmbShape, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetShape(int)));
+ connect(m_cmbShape, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetShape(int)));
m_cmbShape->insertItem(i18n("Linear"));
m_cmbShape->insertItem(i18n("Bi-Linear"));
m_cmbShape->insertItem(i18n("Radial"));
@@ -247,7 +247,7 @@ TQWidget* KisToolGradient::createOptionWidget(TQWidget* parent)
m_cmbShape->insertItem(i18n("Conical Symmetric"));
m_cmbRepeat = new TQComboBox(false, widget, "repeat_combo");
- connect(m_cmbRepeat, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetRepeat(int)));
+ connect(m_cmbRepeat, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetRepeat(int)));
m_cmbRepeat->insertItem(i18n("None"));
m_cmbRepeat->insertItem(i18n("Forwards"));
m_cmbRepeat->insertItem(i18n("Alternating"));
@@ -263,7 +263,7 @@ TQWidget* KisToolGradient::createOptionWidget(TQWidget* parent)
m_slAntiAliasThreshold = new KDoubleNumInput(widget, "threshold_slider");
m_slAntiAliasThreshold->setRange( 0, 1);
m_slAntiAliasThreshold->setValue(m_antiAliasThreshold);
- connect(m_slAntiAliasThreshold, TQT_SIGNAL(valueChanged(double)), this, TQT_SLOT(slotSetAntiAliasThreshold(double)));
+ connect(m_slAntiAliasThreshold, TQ_SIGNAL(valueChanged(double)), this, TQ_SLOT(slotSetAntiAliasThreshold(double)));
addOptionWidgetOption(m_slAntiAliasThreshold, m_lbAntiAliasThreshold);
@@ -297,7 +297,7 @@ void KisToolGradient::setup(TDEActionCollection *collection)
if (m_action == 0) {
m_action = new TDERadioAction(i18n("&Gradient"),
"tool_gradient", TQt::Key_G, this,
- TQT_SLOT(activate()), collection,
+ TQ_SLOT(activate()), collection,
name());
m_action->setToolTip(i18n("Draw a gradient"));
m_action->setExclusiveGroup("tools");
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.cpp b/chalk/plugins/tools/defaulttools/kis_tool_line.cpp
index e9e303a6..2d0328eb 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_line.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_line.cpp
@@ -238,7 +238,7 @@ void KisToolLine::setup(TDEActionCollection *collection)
if (m_action == 0) {
m_action = new TDERadioAction(i18n("&Line"),
"tool_line", TQt::Key_L, this,
- TQT_SLOT(activate()), collection,
+ TQ_SLOT(activate()), collection,
name());
m_action->setToolTip(i18n("Draw a line"));
m_action->setExclusiveGroup("tools");
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_move.cpp b/chalk/plugins/tools/defaulttools/kis_tool_move.cpp
index 1bcd5135..40ebcc03 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_move.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_move.cpp
@@ -46,7 +46,7 @@ KisToolMove::KisToolMove()
setCursor(KisCursor::moveCursor());
m_repeatTimer = new TQTimer(this);
- connect( m_repeatTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotMove() ) );
+ connect( m_repeatTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotMove() ) );
}
KisToolMove::~KisToolMove()
@@ -104,7 +104,7 @@ void KisToolMove::setup(TDEActionCollection *collection)
"tool_move",
TQt::SHIFT+TQt::Key_V,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
m_action->setToolTip(i18n("Move"));
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp b/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp
index d96c820f..b77d66c7 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp
@@ -85,7 +85,7 @@ void KisToolPan::setup(TDEActionCollection *collection)
m_action = static_cast<TDERadioAction *>(collection->action(name()));
if (m_action == 0) {
- m_action = new TDERadioAction(i18n("&Pan"), "tool_pan", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT(activate()), collection, name());
+ m_action = new TDERadioAction(i18n("&Pan"), "tool_pan", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT(activate()), collection, name());
m_action->setToolTip(i18n("Pan"));
m_action->setExclusiveGroup("tools");
m_ownAction = true;
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp
index 0106b769..8c02b078 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp
@@ -175,7 +175,7 @@ void KisToolRectangle::setup(TDEActionCollection *collection)
"tool_rectangle",
TQt::Key_F6,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
m_action->setToolTip(i18n("Draw a rectangle"));
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
index 6fb07940..2e77c0c0 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
@@ -170,7 +170,7 @@ TQWidget* KisToolText::createOptionWidget(TQWidget* parent)
.arg(m_font.pointSize()), fontBox);
m_btnMoreFonts = new TQPushButton("...", fontBox);
- connect(m_btnMoreFonts, TQT_SIGNAL(released()), this, TQT_SLOT(setFont()));
+ connect(m_btnMoreFonts, TQ_SIGNAL(released()), this, TQ_SLOT(setFont()));
addOptionWidgetOption(fontBox, m_lbFont);
@@ -186,7 +186,7 @@ void KisToolText::setup(TDEActionCollection *collection)
"tool_text",
TQt::SHIFT+TQt::Key_T,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
m_action->setExclusiveGroup("tools");
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
index 77cdd336..bd5b4a72 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
@@ -46,7 +46,7 @@ KisToolZoom::KisToolZoom()
m_plusCursor = KisCursor::load("tool_zoom_plus_cursor.png", 8, 8);
m_minusCursor = KisCursor::load("tool_zoom_minus_cursor.png", 8, 8);
setCursor(m_plusCursor);
- connect(&m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimer()));
+ connect(&m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimer()));
}
KisToolZoom::~KisToolZoom()
@@ -181,7 +181,7 @@ void KisToolZoom::setup(TDEActionCollection *collection)
m_action = static_cast<TDERadioAction *>(collection->action(name()));
if (m_action == 0) {
- m_action = new TDERadioAction(i18n("&Zoom"), "tool_zoom", TQt::Key_Z, this, TQT_SLOT(activate()), collection, name());
+ m_action = new TDERadioAction(i18n("&Zoom"), "tool_zoom", TQt::Key_Z, this, TQ_SLOT(activate()), collection, name());
m_action->setToolTip(i18n("Zoom"));
m_action->setExclusiveGroup("tools");
m_ownAction = true;
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp
index c89702f9..6a5e90e0 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp
@@ -211,7 +211,7 @@ void KisToolMoveSelection::setup(TDEActionCollection *collection)
"tool_move",
TQt::SHIFT+TQt::Key_V,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
m_action->setToolTip(i18n("Move the selection"));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp
index ba80434f..75212cf6 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp
@@ -134,7 +134,7 @@ void KisToolSelectBrush::setup(TDEActionCollection *collection)
if (m_action == 0) {
m_action = new TDERadioAction(i18n("&Selection Brush"),
"tool_brush_selection", "Ctrl+Shift+B", this,
- TQT_SLOT(activate()), collection,
+ TQ_SLOT(activate()), collection,
name());
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Paint a selection"));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp
index bf24775d..d186dad5 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp
@@ -146,7 +146,7 @@ void KisToolSelectContiguous::setup(TDEActionCollection *collection)
"tool_contiguous_selection" ,
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
@@ -192,7 +192,7 @@ TQWidget* KisToolSelectContiguous::createOptionWidget(TQWidget* parent)
TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->setSpacing( 6 );
- connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_optWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQHBoxLayout * hbox = new TQHBoxLayout(l);
TQ_CHECK_PTR(hbox);
@@ -206,13 +206,13 @@ TQWidget* KisToolSelectContiguous::createOptionWidget(TQWidget* parent)
input->setRange(0, 200, 10, true);
input->setValue(20);
hbox->addWidget(input);
- connect(input, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetFuzziness(int)));
+ connect(input, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetFuzziness(int)));
TQCheckBox* samplemerged = new TQCheckBox(i18n("Sample merged"), m_optWidget);
l->addWidget( samplemerged );
samplemerged->setChecked(m_sampleMerged);
- connect(samplemerged, TQT_SIGNAL(stateChanged(int)),
- this, TQT_SLOT(slotSetSampleMerged(int)));
+ connect(samplemerged, TQ_SIGNAL(stateChanged(int)),
+ this, TQ_SLOT(slotSetSampleMerged(int)));
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp
index 0d632c42..e90360a4 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp
@@ -287,7 +287,7 @@ void KisToolSelectElliptical::setup(TDEActionCollection *collection)
"tool_elliptical_selection" ,
TQt::Key_J,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
@@ -303,7 +303,7 @@ TQWidget* KisToolSelectElliptical::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Elliptical Selection"));
- connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_optWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp
index 9cfef0a8..91abc07a 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp
@@ -121,7 +121,7 @@ void KisToolSelectEraser::setup(TDEActionCollection *collection)
if (m_action == 0) {
m_action = new TDERadioAction(i18n("Selection &Eraser"),
"tool_eraser_selection", "Ctrl+Shift+E", this,
- TQT_SLOT(activate()), collection,
+ TQ_SLOT(activate()), collection,
name());
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Erase parts of a selection"));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp
index 2507cb56..37930042 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp
@@ -256,7 +256,7 @@ void KisToolSelectOutline::setup(TDEActionCollection *collection)
"tool_outline_selection",
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
@@ -273,7 +273,7 @@ TQWidget* KisToolSelectOutline::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Outline Selection"));
- connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_optWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp
index 464e4b0a..902e80d7 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp
@@ -275,7 +275,7 @@ void KisToolSelectPolygonal::setup(TDEActionCollection *collection)
"tool_polygonal_selection" ,
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
@@ -292,7 +292,7 @@ TQWidget* KisToolSelectPolygonal::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Polygonal Selection"));
- connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_optWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
index b52ec563..62cf8f66 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
@@ -288,7 +288,7 @@ void KisToolSelectRectangular::setup(TDEActionCollection *collection)
"tool_rect_selection",
TQt::Key_R,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
@@ -304,7 +304,7 @@ TQWidget* KisToolSelectRectangular::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Rectangular Selection"));
- connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_optWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp b/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp
index 8826de3d..c7f619c1 100644
--- a/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp
+++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp
@@ -703,13 +703,13 @@ TQWidget* KisToolCrop::createOptionWidget(TQWidget* parent)
m_optWidget = new WdgToolCrop(parent);
TQ_CHECK_PTR(m_optWidget);
- connect(m_optWidget->bnCrop, TQT_SIGNAL(clicked()), this, TQT_SLOT(crop()));
+ connect(m_optWidget->bnCrop, TQ_SIGNAL(clicked()), this, TQ_SLOT(crop()));
- connect(m_optWidget->intX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setCropX(int)));
- connect(m_optWidget->intY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setCropY(int)));
- connect(m_optWidget->intWidth, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setCropWidth(int)));
- connect(m_optWidget->intHeight, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setCropHeight(int)));
- connect(m_optWidget->doubleRatio, TQT_SIGNAL(valueChanged(double)), this, TQT_SLOT(setRatio( double )));
+ connect(m_optWidget->intX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setCropX(int)));
+ connect(m_optWidget->intY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setCropY(int)));
+ connect(m_optWidget->intWidth, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setCropWidth(int)));
+ connect(m_optWidget->intHeight, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setCropHeight(int)));
+ connect(m_optWidget->doubleRatio, TQ_SIGNAL(valueChanged(double)), this, TQ_SLOT(setRatio( double )));
return m_optWidget;
}
@@ -728,7 +728,7 @@ void KisToolCrop::setup(TDEActionCollection *collection)
"tool_crop",
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp
index a8d1514b..208b4bae 100644
--- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp
+++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp
@@ -101,7 +101,7 @@ void KisToolBezierPaint::setup(TDEActionCollection *collection)
"tool_bezier_paint",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp
index 65735860..94000ebc 100644
--- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp
+++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp
@@ -90,7 +90,7 @@ void KisToolBezierSelect::setup(TDEActionCollection *collection)
"tool_bezier_select",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_curve.cpp b/chalk/plugins/tools/tool_curves/kis_tool_curve.cpp
index b4369d15..69cd5d05 100644
--- a/chalk/plugins/tools/tool_curves/kis_tool_curve.cpp
+++ b/chalk/plugins/tools/tool_curves/kis_tool_curve.cpp
@@ -574,7 +574,7 @@ TQWidget* KisToolCurve::createSelectionOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(m_UIName);
- connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_optWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_example.cpp b/chalk/plugins/tools/tool_curves/kis_tool_example.cpp
index a21bb808..775e4e93 100644
--- a/chalk/plugins/tools/tool_curves/kis_tool_example.cpp
+++ b/chalk/plugins/tools/tool_curves/kis_tool_example.cpp
@@ -94,7 +94,7 @@ void KisToolExample::setup(TDEActionCollection *collection)
"tool_example",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp
index 1412f5fa..63e3f87f 100644
--- a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp
+++ b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp
@@ -773,8 +773,8 @@ TQWidget* KisToolMagnetic::createOptionWidget(TQWidget* parent)
TQPushButton *finish = new TQPushButton(i18n("To Selection"), m_optWidget);
m_slDistance = new TQSlider(MINDIST, MAXDIST, PAGESTEP, m_distance, TQt::Horizontal, m_optWidget);
- connect(m_slDistance, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDistance(int)));
- connect(finish, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCommitCurve()));
+ connect(m_slDistance, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDistance(int)));
+ connect(finish, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCommitCurve()));
box->addWidget(m_lbDistance, 0, 0);
box->addWidget(m_slDistance, 0, 1);
@@ -795,7 +795,7 @@ void KisToolMagnetic::setup(TDEActionCollection *collection)
"tool_moutline",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_filter/kis_tool_filter.cpp b/chalk/plugins/tools/tool_filter/kis_tool_filter.cpp
index 14e2d616..04146c0e 100644
--- a/chalk/plugins/tools/tool_filter/kis_tool_filter.cpp
+++ b/chalk/plugins/tools/tool_filter/kis_tool_filter.cpp
@@ -67,7 +67,7 @@ void KisToolFilter::setup(TDEActionCollection *collection)
if (m_action == 0) {
m_action = new TDERadioAction(i18n("&Filter Brush"),
"tool_filter", 0, this,
- TQT_SLOT(activate()), collection,
+ TQ_SLOT(activate()), collection,
name());
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Paint with filters"));
@@ -124,7 +124,7 @@ TQWidget* KisToolFilter::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_optionLayout);
super::addOptionWidgetLayout(m_optionLayout);
- connect(m_cbFilter, TQT_SIGNAL(activated ( const KisID& )), this, TQT_SLOT( changeFilter( const KisID& ) ) );
+ connect(m_cbFilter, TQ_SIGNAL(activated ( const KisID& )), this, TQ_SLOT( changeFilter( const KisID& ) ) );
changeFilter( m_cbFilter->currentItem () );
return widget;
diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp
index e676ba56..fc715e07 100644
--- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp
+++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp
@@ -474,7 +474,7 @@ void KisToolPerspectiveGrid::setup(TDEActionCollection *collection)
"tool_perspectivegrid" ,
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp
index 19451d94..8d63c65c 100644
--- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp
+++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp
@@ -157,7 +157,7 @@ void KisToolPerspectiveTransform::deactivate()
paintOutline();
- disconnect(m_subject->currentImg().data(), TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayerActivated(KisLayerSP)));
+ disconnect(m_subject->currentImg().data(), TQ_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQ_SLOT(slotLayerActivated(KisLayerSP)));
}
void KisToolPerspectiveTransform::activate()
@@ -196,7 +196,7 @@ void KisToolPerspectiveTransform::activate()
initHandles();
}
}
- connect(m_subject->currentImg(), TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayerActivated(KisLayerSP)));
+ connect(m_subject->currentImg(), TQ_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQ_SLOT(slotLayerActivated(KisLayerSP)));
}
void KisToolPerspectiveTransform::initHandles()
@@ -691,17 +691,17 @@ TQWidget* KisToolPerspectiveTransform::createOptionWidget(TQWidget* /*parent*/)
m_optWidget->cmbFilter->setIDList(KisFilterStrategyRegistry::instance()->listKeys());
m_optWidget->cmbFilter->setCurrentText("Mitchell");
- connect(m_optWidget->cmbFilter, TQT_SIGNAL(activated(const KisID &)),
- this, TQT_SLOT(slotSetFilter(const KisID &)));
+ connect(m_optWidget->cmbFilter, TQ_SIGNAL(activated(const KisID &)),
+ this, TQ_SLOT(slotSetFilter(const KisID &)));
KisID filterID = m_optWidget->cmbFilter->currentItem();
m_filter = KisFilterStrategyRegistry::instance()->get(filterID);
/*
- connect(m_optWidget->intStartX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartX(int)));
- connect(m_optWidget->intStartY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartY(int)));
- connect(m_optWidget->intEndX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndX(int)));
- connect(m_optWidget->intEndY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndY(int)));
+ connect(m_optWidget->intStartX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartX(int)));
+ connect(m_optWidget->intStartY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartY(int)));
+ connect(m_optWidget->intEndX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndX(int)));
+ connect(m_optWidget->intEndY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndY(int)));
*/
m_optWidget->intStartX->hide();
m_optWidget->intStartY->hide();
@@ -729,7 +729,7 @@ void KisToolPerspectiveTransform::setup(TDEActionCollection *collection)
"tool_perspectivetransform",
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp
index 3457d278..1948de1b 100644
--- a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp
+++ b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp
@@ -227,7 +227,7 @@ void KisToolPolygon::setup(TDEActionCollection *collection)
"tool_polygon",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp
index 594f1cf9..d4fc8803 100644
--- a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp
+++ b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp
@@ -242,7 +242,7 @@ void KisToolPolyline::setup(TDEActionCollection *collection)
"polyline",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
index 3a5182b4..62f014d9 100644
--- a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
+++ b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
@@ -97,7 +97,7 @@ KisToolSelectSimilar::KisToolSelectSimilar()
m_fuzziness = 20;
m_currentSelectAction = m_defaultSelectAction = SELECTION_ADD;
m_timer = new TQTimer(this);
- connect(m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimer()) );
+ connect(m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimer()) );
}
KisToolSelectSimilar::~KisToolSelectSimilar()
@@ -202,7 +202,7 @@ void KisToolSelectSimilar::setup(TDEActionCollection *collection)
m_action = static_cast<TDERadioAction *>(collection->action(name()));
if (m_action == 0) {
- m_action = new TDERadioAction(i18n("&Similar Selection"), "tool_similar_selection", "Ctrl+E", this, TQT_SLOT(activate()), collection, name());
+ m_action = new TDERadioAction(i18n("&Similar Selection"), "tool_similar_selection", "Ctrl+E", this, TQ_SLOT(activate()), collection, name());
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Select similar colors"));
m_action->setExclusiveGroup("tools");
@@ -240,7 +240,7 @@ TQWidget* KisToolSelectSimilar::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_selectionOptionsWidget);
l->addWidget(m_selectionOptionsWidget);
- connect (m_selectionOptionsWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_selectionOptionsWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQHBoxLayout * hbox = new TQHBoxLayout(l);
TQ_CHECK_PTR(hbox);
@@ -256,7 +256,7 @@ TQWidget* KisToolSelectSimilar::createOptionWidget(TQWidget* parent)
input->setRange(0, 200, 10, true);
input->setValue(20);
hbox->addWidget(input);
- connect(input, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetFuzziness(int)));
+ connect(input, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetFuzziness(int)));
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
diff --git a/chalk/plugins/tools/tool_star/kis_tool_star.cpp b/chalk/plugins/tools/tool_star/kis_tool_star.cpp
index 601bb775..93587658 100644
--- a/chalk/plugins/tools/tool_star/kis_tool_star.cpp
+++ b/chalk/plugins/tools/tool_star/kis_tool_star.cpp
@@ -184,7 +184,7 @@ void KisToolStar::setup(TDEActionCollection *collection)
"tool_star",
shortcut,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);
diff --git a/chalk/plugins/tools/tool_transform/kis_tool_transform.cpp b/chalk/plugins/tools/tool_transform/kis_tool_transform.cpp
index 19841067..fc0c9bb4 100644
--- a/chalk/plugins/tools/tool_transform/kis_tool_transform.cpp
+++ b/chalk/plugins/tools/tool_transform/kis_tool_transform.cpp
@@ -181,7 +181,7 @@ void KisToolTransform::deactivate()
paintOutline();
- disconnect(m_subject->currentImg().data(), TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayerActivated(KisLayerSP)));
+ disconnect(m_subject->currentImg().data(), TQ_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQ_SLOT(slotLayerActivated(KisLayerSP)));
}
void KisToolTransform::activate()
@@ -222,7 +222,7 @@ void KisToolTransform::activate()
initHandles();
}
}
- connect(m_subject->currentImg(), TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayerActivated(KisLayerSP)));
+ connect(m_subject->currentImg(), TQ_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQ_SLOT(slotLayerActivated(KisLayerSP)));
}
void KisToolTransform::initHandles()
@@ -866,17 +866,17 @@ TQWidget* KisToolTransform::createOptionWidget(TQWidget* parent)
m_optWidget->cmbFilter->setIDList(KisFilterStrategyRegistry::instance()->listKeys());
m_optWidget->cmbFilter->setCurrentText("Mitchell");
- connect(m_optWidget->cmbFilter, TQT_SIGNAL(activated(const KisID &)),
- this, TQT_SLOT(slotSetFilter(const KisID &)));
+ connect(m_optWidget->cmbFilter, TQ_SIGNAL(activated(const KisID &)),
+ this, TQ_SLOT(slotSetFilter(const KisID &)));
KisID filterID = m_optWidget->cmbFilter->currentItem();
m_filter = KisFilterStrategyRegistry::instance()->get(filterID);
/*
- connect(m_optWidget->intStartX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartX(int)));
- connect(m_optWidget->intStartY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartY(int)));
- connect(m_optWidget->intEndX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndX(int)));
- connect(m_optWidget->intEndY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndY(int)));
+ connect(m_optWidget->intStartX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartX(int)));
+ connect(m_optWidget->intStartY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartY(int)));
+ connect(m_optWidget->intEndX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndX(int)));
+ connect(m_optWidget->intEndY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndY(int)));
*/
m_optWidget->intStartX->hide();
m_optWidget->intStartY->hide();
@@ -903,7 +903,7 @@ void KisToolTransform::setup(TDEActionCollection *collection)
"tool_transform",
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);