summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_gradient_slider_widget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/ui/kis_gradient_slider_widget.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);