summaryrefslogtreecommitdiffstats
path: root/kicker/applets/run/runapplet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:29:23 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:26:26 +0200
commit6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (patch)
treeb3de8cec6a2df2306a13d2d884ea95a8f0c207d2 /kicker/applets/run/runapplet.cpp
parent6ca5e6d65a74d794637953bfea85c42e3bf828dd (diff)
downloadtdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.tar.gz
tdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 628043be55ddd2f534411d028e4f68c8fe4eaabb)
Diffstat (limited to 'kicker/applets/run/runapplet.cpp')
-rw-r--r--kicker/applets/run/runapplet.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kicker/applets/run/runapplet.cpp b/kicker/applets/run/runapplet.cpp
index 8f441a397..fb7ac107b 100644
--- a/kicker/applets/run/runapplet.cpp
+++ b/kicker/applets/run/runapplet.cpp
@@ -121,14 +121,14 @@ void RunApplet::resizeEvent(TQResizeEvent*)
_input->reparent(this, TQPoint(0,0), true);
_label->setGeometry(0,0, width(), _label->height());
- if(height() >= _input->tqsizeHint().height() + _label->height())
+ if(height() >= _input->sizeHint().height() + _label->height())
{
- int inputVOffset = height() - _input->tqsizeHint().height() - 2;
- int labelHeight = _label->tqsizeHint().height();
+ int inputVOffset = height() - _input->sizeHint().height() - 2;
+ int labelHeight = _label->sizeHint().height();
_label->setGeometry(0, inputVOffset - labelHeight,
width(), labelHeight);
_input->setGeometry(0, inputVOffset,
- width(), _input->tqsizeHint().height());
+ width(), _input->sizeHint().height());
_label->show();
}
else
@@ -138,7 +138,7 @@ void RunApplet::resizeEvent(TQResizeEvent*)
// make it as high as the combobox naturally wants to be
// but no taller than the panel is!
// don't forget to center it vertically either.
- int newHeight = _input->tqsizeHint().height();
+ int newHeight = _input->sizeHint().height();
if (newHeight > height())
newHeight = height();
_input->setGeometry(0, (height() - newHeight) / 2,
@@ -184,7 +184,7 @@ void RunApplet::setButtonText()
int RunApplet::widthForHeight(int ) const
{
- return _label->tqsizeHint().width();
+ return _label->sizeHint().width();
}
int RunApplet::heightForWidth(int ) const