From 1d077caf68127ab1a5518df84cc5592a1b47a965 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 14 Aug 2011 05:14:51 +0000 Subject: TQt4 port kdeartwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin-styles/riscos/Button.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kwin-styles/riscos/Button.h') diff --git a/kwin-styles/riscos/Button.h b/kwin-styles/riscos/Button.h index fc29e205..0c7c66c5 100644 --- a/kwin-styles/riscos/Button.h +++ b/kwin-styles/riscos/Button.h @@ -31,9 +31,10 @@ namespace RiscOS { -class Button : public QWidget +class Button : public TQWidget { Q_OBJECT + TQ_OBJECT public: @@ -42,12 +43,12 @@ class Button : public QWidget enum Alignment { Left, Right }; Button(TQWidget *parent, const TQString &tip, - const ButtonState realizeButton = LeftButton); + const ButtonState realizeButton = Qt::LeftButton); virtual ~Button(); - void setAlignment(Alignment); + void tqsetAlignment(Alignment); - Alignment alignment() const; + Alignment tqalignment() const; protected slots: -- cgit v1.2.1