summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox2.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kalarm/lib/spinbox2.h
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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 14c2f16e1..4391fbb9c 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 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). */
@@ -131,8 +131,8 @@ class SpinBox2 : public TQFrame
*/
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; }
@@ -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 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,
@@ -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 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); }
@@ -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 layout (default = true)
+ bool mReverseWithLayout; // reverse button positions if reverse tqlayout (default = true)
friend class MainSpinBox;
};