summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox2.cpp
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.cpp
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.cpp')
-rw-r--r--kalarm/lib/spinbox2.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kalarm/lib/spinbox2.cpp b/kalarm/lib/spinbox2.cpp
index 48b88d51c..db74cc595 100644
--- a/kalarm/lib/spinbox2.cpp
+++ b/kalarm/lib/spinbox2.cpp
@@ -142,7 +142,7 @@ void SpinBox2::setLineStep(int step)
{
mLineStep = step;
if (reverseButtons())
- mUpdown2->setLineStep(step); // reverse layout, but still set the right buttons
+ mUpdown2->setLineStep(step); // reverse tqlayout, but still set the right buttons
else
mSpinbox->setLineStep(step);
}
@@ -153,7 +153,7 @@ void SpinBox2::setSteps(int line, int page)
mPageStep = page;
if (reverseButtons())
{
- mUpdown2->setLineStep(line); // reverse layout, but still set the right buttons
+ mUpdown2->setLineStep(line); // reverse tqlayout, but still set the right buttons
mSpinbox->setLineStep(page);
}
else
@@ -169,7 +169,7 @@ void SpinBox2::setShiftSteps(int line, int page)
mPageShiftStep = page;
if (reverseButtons())
{
- mUpdown2->setLineShiftStep(line); // reverse layout, but still set the right buttons
+ mUpdown2->setLineShiftStep(line); // reverse tqlayout, but still set the right buttons
mSpinbox->setLineShiftStep(page);
}
else
@@ -225,18 +225,18 @@ void SpinBox2::showEvent(TQShowEvent*)
arrange();
}
-TQSize SpinBox2::sizeHint() const
+TQSize SpinBox2::tqsizeHint() const
{
getMetrics();
- TQSize size = mSpinbox->sizeHint();
+ TQSize size = mSpinbox->tqsizeHint();
size.setWidth(size.width() - xSpinbox + wUpdown2 + wGap);
return size;
}
-TQSize SpinBox2::minimumSizeHint() const
+TQSize SpinBox2::tqminimumSizeHint() const
{
getMetrics();
- TQSize size = mSpinbox->minimumSizeHint();
+ TQSize size = mSpinbox->tqminimumSizeHint();
size.setWidth(size.width() - xSpinbox + wUpdown2 + wGap);
return size;
}
@@ -251,7 +251,7 @@ void SpinBox2::styleChange(TQStyle&)
}
/******************************************************************************
-* Called when the extra pair of spin buttons has repainted after a style change.
+* Called when the extra pair of spin buttons has tqrepainted after a style change.
* Updates the mirror image of the spin buttons.
*/
void SpinBox2::updateMirror()
@@ -265,14 +265,14 @@ void SpinBox2::updateMirror()
void SpinBox2::arrange()
{
getMetrics();
- TQRect arrowRect = TQStyle::visualRect(TQRect(0, 0, wUpdown2, height()), this);
+ TQRect arrowRect = TQStyle::tqvisualRect(TQRect(0, 0, wUpdown2, height()), this);
mUpdown2Frame->setGeometry(arrowRect);
mUpdown2->setGeometry(-xUpdown2, 0, mUpdown2->width(), height());
- mSpinboxFrame->setGeometry(TQStyle::visualRect(TQRect(wUpdown2 + wGap, 0, width() - wUpdown2 - wGap, height()), this));
+ mSpinboxFrame->setGeometry(TQStyle::tqvisualRect(TQRect(wUpdown2 + wGap, 0, width() - wUpdown2 - wGap, height()), this));
mSpinbox->setGeometry(-xSpinbox, 0, mSpinboxFrame->width() + xSpinbox, height());
mSpinMirror->resize(wUpdown2, mUpdown2->height());
mSpinMirror->setGeometry(arrowRect);
-//mSpinMirror->setGeometry(TQStyle::visualRect(TQRect(0, 11, wUpdown2, height()), this));
+//mSpinMirror->setGeometry(TQStyle::tqvisualRect(TQRect(0, 11, wUpdown2, height()), this));
mSpinMirror->setNormalButtons(TQPixmap::grabWidget(mUpdown2Frame, 0, 0));
}