summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_gradient_chooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_gradient_chooser.h')
-rw-r--r--krita/ui/kis_gradient_chooser.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/krita/ui/kis_gradient_chooser.h b/krita/ui/kis_gradient_chooser.h
index 5b6d7226..fc154f3c 100644
--- a/krita/ui/kis_gradient_chooser.h
+++ b/krita/ui/kis_gradient_chooser.h
@@ -22,17 +22,18 @@
#include "kis_itemchooser.h"
-class QLabel;
-class QPushButton;
+class TQLabel;
+class TQPushButton;
class KisView;
class KisCustomGradientDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- KisCustomGradientDialog(KisView * view, QWidget * parent, const char *name);
+ KisCustomGradientDialog(KisView * view, TQWidget * tqparent, const char *name);
private:
@@ -43,18 +44,19 @@ private:
class KisGradientChooser : public KisItemChooser {
typedef KisItemChooser super;
Q_OBJECT
+ TQ_OBJECT
public:
// XXX: On library redesign, remove m_view parameter here, it's just a temporary hack for the autogradient dialog!
- KisGradientChooser(KisView * view, QWidget *parent = 0, const char *name = 0);
+ KisGradientChooser(KisView * view, TQWidget *tqparent = 0, const char *name = 0);
virtual ~KisGradientChooser();
protected:
virtual void update(KoIconItem *item);
private:
- QLabel *m_lbName;
- QPushButton * m_customGradient;
+ TQLabel *m_lbName;
+ TQPushButton * m_customGradient;
};
#endif // KIS_GRADIENT_CHOOSER_H_