summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/pcolorbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/pcolorbutton.h')
-rw-r--r--lib/widgets/propeditor/pcolorbutton.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/widgets/propeditor/pcolorbutton.h b/lib/widgets/propeditor/pcolorbutton.h
index 8c2ec49d..04126a50 100644
--- a/lib/widgets/propeditor/pcolorbutton.h
+++ b/lib/widgets/propeditor/pcolorbutton.h
@@ -26,7 +26,7 @@
class KColorButton;
#else
class QPushButton;
-#include <qcolor.h>
+#include <tqcolor.h>
#endif
namespace PropertyLib{
@@ -37,14 +37,14 @@ class PColorButton: public PropertyWidget
{
Q_OBJECT
public:
- PColorButton(MultiProperty *property, QWidget *parent = 0, const char *name = 0);
+ PColorButton(MultiProperty *property, TQWidget *parent = 0, const char *name = 0);
- virtual QVariant value() const;
- virtual void drawViewer(QPainter* p, const QColorGroup& cg, const QRect& r, const QVariant& value);
- virtual void setValue(const QVariant& value, bool emitChange);
+ virtual TQVariant value() const;
+ virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value);
+ virtual void setValue(const TQVariant& value, bool emitChange);
protected slots:
- void updateProperty(const QColor& color);
+ void updateProperty(const TQColor& color);
void changeColor();
@@ -52,8 +52,8 @@ private:
#ifndef PURE_QT
KColorButton *m_edit;
#else
- QPushButton *m_edit;
- QColor m_color;
+ TQPushButton *m_edit;
+ TQColor m_color;
#endif
};