diff options
Diffstat (limited to 'config/qtcurveconfig.h')
-rw-r--r-- | config/qtcurveconfig.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/qtcurveconfig.h b/config/qtcurveconfig.h index 8f30733..7843136 100644 --- a/config/qtcurveconfig.h +++ b/config/qtcurveconfig.h @@ -40,6 +40,7 @@ class TQtCurveConfig; class CGradientPreview : public TQWidget { + Q_OBJECT TQ_OBJECT public: @@ -48,7 +49,7 @@ class CGradientPreview : public TQWidget TQSize sizeHint() const; TQSize minimumSizeHint() const; - void paintEvent(QPaintEvent *); + void paintEvent(TQPaintEvent *); void setGrad(const GradientStopCont &s); public slots: @@ -64,11 +65,12 @@ class CGradientPreview : public TQWidget class TQtCurveConfig : public TQtCurveConfigBase { + Q_OBJECT TQ_OBJECT public: - TQtCurveConfig(QWidget *parent); + TQtCurveConfig(TQWidget *parent); virtual ~TQtCurveConfig(); EShading currentShading() const { return (EShading)shading->currentItem(); } @@ -79,7 +81,7 @@ class TQtCurveConfig : public TQtCurveConfigBase private: - void loadStyles(QPopupMenu *menu); + void loadStyles(TQPopupMenu *menu); public slots: @@ -117,7 +119,7 @@ class TQtCurveConfig : public TQtCurveConfigBase void sliderWidthChanged(); void changeStack(); void gradChanged(int i); - void itemChanged(QListViewItem *i, int col); + void itemChanged(TQListViewItem *i, int col); void addGradStop(); void removeGradStop(); void updateGradStop(); |