summaryrefslogtreecommitdiffstats
path: root/kolourpaint/tools
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/tools')
-rw-r--r--kolourpaint/tools/kptoolairspray.cpp10
-rw-r--r--kolourpaint/tools/kptoolflip.cpp8
-rw-r--r--kolourpaint/tools/kptoolpen.cpp16
-rw-r--r--kolourpaint/tools/kptoolpolygon.cpp16
-rw-r--r--kolourpaint/tools/kptoolpreviewdialog.cpp8
-rw-r--r--kolourpaint/tools/kptoolrectangle.cpp16
-rw-r--r--kolourpaint/tools/kptoolresizescale.cpp36
-rw-r--r--kolourpaint/tools/kptoolrotate.cpp32
-rw-r--r--kolourpaint/tools/kptoolselection.cpp20
-rw-r--r--kolourpaint/tools/kptoolskew.cpp8
10 files changed, 85 insertions, 85 deletions
diff --git a/kolourpaint/tools/kptoolairspray.cpp b/kolourpaint/tools/kptoolairspray.cpp
index dc2b4a23..5450a79e 100644
--- a/kolourpaint/tools/kptoolairspray.cpp
+++ b/kolourpaint/tools/kptoolairspray.cpp
@@ -65,7 +65,7 @@ kpToolAirSpray::kpToolAirSpray (kpMainWindow *mainWindow)
m_currentCommand (0)
{
m_timer = new TQTimer (this);
- connect (m_timer, TQT_SIGNAL (timeout ()), this, TQT_SLOT (actuallyDraw ()));
+ connect (m_timer, TQ_SIGNAL (timeout ()), this, TQ_SLOT (actuallyDraw ()));
}
kpToolAirSpray::~kpToolAirSpray ()
@@ -95,8 +95,8 @@ void kpToolAirSpray::begin ()
if (m_toolWidgetSpraycanSize)
{
m_size = m_toolWidgetSpraycanSize->spraycanSize ();
- connect (m_toolWidgetSpraycanSize, TQT_SIGNAL (spraycanSizeChanged (int)),
- this, TQT_SLOT (slotSpraycanSizeChanged (int)));
+ connect (m_toolWidgetSpraycanSize, TQ_SIGNAL (spraycanSizeChanged (int)),
+ this, TQ_SLOT (slotSpraycanSizeChanged (int)));
m_toolWidgetSpraycanSize->show ();
}
@@ -110,8 +110,8 @@ void kpToolAirSpray::end ()
{
if (m_toolWidgetSpraycanSize)
{
- disconnect (m_toolWidgetSpraycanSize, TQT_SIGNAL (spraycanSizeChanged (int)),
- this, TQT_SLOT (slotSpraycanSizeChanged (int)));
+ disconnect (m_toolWidgetSpraycanSize, TQ_SIGNAL (spraycanSizeChanged (int)),
+ this, TQ_SLOT (slotSpraycanSizeChanged (int)));
m_toolWidgetSpraycanSize = 0;
}
diff --git a/kolourpaint/tools/kptoolflip.cpp b/kolourpaint/tools/kptoolflip.cpp
index 49aed85f..c3d13f9b 100644
--- a/kolourpaint/tools/kptoolflip.cpp
+++ b/kolourpaint/tools/kptoolflip.cpp
@@ -171,10 +171,10 @@ kpToolFlipDialog::kpToolFlipDialog (bool actOnSelection, TQWidget *parent)
m_verticalFlipRadioButton->setChecked (s_lastIsVerticalFlip);
m_horizontalFlipRadioButton->setChecked (!s_lastIsVerticalFlip);
- connect (m_verticalFlipRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotIsVerticalFlipChanged ()));
- connect (m_horizontalFlipRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotIsVerticalFlipChanged ()));
+ connect (m_verticalFlipRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotIsVerticalFlipChanged ()));
+ connect (m_horizontalFlipRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotIsVerticalFlipChanged ()));
}
}
diff --git a/kolourpaint/tools/kptoolpen.cpp b/kolourpaint/tools/kptoolpen.cpp
index 387f4bb7..fe8ab3c5 100644
--- a/kolourpaint/tools/kptoolpen.cpp
+++ b/kolourpaint/tools/kptoolpen.cpp
@@ -133,8 +133,8 @@ void kpToolPen::begin ()
if (m_mode & SquareBrushes)
{
m_toolWidgetEraserSize = tb->toolWidgetEraserSize ();
- connect (m_toolWidgetEraserSize, TQT_SIGNAL (eraserSizeChanged (int)),
- this, TQT_SLOT (slotEraserSizeChanged (int)));
+ connect (m_toolWidgetEraserSize, TQ_SIGNAL (eraserSizeChanged (int)),
+ this, TQ_SLOT (slotEraserSizeChanged (int)));
m_toolWidgetEraserSize->show ();
slotEraserSizeChanged (m_toolWidgetEraserSize->eraserSize ());
@@ -145,8 +145,8 @@ void kpToolPen::begin ()
if (m_mode & DiverseBrushes)
{
m_toolWidgetBrush = tb->toolWidgetBrush ();
- connect (m_toolWidgetBrush, TQT_SIGNAL (brushChanged (const TQPixmap &, bool)),
- this, TQT_SLOT (slotBrushChanged (const TQPixmap &, bool)));
+ connect (m_toolWidgetBrush, TQ_SIGNAL (brushChanged (const TQPixmap &, bool)),
+ this, TQ_SLOT (slotBrushChanged (const TQPixmap &, bool)));
m_toolWidgetBrush->show ();
slotBrushChanged (m_toolWidgetBrush->brush (),
@@ -163,15 +163,15 @@ void kpToolPen::end ()
{
if (m_toolWidgetEraserSize)
{
- disconnect (m_toolWidgetEraserSize, TQT_SIGNAL (eraserSizeChanged (int)),
- this, TQT_SLOT (slotEraserSizeChanged (int)));
+ disconnect (m_toolWidgetEraserSize, TQ_SIGNAL (eraserSizeChanged (int)),
+ this, TQ_SLOT (slotEraserSizeChanged (int)));
m_toolWidgetEraserSize = 0;
}
if (m_toolWidgetBrush)
{
- disconnect (m_toolWidgetBrush, TQT_SIGNAL (brushChanged (const TQPixmap &, bool)),
- this, TQT_SLOT (slotBrushChanged (const TQPixmap &, bool)));
+ disconnect (m_toolWidgetBrush, TQ_SIGNAL (brushChanged (const TQPixmap &, bool)),
+ this, TQ_SLOT (slotBrushChanged (const TQPixmap &, bool)));
m_toolWidgetBrush = 0;
}
diff --git a/kolourpaint/tools/kptoolpolygon.cpp b/kolourpaint/tools/kptoolpolygon.cpp
index f71ff6f8..65f380c7 100644
--- a/kolourpaint/tools/kptoolpolygon.cpp
+++ b/kolourpaint/tools/kptoolpolygon.cpp
@@ -370,11 +370,11 @@ void kpToolPolygon::begin ()
if (m_toolWidgetFillStyle)
{
- connect (m_toolWidgetFillStyle, TQT_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
- this, TQT_SLOT (slotFillStyleChanged (kpToolWidgetFillStyle::FillStyle)));
+ connect (m_toolWidgetFillStyle, TQ_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
+ this, TQ_SLOT (slotFillStyleChanged (kpToolWidgetFillStyle::FillStyle)));
}
- connect (m_toolWidgetLineWidth, TQT_SIGNAL (lineWidthChanged (int)),
- this, TQT_SLOT (slotLineWidthChanged (int)));
+ connect (m_toolWidgetLineWidth, TQ_SIGNAL (lineWidthChanged (int)),
+ this, TQ_SLOT (slotLineWidthChanged (int)));
if (m_toolWidgetFillStyle)
m_toolWidgetFillStyle->show ();
@@ -404,15 +404,15 @@ void kpToolPolygon::end ()
if (m_toolWidgetFillStyle)
{
- disconnect (m_toolWidgetFillStyle, TQT_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
- this, TQT_SLOT (slotFillStyleChanged (kpToolWidgetFillStyle::FillStyle)));
+ disconnect (m_toolWidgetFillStyle, TQ_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
+ this, TQ_SLOT (slotFillStyleChanged (kpToolWidgetFillStyle::FillStyle)));
m_toolWidgetFillStyle = 0;
}
if (m_toolWidgetLineWidth)
{
- disconnect (m_toolWidgetLineWidth, TQT_SIGNAL (lineWidthChanged (int)),
- this, TQT_SLOT (slotLineWidthChanged (int)));
+ disconnect (m_toolWidgetLineWidth, TQ_SIGNAL (lineWidthChanged (int)),
+ this, TQ_SLOT (slotLineWidthChanged (int)));
m_toolWidgetLineWidth = 0;
}
diff --git a/kolourpaint/tools/kptoolpreviewdialog.cpp b/kolourpaint/tools/kptoolpreviewdialog.cpp
index 65afb587..d28ab542 100644
--- a/kolourpaint/tools/kptoolpreviewdialog.cpp
+++ b/kolourpaint/tools/kptoolpreviewdialog.cpp
@@ -162,13 +162,13 @@ void kpToolPreviewDialog::createPreviewGroupBox ()
m_previewPixmapLabel = new kpResizeSignallingLabel (m_previewGroupBox);
m_previewPixmapLabel->setMinimumSize (150, 110);
- connect (m_previewPixmapLabel, TQT_SIGNAL (resized ()),
- this, TQT_SLOT (updatePreview ()));
+ connect (m_previewPixmapLabel, TQ_SIGNAL (resized ()),
+ this, TQ_SLOT (updatePreview ()));
TQPushButton *updatePushButton = new TQPushButton (i18n ("&Update"),
m_previewGroupBox);
- connect (updatePushButton, TQT_SIGNAL (clicked ()),
- this, TQT_SLOT (slotUpdateWithWaitCursor ()));
+ connect (updatePushButton, TQ_SIGNAL (clicked ()),
+ this, TQ_SLOT (slotUpdateWithWaitCursor ()));
TQVBoxLayout *previewLayout = new TQVBoxLayout (m_previewGroupBox,
diff --git a/kolourpaint/tools/kptoolrectangle.cpp b/kolourpaint/tools/kptoolrectangle.cpp
index 90a7352d..efc9cd16 100644
--- a/kolourpaint/tools/kptoolrectangle.cpp
+++ b/kolourpaint/tools/kptoolrectangle.cpp
@@ -323,16 +323,16 @@ void kpToolRectangle::begin ()
if (tb)
{
m_toolWidgetLineWidth = tb->toolWidgetLineWidth ();
- connect (m_toolWidgetLineWidth, TQT_SIGNAL (lineWidthChanged (int)),
- this, TQT_SLOT (slotLineWidthChanged ()));
+ connect (m_toolWidgetLineWidth, TQ_SIGNAL (lineWidthChanged (int)),
+ this, TQ_SLOT (slotLineWidthChanged ()));
m_toolWidgetLineWidth->show ();
updatePens ();
m_toolWidgetFillStyle = tb->toolWidgetFillStyle ();
- connect (m_toolWidgetFillStyle, TQT_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
- this, TQT_SLOT (slotFillStyleChanged ()));
+ connect (m_toolWidgetFillStyle, TQ_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
+ this, TQ_SLOT (slotFillStyleChanged ()));
m_toolWidgetFillStyle->show ();
updateBrushes ();
@@ -356,15 +356,15 @@ void kpToolRectangle::end ()
if (m_toolWidgetLineWidth)
{
- disconnect (m_toolWidgetLineWidth, TQT_SIGNAL (lineWidthChanged (int)),
- this, TQT_SLOT (slotLineWidthChanged ()));
+ disconnect (m_toolWidgetLineWidth, TQ_SIGNAL (lineWidthChanged (int)),
+ this, TQ_SLOT (slotLineWidthChanged ()));
m_toolWidgetLineWidth = 0;
}
if (m_toolWidgetFillStyle)
{
- disconnect (m_toolWidgetFillStyle, TQT_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
- this, TQT_SLOT (slotFillStyleChanged ()));
+ disconnect (m_toolWidgetFillStyle, TQ_SIGNAL (fillStyleChanged (kpToolWidgetFillStyle::FillStyle)),
+ this, TQ_SLOT (slotFillStyleChanged ()));
m_toolWidgetFillStyle = 0;
}
diff --git a/kolourpaint/tools/kptoolresizescale.cpp b/kolourpaint/tools/kptoolresizescale.cpp
index 73e6303c..dc9d88ff 100644
--- a/kolourpaint/tools/kptoolresizescale.cpp
+++ b/kolourpaint/tools/kptoolresizescale.cpp
@@ -591,8 +591,8 @@ void kpToolResizeScaleDialog::createActOnBox (TQWidget *baseWidget)
m_actOnBox->setStretchFactor (m_actOnCombo, 1);
- connect (m_actOnCombo, TQT_SIGNAL (activated (int)),
- this, TQT_SLOT (slotActOnChanged ()));
+ connect (m_actOnCombo, TQ_SIGNAL (activated (int)),
+ this, TQ_SLOT (slotActOnChanged ()));
}
@@ -713,12 +713,12 @@ void kpToolResizeScaleDialog::createOperationGroupBox (TQWidget *baseWidget)
//operationLayout->addWidget (m_smoothScaleLabel, 1, 2, TQt::AlignCenter);
- connect (m_resizeButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotTypeChanged ()));
- connect (m_scaleButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotTypeChanged ()));
- connect (m_smoothScaleButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotTypeChanged ()));
+ connect (m_resizeButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotTypeChanged ()));
+ connect (m_scaleButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotTypeChanged ()));
+ connect (m_smoothScaleButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotTypeChanged ()));
}
// private
@@ -800,18 +800,18 @@ void kpToolResizeScaleDialog::createDimensionsGroupBox (TQWidget *baseWidget)
dimensionsLayout->setRowSpacing (4/*row*/, dimensionsLayout->rowSpacing (4) * 2);
- connect (m_newWidthInput, TQT_SIGNAL (valueChanged (int)),
- this, TQT_SLOT (slotWidthChanged (int)));
- connect (m_newHeightInput, TQT_SIGNAL (valueChanged (int)),
- this, TQT_SLOT (slotHeightChanged (int)));
+ connect (m_newWidthInput, TQ_SIGNAL (valueChanged (int)),
+ this, TQ_SLOT (slotWidthChanged (int)));
+ connect (m_newHeightInput, TQ_SIGNAL (valueChanged (int)),
+ this, TQ_SLOT (slotHeightChanged (int)));
- connect (m_percentWidthInput, TQT_SIGNAL (valueChanged (double)),
- this, TQT_SLOT (slotPercentWidthChanged (double)));
- connect (m_percentHeightInput, TQT_SIGNAL (valueChanged (double)),
- this, TQT_SLOT (slotPercentHeightChanged (double)));
+ connect (m_percentWidthInput, TQ_SIGNAL (valueChanged (double)),
+ this, TQ_SLOT (slotPercentWidthChanged (double)));
+ connect (m_percentHeightInput, TQ_SIGNAL (valueChanged (double)),
+ this, TQ_SLOT (slotPercentHeightChanged (double)));
- connect (m_keepAspectRatioCheckBox, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (setKeepAspectRatio (bool)));
+ connect (m_keepAspectRatioCheckBox, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (setKeepAspectRatio (bool)));
}
diff --git a/kolourpaint/tools/kptoolrotate.cpp b/kolourpaint/tools/kptoolrotate.cpp
index 28e05d3e..c70836a5 100644
--- a/kolourpaint/tools/kptoolrotate.cpp
+++ b/kolourpaint/tools/kptoolrotate.cpp
@@ -300,10 +300,10 @@ void kpToolRotateDialog::createDirectionGroupBox ()
directionLayout->addWidget (m_clockwiseRadioButton, 1, 1, TQt::AlignCenter);
- connect (m_antiClockwiseRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotUpdate ()));
- connect (m_clockwiseRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotUpdate ()));
+ connect (m_antiClockwiseRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotUpdate ()));
+ connect (m_clockwiseRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotUpdate ()));
}
// private
@@ -351,20 +351,20 @@ void kpToolRotateDialog::createAngleGroupBox ()
angleLayout->setColStretch (1, 2); // Stretch Custom Angle Input
- connect (m_angle90RadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotUpdate ()));
- connect (m_angle180RadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotUpdate ()));
- connect (m_angle270RadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotUpdate ()));
+ connect (m_angle90RadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotUpdate ()));
+ connect (m_angle180RadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotUpdate ()));
+ connect (m_angle270RadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotUpdate ()));
- connect (m_angleCustomRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotAngleCustomRadioButtonToggled (bool)));
- connect (m_angleCustomRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SLOT (slotUpdate ()));
+ connect (m_angleCustomRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotAngleCustomRadioButtonToggled (bool)));
+ connect (m_angleCustomRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SLOT (slotUpdate ()));
- connect (m_angleCustomInput, TQT_SIGNAL (valueChanged (int)),
- this, TQT_SLOT (slotUpdate ()));
+ connect (m_angleCustomInput, TQ_SIGNAL (valueChanged (int)),
+ this, TQ_SLOT (slotUpdate ()));
}
diff --git a/kolourpaint/tools/kptoolselection.cpp b/kolourpaint/tools/kptoolselection.cpp
index 8fbdee55..c6ee4bba 100644
--- a/kolourpaint/tools/kptoolselection.cpp
+++ b/kolourpaint/tools/kptoolselection.cpp
@@ -68,10 +68,10 @@ kpToolSelection::kpToolSelection (Mode mode,
m_createNOPTimer (new TQTimer (this)),
m_RMBMoveUpdateGUITimer (new TQTimer (this))
{
- connect (m_createNOPTimer, TQT_SIGNAL (timeout ()),
- this, TQT_SLOT (delayedDraw ()));
- connect (m_RMBMoveUpdateGUITimer, TQT_SIGNAL (timeout ()),
- this, TQT_SLOT (slotRMBMoveUpdateGUI ()));
+ connect (m_createNOPTimer, TQ_SIGNAL (timeout ()),
+ this, TQ_SLOT (delayedDraw ()));
+ connect (m_RMBMoveUpdateGUITimer, TQ_SIGNAL (timeout ()),
+ this, TQ_SLOT (slotRMBMoveUpdateGUI ()));
}
kpToolSelection::~kpToolSelection ()
@@ -180,8 +180,8 @@ void kpToolSelection::begin ()
if (m_toolWidgetOpaqueOrTransparent)
{
- connect (m_toolWidgetOpaqueOrTransparent, TQT_SIGNAL (isOpaqueChanged (bool)),
- this, TQT_SLOT (slotIsOpaqueChanged ()));
+ connect (m_toolWidgetOpaqueOrTransparent, TQ_SIGNAL (isOpaqueChanged (bool)),
+ this, TQ_SLOT (slotIsOpaqueChanged ()));
m_toolWidgetOpaqueOrTransparent->show ();
}
}
@@ -225,8 +225,8 @@ void kpToolSelection::end ()
if (m_toolWidgetOpaqueOrTransparent)
{
- disconnect (m_toolWidgetOpaqueOrTransparent, TQT_SIGNAL (isOpaqueChanged (bool)),
- this, TQT_SLOT (slotIsOpaqueChanged ()));
+ disconnect (m_toolWidgetOpaqueOrTransparent, TQ_SIGNAL (isOpaqueChanged (bool)),
+ this, TQ_SLOT (slotIsOpaqueChanged ()));
m_toolWidgetOpaqueOrTransparent = 0;
}
@@ -2037,8 +2037,8 @@ kpToolSelectionResizeScaleCommand::kpToolSelectionResizeScaleCommand (
m_newWidth = selection ()->width ();
m_newHeight = selection ()->height ();
- connect (m_smoothScaleTimer, TQT_SIGNAL (timeout ()),
- this, TQT_SLOT (resizeScaleAndMove ()));
+ connect (m_smoothScaleTimer, TQ_SIGNAL (timeout ()),
+ this, TQ_SLOT (resizeScaleAndMove ()));
}
kpToolSelectionResizeScaleCommand::~kpToolSelectionResizeScaleCommand ()
diff --git a/kolourpaint/tools/kptoolskew.cpp b/kolourpaint/tools/kptoolskew.cpp
index 230db783..5cdeeb9e 100644
--- a/kolourpaint/tools/kptoolskew.cpp
+++ b/kolourpaint/tools/kptoolskew.cpp
@@ -296,10 +296,10 @@ void kpToolSkewDialog::createAngleGroupBox ()
angleLayout->addWidget (verticalSkewDegreesLabel, 1, 3);
- connect (m_horizontalSkewInput, TQT_SIGNAL (valueChanged (int)),
- this, TQT_SLOT (slotUpdate ()));
- connect (m_verticalSkewInput, TQT_SIGNAL (valueChanged (int)),
- this, TQT_SLOT (slotUpdate ()));
+ connect (m_horizontalSkewInput, TQ_SIGNAL (valueChanged (int)),
+ this, TQ_SLOT (slotUpdate ()));
+ connect (m_verticalSkewInput, TQ_SIGNAL (valueChanged (int)),
+ this, TQ_SLOT (slotUpdate ()));
}