diff options
Diffstat (limited to 'src/basketstatusbar.cpp')
-rw-r--r-- | src/basketstatusbar.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/basketstatusbar.cpp b/src/basketstatusbar.cpp index f91795c..42127cf 100644 --- a/src/basketstatusbar.cpp +++ b/src/basketstatusbar.cpp @@ -66,13 +66,13 @@ void BasketStatusBar::addWidget(TQWidget * widget, int stretch, bool permanent) void BasketStatusBar::setupStatusBar() { - TQWidget* tqparent = statusBar(); - TQObjectList* lst = tqparent->queryList("KRSqueezedTextLabel"); + TQWidget* parent = statusBar(); + TQObjectList* lst = parent->queryList("KRSqueezedTextLabel"); - //Tools::printChildren(tqparent); + //Tools::printChildren(parent); if(lst->count() == 0) { - m_baskettqStatus = new TQLabel(tqparent); + m_baskettqStatus = new TQLabel(parent); m_baskettqStatus->tqsetSizePolicy( TQSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored, 0, 0, false) ); addWidget( m_baskettqStatus, 1, false ); // Fit all extra space and is hiddable } @@ -80,7 +80,7 @@ void BasketStatusBar::setupStatusBar() m_baskettqStatus = static_cast<TQLabel*>(TQT_TQWIDGET(lst->at(0))); delete lst; - m_selectiontqStatus = new TQLabel(i18n("Loading..."), tqparent); + m_selectiontqStatus = new TQLabel(i18n("Loading..."), parent); addWidget( m_selectiontqStatus, 0, true ); m_locktqStatus = new ClickableLabel(0/*this*/); @@ -90,7 +90,7 @@ void BasketStatusBar::setupStatusBar() connect( m_locktqStatus, TQT_SIGNAL(clicked()), Global::bnpView, TQT_SLOT(lockBasket()) ); m_savedStatusPixmap = SmallIcon("filesave"); - m_savedtqStatus = new TQLabel(tqparent); + m_savedtqStatus = new TQLabel(parent); m_savedtqStatus->setPixmap(m_savedStatusPixmap); m_savedtqStatus->setFixedSize(m_savedtqStatus->tqsizeHint()); m_savedtqStatus->clear(); |