diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/lib/spinbox2private.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/spinbox2private.h')
-rw-r--r-- | kalarm/lib/spinbox2private.h | 16 |
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&); |