summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox2.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/spinbox2.h')
-rw-r--r--kalarm/lib/spinbox2.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/lib/spinbox2.h b/kalarm/lib/spinbox2.h
index 4391fbb9c..14c2f16e1 100644
--- a/kalarm/lib/spinbox2.h
+++ b/kalarm/lib/spinbox2.h
@@ -115,8 +115,8 @@ class SpinBox2 : public TQFrame
*/
bool wrapping() const { return mSpinbox->wrapping(); }
- /** Set the text tqalignment of the widget */
- void tqsetAlignment(int a) { mSpinbox->tqsetAlignment(a); }
+ /** Set the text alignment of the widget */
+ void setAlignment(int a) { mSpinbox->setAlignment(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). */
@@ -131,8 +131,8 @@ class SpinBox2 : public TQFrame
*/
const TQValidator* validator() const { return mSpinbox->validator(); }
- virtual TQSize tqsizeHint() const;
- virtual TQSize tqminimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
/** Returns the minimum value of the spin box. */
int minValue() const { return mMinValue; }
@@ -149,13 +149,13 @@ class SpinBox2 : public TQFrame
/** Returns the specified value clamped to the range of the spin box. */
int bound(int val) const;
- /** Returns the tqgeometry of the right-hand "up" button. */
+ /** Returns the geometry of the right-hand "up" button. */
TQRect upRect() const { return mSpinbox->upRect(); }
- /** Returns the tqgeometry of the right-hand "down" button. */
+ /** Returns the geometry of the right-hand "down" button. */
TQRect downRect() const { return mSpinbox->downRect(); }
- /** Returns the tqgeometry of the left-hand "up" button. */
+ /** Returns the geometry of the left-hand "up" button. */
TQRect up2Rect() const;
- /** Returns the tqgeometry of the left-hand "down" button. */
+ /** Returns the geometry of the left-hand "down" button. */
TQRect down2Rect() const;
/** Returns the unshifted step increment for the right-hand spin buttons,
@@ -286,7 +286,7 @@ class SpinBox2 : public TQFrame
: 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 tqsetAlignment(int a) { editor()->tqsetAlignment(a); }
+ void setAlignment(int a) { editor()->setAlignment(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); }
@@ -310,7 +310,7 @@ class SpinBox2 : public TQFrame
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 tqlayout (default = true)
+ bool mReverseWithLayout; // reverse button positions if reverse layout (default = true)
friend class MainSpinBox;
};