summaryrefslogtreecommitdiffstats
path: root/kwin-styles/riscos/Button.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin-styles/riscos/Button.h')
-rw-r--r--kwin-styles/riscos/Button.h9
1 files changed, 5 insertions, 4 deletions
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: