summaryrefslogtreecommitdiffstats
path: root/kcoloredit
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:39:17 +0900
committerMichele Calgaro <[email protected]>2023-11-07 11:44:25 +0900
commitb93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46 (patch)
treea322378de9225faac7c5226d1aaa01c4bfcdf527 /kcoloredit
parent0181791a29594df4dbf38706d0b9ed509b3141f4 (diff)
downloadtdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.tar.gz
tdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcoloredit')
-rw-r--r--kcoloredit/colorselector.cpp2
-rw-r--r--kcoloredit/gradientselection.cpp2
-rw-r--r--kcoloredit/kzcolorselector.cpp2
-rw-r--r--kcoloredit/kzcolorselector.h2
-rw-r--r--kcoloredit/paletteview.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/kcoloredit/colorselector.cpp b/kcoloredit/colorselector.cpp
index 6dfbf08a..30b1fc3a 100644
--- a/kcoloredit/colorselector.cpp
+++ b/kcoloredit/colorselector.cpp
@@ -73,7 +73,7 @@ ColorSelector::ColorSelector(TQWidget *parent, const char *name ) : TQWidget(par
TQVBoxLayout* colorChangeSliderLayout = new TQVBoxLayout(colorChangeSliderWidget, 1);
colorChangeSliderLayout->setMargin(0);
TQSlider* colorChangeSlider = new TQSlider(0, MAX_COLOR_CHANGE_VALUE,
- MAX_COLOR_CHANGE_VALUE/4, colorChangeValue, Qt::Horizontal, colorChangeSliderWidget);
+ MAX_COLOR_CHANGE_VALUE/4, colorChangeValue, TQt::Horizontal, colorChangeSliderWidget);
colorChangeSlider->setTickInterval(colorChangeSlider->pageStep());
colorChangeSlider->setTickmarks(TQSlider::Above);
connect(colorChangeSlider, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( slotColorChangeValueChanged(int) ));
diff --git a/kcoloredit/gradientselection.cpp b/kcoloredit/gradientselection.cpp
index df0769d0..04fc2200 100644
--- a/kcoloredit/gradientselection.cpp
+++ b/kcoloredit/gradientselection.cpp
@@ -54,7 +54,7 @@ GradientSelection::GradientSelection(TQWidget *parent, const char *name ) : TQWi
xyColorSelectorLayout->addLayout(buttonsLayout);
xyColorSelectorLayout->addSpacing(2);
topLayout->addLayout(xyColorSelectorLayout, 1, 0);
- zColorSelector = new KZColorSelector(Qt::Vertical, this);
+ zColorSelector = new KZColorSelector(TQt::Vertical, this);
connect(zColorSelector, TQT_SIGNAL( valueChanged(int) ),
TQT_SLOT( slotZColorSelectorPosChanged(int) ));
zColorSelector->setFixedWidth(36);
diff --git a/kcoloredit/kzcolorselector.cpp b/kcoloredit/kzcolorselector.cpp
index f753649e..6d4aa1cb 100644
--- a/kcoloredit/kzcolorselector.cpp
+++ b/kcoloredit/kzcolorselector.cpp
@@ -23,7 +23,7 @@
#include "main.h"
#include "kzcolorselector.h"
-KZColorSelector::KZColorSelector(Qt::Orientation o, TQWidget *parent, const char *name) :
+KZColorSelector::KZColorSelector(TQt::Orientation o, TQWidget *parent, const char *name) :
TDESelector(o, parent, name) {
baseColorH = -1;
baseColorS = 0;
diff --git a/kcoloredit/kzcolorselector.h b/kcoloredit/kzcolorselector.h
index 4bb98d1a..23f1f1d4 100644
--- a/kcoloredit/kzcolorselector.h
+++ b/kcoloredit/kzcolorselector.h
@@ -38,7 +38,7 @@ public:
TYPE_V = 2 };
/** Constructs the widget */
- KZColorSelector(Qt::Orientation o, TQWidget *parent=0, const char *name=0);
+ KZColorSelector(TQt::Orientation o, TQWidget *parent=0, const char *name=0);
~KZColorSelector();
/** Sets the selector type */
void setType(const int type);
diff --git a/kcoloredit/paletteview.cpp b/kcoloredit/paletteview.cpp
index 52e8b4be..637d88f4 100644
--- a/kcoloredit/paletteview.cpp
+++ b/kcoloredit/paletteview.cpp
@@ -32,7 +32,7 @@ PaletteView::PaletteView(const int defaultCellWidth, const int defaultCellHeight
topLayout->setColStretch(0, 10);
topLayout->setColStretch(1, 0);
scrollBar = new TQScrollBar(this);
- hScrollBar = new TQScrollBar(0, 1, 1, 1, 0, Qt::Horizontal, this);
+ hScrollBar = new TQScrollBar(0, 1, 1, 1, 0, TQt::Horizontal, this);
scrolledArea = new PaletteViewScrolledArea(defaultCellWidth,
defaultCellHeight, cellSpacing, scrollBar, hScrollBar, view, this);
connect(scrollBar, TQT_SIGNAL( valueChanged(int) ),