summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox2.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kalarm/lib/spinbox2.h
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/spinbox2.h')
-rw-r--r--kalarm/lib/spinbox2.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kalarm/lib/spinbox2.h b/kalarm/lib/spinbox2.h
index 06a48d1af..b1d2927d4 100644
--- a/kalarm/lib/spinbox2.h
+++ b/kalarm/lib/spinbox2.h
@@ -114,8 +114,8 @@ class SpinBox2 : public QFrame
*/
bool wrapping() const { return mSpinbox->wrapping(); }
- /** Set the text alignment of the widget */
- void setAlignment(int a) { mSpinbox->setAlignment(a); }
+ /** Set the text tqalignment of the widget */
+ void tqsetAlignment(int a) { mSpinbox->tqsetAlignment(a); }
/** Sets the button symbols to use (arrows or plus/minus). */
virtual void setButtonSymbols(TQSpinBox::ButtonSymbols);
/** Returns the button symbols currently in use (arrows or plus/minus). */
@@ -130,8 +130,8 @@ class SpinBox2 : public QFrame
*/
const TQValidator* validator() const { return mSpinbox->validator(); }
- virtual TQSize sizeHint() const;
- virtual TQSize minimumSizeHint() const;
+ virtual TQSize tqsizeHint() const;
+ virtual TQSize tqminimumSizeHint() const;
/** Returns the minimum value of the spin box. */
int minValue() const { return mMinValue; }
@@ -148,13 +148,13 @@ class SpinBox2 : public QFrame
/** Returns the specified value clamped to the range of the spin box. */
int bound(int val) const;
- /** Returns the geometry of the right-hand "up" button. */
+ /** Returns the tqgeometry of the right-hand "up" button. */
TQRect upRect() const { return mSpinbox->upRect(); }
- /** Returns the geometry of the right-hand "down" button. */
+ /** Returns the tqgeometry of the right-hand "down" button. */
TQRect downRect() const { return mSpinbox->downRect(); }
- /** Returns the geometry of the left-hand "up" button. */
+ /** Returns the tqgeometry of the left-hand "up" button. */
TQRect up2Rect() const;
- /** Returns the geometry of the left-hand "down" button. */
+ /** Returns the tqgeometry of the left-hand "down" button. */
TQRect down2Rect() const;
/** Returns the unshifted step increment for the right-hand spin buttons,
@@ -285,7 +285,7 @@ class SpinBox2 : public QFrame
: SpinBox(parent, name), owner(sb2) { }
MainSpinBox(int minValue, int maxValue, int step, SpinBox2* sb2, TQWidget* parent, const char* name = 0)
: SpinBox(minValue, maxValue, step, parent, name), owner(sb2) { }
- void setAlignment(int a) { editor()->setAlignment(a); }
+ void tqsetAlignment(int a) { editor()->tqsetAlignment(a); }
virtual TQString mapValueToText(int v) { return owner->mapValueToText(v); }
virtual int mapTextToValue(bool* ok) { return owner->mapTextToValue(ok); }
TQString mapValToText(int v) { return SpinBox::mapValueToText(v); }
@@ -298,8 +298,8 @@ class SpinBox2 : public QFrame
enum { NO_BUTTON = -1, UP, DOWN, UP2, DOWN2 };
static int mReverseLayout; // widgets are mirrored right to left
- TQFrame* mUpdown2Frame; // contains visible part of the extra pair of spin buttons
- TQFrame* mSpinboxFrame; // contains the main spin box
+ TQFrame* mUpdown2Frame; // tqcontains visible part of the extra pair of spin buttons
+ TQFrame* mSpinboxFrame; // tqcontains the main spin box
ExtraSpinBox* mUpdown2; // the extra pair of spin buttons
MainSpinBox* mSpinbox; // the visible spin box
SpinMirror* mSpinMirror; // image of the extra pair of spin buttons
@@ -309,7 +309,7 @@ class SpinBox2 : public QFrame
int mLineShiftStep; // right button increment with shift pressed
int mPageStep; // left button increment
int mPageShiftStep; // left button increment with shift pressed
- bool mReverseWithLayout; // reverse button positions if reverse layout (default = true)
+ bool mReverseWithLayout; // reverse button positions if reverse tqlayout (default = true)
friend class MainSpinBox;
};