summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_double_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_double_widget.h')
-rw-r--r--krita/ui/kis_double_widget.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/krita/ui/kis_double_widget.h b/krita/ui/kis_double_widget.h
index bd6043e0..34bd2230 100644
--- a/krita/ui/kis_double_widget.h
+++ b/krita/ui/kis_double_widget.h
@@ -22,26 +22,27 @@
#ifndef KIS_DOUBLE_WIDGET_H
#define KIS_DOUBLE_WIDGET_H
-#include <qwidget.h>
-#include <qslider.h>
+#include <tqwidget.h>
+#include <tqslider.h>
-class QHBoxLayout;
+class TQHBoxLayout;
class KDoubleSpinBox;
-class KisDoubleWidget : public QWidget
+class KisDoubleWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
- typedef QWidget super;
+ typedef TQWidget super;
public:
- KisDoubleWidget(QWidget* parent = 0, const char* name = 0);
- KisDoubleWidget(double min, double max, QWidget* parent = 0, const char* name = 0);
+ KisDoubleWidget(TQWidget* tqparent = 0, const char* name = 0);
+ KisDoubleWidget(double min, double max, TQWidget* tqparent = 0, const char* name = 0);
~KisDoubleWidget();
double value() const;
void setRange(double min, double max);
- void setTickmarks(QSlider::TickSetting tickMarks);
+ void setTickmarks(TQSlider::TickSetting tickMarks);
void setTickInterval(double tickInterval);
double tickInterval() const;
@@ -68,8 +69,8 @@ private:
void init(double min, double max);
protected:
- QHBoxLayout* m_layout;
- QSlider* m_slider;
+ TQHBoxLayout* m_layout;
+ TQSlider* m_slider;
KDoubleSpinBox *m_spinBox;
};