summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-quickbar
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:39:17 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:39:17 -0600
commitd9f7baa97dec2be4dd11726395eb704c837ce788 (patch)
treee94d72ba287986b45ad30d96dfab823dac60791d /kradio3/plugins/gui-quickbar
parent8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d (diff)
downloadtderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.tar.gz
tderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kradio3/plugins/gui-quickbar')
-rw-r--r--kradio3/plugins/gui-quickbar/buttonflowlayout.cpp8
-rw-r--r--kradio3/plugins/gui-quickbar/quickbar.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/kradio3/plugins/gui-quickbar/buttonflowlayout.cpp b/kradio3/plugins/gui-quickbar/buttonflowlayout.cpp
index 528f9c5..c13c0fa 100644
--- a/kradio3/plugins/gui-quickbar/buttonflowlayout.cpp
+++ b/kradio3/plugins/gui-quickbar/buttonflowlayout.cpp
@@ -219,7 +219,7 @@ int ButtonFlowLayout::doLayout( const TQRect &r, bool testonly )
TQSize ButtonFlowLayout::minimumSize() const
{
- return minimumSize(tqgeometry().size());
+ return minimumSize(geometry().size());
}
@@ -249,7 +249,7 @@ int ButtonFlowLayout::count() const {
\reimp
*/
TQLayoutItem* ButtonFlowLayout::itemAt(int index) const {
- return index >= 0 && index < list.count() ? (const_cast<TQPtrList<TQLayoutItem>&>(list).tqat(index)) : 0;
+ return index >= 0 && index < list.count() ? (const_cast<TQPtrList<TQLayoutItem>&>(list).at(index)) : 0;
}
/*!
@@ -258,8 +258,8 @@ TQLayoutItem* ButtonFlowLayout::itemAt(int index) const {
TQLayoutItem* ButtonFlowLayout::takeAt(int index) {
if (index < 0 || index >= list.count())
return 0;
- TQLayoutItem *item = list.tqat(index);
- list.remove(list.tqat(index));
+ TQLayoutItem *item = list.at(index);
+ list.remove(list.at(index));
delete item;
invalidate();
diff --git a/kradio3/plugins/gui-quickbar/quickbar.cpp b/kradio3/plugins/gui-quickbar/quickbar.cpp
index a5b0340..1848059 100644
--- a/kradio3/plugins/gui-quickbar/quickbar.cpp
+++ b/kradio3/plugins/gui-quickbar/quickbar.cpp
@@ -316,9 +316,9 @@ void QuickBar::rebuildGUI()
// activate correct button
activateCurrentButton();
- // calculate tqgeometry
+ // calculate geometry
if (m_layout) {
- TQRect r = tqgeometry();
+ TQRect r = geometry();
int h = m_layout->heightForWidth( r.width());
if (h > r.height())