summaryrefslogtreecommitdiffstats
path: root/deco/config/colorpicker.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
commit2ee99ab520931c5efe91123c85ba10064a45e95d (patch)
treea367666e410de28d0f258aed77b11e17cafb28e4 /deco/config/colorpicker.h
parentcfa36e1a95e82492c17225ff376911abb3688f62 (diff)
downloadtde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.tar.gz
tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'deco/config/colorpicker.h')
-rw-r--r--deco/config/colorpicker.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/deco/config/colorpicker.h b/deco/config/colorpicker.h
index 3b4ec48..7e4f776 100644
--- a/deco/config/colorpicker.h
+++ b/deco/config/colorpicker.h
@@ -1,25 +1,25 @@
#ifndef COLORPICKER_H
#define COLORPICKER_H
-//#include <qvariant.h>
-#include <qgroupbox.h>
+//#include <tqvariant.h>
+#include <tqgroupbox.h>
-class QSlider;
-class QSpinBox;
-class QColor;
-//class QGroupBox;
+class TQSlider;
+class TQSpinBox;
+class TQColor;
+//class TQGroupBox;
-class ColorPicker : public QGroupBox
+class ColorPicker : public TQGroupBox
{
Q_OBJECT
public:
- ColorPicker( QWidget* parent = 0, const char* name = 0);
+ ColorPicker( TQWidget* parent = 0, const char* name = 0);
~ColorPicker();
- QColor Color();
+ TQColor Color();
public slots:
- void setColor(QColor color);
+ void setColor(TQColor color);
void setRed(int red);
void setGreen(int green);
void setBlue(int blue);
@@ -27,17 +27,17 @@ public slots:
void init();
protected:
- QSlider *redSlider;
- QSlider *greenSlider;
- QSlider *blueSlider;
- QSpinBox *redValue;
- QSpinBox *greenValue;
- QSpinBox *blueValue;
- QColor color_;
-// QGroupBox *box;
+ TQSlider *redSlider;
+ TQSlider *greenSlider;
+ TQSlider *blueSlider;
+ TQSpinBox *redValue;
+ TQSpinBox *greenValue;
+ TQSpinBox *blueValue;
+ TQColor color_;
+// TQGroupBox *box;
signals:
- void colorChanged(QColor color);
+ void colorChanged(TQColor color);
};