summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox2private.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/spinbox2private.h')
-rw-r--r--kalarm/lib/spinbox2private.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/kalarm/lib/spinbox2private.h b/kalarm/lib/spinbox2private.h
index d25579f9d..ec7d2d16f 100644
--- a/kalarm/lib/spinbox2private.h
+++ b/kalarm/lib/spinbox2private.h
@@ -1,5 +1,5 @@
/*
- * spinbox2private.h - private classes for SpinBox2 (for Qt 3)
+ * spinbox2private.h - private classes for SpinBox2 (for TQt 3)
* Program: kalarm
* Copyright © 2005,2006,2008 by David Jarvie <djarvie@kde.org>
*
@@ -34,11 +34,12 @@
class ExtraSpinBox : public SpinBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- explicit ExtraSpinBox(TQWidget* parent, const char* name = 0)
- : SpinBox(parent, name), mNewStylePending(false) { }
- ExtraSpinBox(int minValue, int maxValue, int step, TQWidget* parent, const char* name = 0)
- : SpinBox(minValue, maxValue, step, parent, name), mNewStylePending(false) { }
+ explicit ExtraSpinBox(TQWidget* tqparent, const char* name = 0)
+ : SpinBox(tqparent, name), mNewStylePending(false) { }
+ ExtraSpinBox(int minValue, int maxValue, int step, TQWidget* tqparent, const char* name = 0)
+ : SpinBox(minValue, maxValue, step, tqparent, name), mNewStylePending(false) { }
signals:
void styleUpdated();
protected:
@@ -57,11 +58,12 @@ class ExtraSpinBox : public SpinBox
* Mirroring in this way allows styles with rounded corners to display correctly.
=============================================================================*/
-class SpinMirror : public QCanvasView
+class SpinMirror : public TQCanvasView
{
Q_OBJECT
+ TQ_OBJECT
public:
- explicit SpinMirror(SpinBox*, TQFrame* spinFrame, TQWidget* parent = 0, const char* name = 0);
+ explicit SpinMirror(SpinBox*, TQFrame* spinFrame, TQWidget* tqparent = 0, const char* name = 0);
void setReadOnly(bool ro) { mReadOnly = ro; }
bool isReadOnly() const { return mReadOnly; }
void setNormalButtons(const TQPixmap&);