summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/simplebutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/libkicker/simplebutton.h')
-rw-r--r--kicker/libkicker/simplebutton.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/kicker/libkicker/simplebutton.h b/kicker/libkicker/simplebutton.h
index bbfcbd79d..7f1718273 100644
--- a/kicker/libkicker/simplebutton.h
+++ b/kicker/libkicker/simplebutton.h
@@ -28,12 +28,12 @@
class KDE_EXPORT SimpleButton : public TQButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
SimpleButton(TQWidget *parent, const char *name = 0, bool forceStandardCursor = FALSE);
void setPixmap(const TQPixmap &pix);
- void setOrientation(Qt::Orientation orientaton);
+ void setOrientation(TQt::Orientation orientaton);
TQSize sizeHint() const;
TQSize minimumSizeHint() const;
@@ -55,7 +55,7 @@ class KDE_EXPORT SimpleButton : public TQButton
TQPixmap m_normalIcon;
TQPixmap m_activeIcon;
TQPixmap m_disabledIcon;
- Qt::Orientation m_orientation;
+ TQt::Orientation m_orientation;
bool m_forceStandardCursor;
class SimpleButtonPrivate;
SimpleButtonPrivate* d;
@@ -63,10 +63,10 @@ class KDE_EXPORT SimpleButton : public TQButton
class KDE_EXPORT SimpleArrowButton: public SimpleButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
- SimpleArrowButton(TQWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0, bool forceStandardCursor = FALSE);
+ SimpleArrowButton(TQWidget *parent = 0, TQt::ArrowType arrow = TQt::UpArrow, const char *name = 0, bool forceStandardCursor = FALSE);
virtual ~SimpleArrowButton() {};
TQSize sizeHint() const;
@@ -74,18 +74,16 @@ class KDE_EXPORT SimpleArrowButton: public SimpleButton
virtual void enterEvent( TQEvent *e );
virtual void leaveEvent( TQEvent *e );
virtual void drawButton(TQPainter *p);
- Qt::ArrowType arrowType() const;
+ TQt::ArrowType arrowType() const;
public slots:
- void setArrowType(Qt::ArrowType a);
+ void setArrowType(TQt::ArrowType a);
private:
- Qt::ArrowType _arrow;
+ TQt::ArrowType _arrow;
bool m_forceStandardCursor;
bool _inside;
};
#endif // HIDEBUTTON_H
-
-// vim:ts=4:sw=4:et