summaryrefslogtreecommitdiffstats
path: root/kicker-applets/kolourpicker/simplebutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/kolourpicker/simplebutton.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/kolourpicker/simplebutton.h')
-rw-r--r--kicker-applets/kolourpicker/simplebutton.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kicker-applets/kolourpicker/simplebutton.h b/kicker-applets/kolourpicker/simplebutton.h
index 5423dff..1ea5c7a 100644
--- a/kicker-applets/kolourpicker/simplebutton.h
+++ b/kicker-applets/kolourpicker/simplebutton.h
@@ -21,8 +21,8 @@
#ifndef SIMPLEBUTTON_H
#define SIMPLEBUTTON_H
-#include <qbutton.h>
-#include <qpixmap.h>
+#include <tqbutton.h>
+#include <tqpixmap.h>
#include <kdemacros.h>
@@ -31,20 +31,20 @@ class KDE_EXPORT SimpleButton : public QButton
Q_OBJECT
public:
- SimpleButton(QWidget *parent, const char *name = 0);
- void setPixmap(const QPixmap &pix);
+ SimpleButton(TQWidget *parent, const char *name = 0);
+ void setPixmap(const TQPixmap &pix);
void setOrientation(Qt::Orientation orientaton);
- QSize sizeHint() const;
- QSize minimumSizeHint() const;
+ TQSize sizeHint() const;
+ TQSize minimumSizeHint() const;
protected:
- void drawButton( QPainter *p );
- void drawButtonLabel( QPainter *p );
+ void drawButton( TQPainter *p );
+ void drawButtonLabel( TQPainter *p );
void generateIcons();
- void enterEvent( QEvent *e );
- void leaveEvent( QEvent *e );
- void resizeEvent( QResizeEvent *e );
+ void enterEvent( TQEvent *e );
+ void leaveEvent( TQEvent *e );
+ void resizeEvent( TQResizeEvent *e );
protected slots:
virtual void slotSettingsChanged( int category );
@@ -52,9 +52,9 @@ class KDE_EXPORT SimpleButton : public QButton
private:
bool m_highlight;
- QPixmap m_normalIcon;
- QPixmap m_activeIcon;
- QPixmap m_disabledIcon;
+ TQPixmap m_normalIcon;
+ TQPixmap m_activeIcon;
+ TQPixmap m_disabledIcon;
Qt::Orientation m_orientation;
class SimpleButtonPrivate;
SimpleButtonPrivate* d;
@@ -65,14 +65,14 @@ class KDE_EXPORT SimpleArrowButton: public SimpleButton
Q_OBJECT
public:
- SimpleArrowButton(QWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0);
+ SimpleArrowButton(TQWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0);
virtual ~SimpleArrowButton() {};
- QSize sizeHint() const;
+ TQSize sizeHint() const;
protected:
- virtual void enterEvent( QEvent *e );
- virtual void leaveEvent( QEvent *e );
- virtual void drawButton(QPainter *p);
+ virtual void enterEvent( TQEvent *e );
+ virtual void leaveEvent( TQEvent *e );
+ virtual void drawButton(TQPainter *p);
Qt::ArrowType arrowType() const;
public slots: