summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-quickbar/quickbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/gui-quickbar/quickbar.cpp')
-rw-r--r--kradio3/plugins/gui-quickbar/quickbar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kradio3/plugins/gui-quickbar/quickbar.cpp b/kradio3/plugins/gui-quickbar/quickbar.cpp
index eee163e..ca1d4d8 100644
--- a/kradio3/plugins/gui-quickbar/quickbar.cpp
+++ b/kradio3/plugins/gui-quickbar/quickbar.cpp
@@ -303,7 +303,7 @@ void QuickBar::rebuildGUI()
else
b->setText(m_showShortName ? rs.shortName() : rs.name());
- b->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred));
+ b->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred));
TQToolTip::add(b, rs.longName());
if (isVisible()) b->show();
@@ -316,9 +316,9 @@ void QuickBar::rebuildGUI()
// activate correct button
activateCurrentButton();
- // calculate geometry
+ // calculate tqgeometry
if (m_layout) {
- TQRect r = geometry();
+ TQRect r = tqgeometry();
int h = m_layout->heightForWidth( r.width());
if (h > r.height())
@@ -367,7 +367,7 @@ void QuickBar::setGeometry (int x, int y, int w, int h)
{
if (m_layout) {
TQSize marginSize(m_layout->margin()*2, m_layout->margin()*2);
- setMinimumSize(m_layout->minimumSize(TQSize(w, h) - marginSize) + marginSize);
+ setMinimumSize(m_layout->tqminimumSize(TQSize(w, h) - marginSize) + marginSize);
}
TQWidget::setGeometry (x, y, w, h);
}
@@ -381,10 +381,10 @@ void QuickBar::setGeometry (const TQRect &r)
void QuickBar::resizeEvent (TQResizeEvent *e)
{
- // minimumSize might change because of the flow layout
+ // tqminimumSize might change because of the flow tqlayout
if (m_layout) {
TQSize marginSize(m_layout->margin()*2, m_layout->margin()*2);
- setMinimumSize(m_layout->minimumSize(e->size() - marginSize) + marginSize);
+ setMinimumSize(m_layout->tqminimumSize(e->size() - marginSize) + marginSize);
}
TQWidget::resizeEvent (e);