diff options
Diffstat (limited to 'lib/kopainter/ko_hsv_widget.h')
-rw-r--r-- | lib/kopainter/ko_hsv_widget.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/lib/kopainter/ko_hsv_widget.h b/lib/kopainter/ko_hsv_widget.h index f8fcdcfb..529e5af2 100644 --- a/lib/kopainter/ko_hsv_widget.h +++ b/lib/kopainter/ko_hsv_widget.h @@ -19,7 +19,7 @@ #ifndef KO_HSV_WIDGET_H #define KO_HSV_WIDGET_H -#include "qwidget.h" +#include "tqwidget.h" #include "kdualcolorbutton.h" #include "koColor.h" @@ -31,26 +31,27 @@ class KValueSelector; class KoColorWheel; class KoColorSlider; class KoFrameButton; -class QGridLayout; -class QLabel; -class QSpinBox; +class TQGridLayout; +class TQLabel; +class TQSpinBox; class KoHSVWidget - : public QWidget + : public TQWidget { Q_OBJECT - typedef QWidget super; + TQ_OBJECT + typedef TQWidget super; public: - KoHSVWidget(QWidget *parent = 0L, const char *name = 0); + KoHSVWidget(TQWidget *tqparent = 0L, const char *name = 0); virtual ~KoHSVWidget() {} public slots: /** * Set the current color to c. Do not emit the color changed signals */ - virtual void setFgColor(const QColor & c); - virtual void setBgColor(const QColor & c); + virtual void setFgColor(const TQColor & c); + virtual void setBgColor(const TQColor & c); /// Sets the current mode (foreground/background) without emitting the signal virtual void setMode(KDualColorButton::DualColor); signals: @@ -58,8 +59,8 @@ signals: /** * Emitted when the current color is changed. */ - virtual void sigFgColorChanged(const QColor & c); - virtual void sigBgColorChanged(const QColor & c); + virtual void sigFgColorChanged(const TQColor & c); + virtual void sigBgColorChanged(const TQColor & c); /// Emitted when the mode (foreground/background) was changed virtual void sigModeChanged(KDualColorButton::DualColor); @@ -70,8 +71,8 @@ protected slots: virtual void slotVChanged(int v); virtual void slotWheelChanged(const KoColor& c); - void slotFGColorSelected(const QColor& c); - void slotBGColorSelected(const QColor& c); + void slotFGColorSelected(const TQColor& c); + void slotBGColorSelected(const TQColor& c); void currentChanged(KDualColorButton::DualColor); private: @@ -82,12 +83,12 @@ private: KoColorWheel *m_colorwheel; KValueSelector *m_VSelector; - QLabel *mHLabel; - QLabel *mSLabel; - QLabel *mVLabel; - QSpinBox *mHIn; - QSpinBox *mSIn; - QSpinBox *mVIn; + TQLabel *mHLabel; + TQLabel *mSLabel; + TQLabel *mVLabel; + TQSpinBox *mHIn; + TQSpinBox *mSIn; + TQSpinBox *mVIn; KDualColorButton *m_ColorButton; KoColor m_fgColor; |