summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_gradient_slider_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_gradient_slider_widget.h')
-rw-r--r--krita/ui/kis_gradient_slider_widget.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/krita/ui/kis_gradient_slider_widget.h b/krita/ui/kis_gradient_slider_widget.h
index 4bc00543..d15ac1c4 100644
--- a/krita/ui/kis_gradient_slider_widget.h
+++ b/krita/ui/kis_gradient_slider_widget.h
@@ -21,21 +21,22 @@
#define _KIS_WDG_GRADIENT_SLIDER_H_
#include <kpixmapio.h>
-#include <qwidget.h>
+#include <tqwidget.h>
class KPopupMenu;
class KisAutogradientResource;
class KisGradientSegment;
-class KisGradientSliderWidget : public QWidget
+class KisGradientSliderWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KisGradientSliderWidget(QWidget *parent = 0, const char* name = 0, WFlags f = 0);
+ KisGradientSliderWidget(TQWidget *tqparent = 0, const char* name = 0, WFlags f = 0);
public:
- virtual void paintEvent ( QPaintEvent * );
+ virtual void paintEvent ( TQPaintEvent * );
void setGradientResource( KisAutogradientResource* agr);
KisGradientSegment* selectedSegment() { return m_selectedSegment; };
@@ -44,10 +45,10 @@ signals:
void sigChangedSegment(KisGradientSegment*);
protected:
- virtual void mousePressEvent( QMouseEvent * e );
- virtual void mouseReleaseEvent ( QMouseEvent * e );
- virtual void mouseMoveEvent( QMouseEvent * e );
- virtual void contextMenuEvent( QContextMenuEvent * e );
+ virtual void mousePressEvent( TQMouseEvent * e );
+ virtual void mouseReleaseEvent ( TQMouseEvent * e );
+ virtual void mouseMoveEvent( TQMouseEvent * e );
+ virtual void contextMenuEvent( TQContextMenuEvent * e );
private slots:
void slotMenuAction(int id);