diff options
Diffstat (limited to 'src/statusbar.cpp')
-rw-r--r-- | src/statusbar.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/statusbar.cpp b/src/statusbar.cpp index af8370e..c0e00a6 100644 --- a/src/statusbar.cpp +++ b/src/statusbar.cpp @@ -37,17 +37,17 @@ StatusBar::StatusBar(TQWidget* parent_) : KStatusBar(parent_) { // don't care about text and id m_mainLabel = new KStatusBarLabel(TQString(), 0, this); m_mainLabel->setIndent(4); - m_mainLabel->setAlignment(TQt::AlignLeft | TQt::AlignVCenter); + m_mainLabel->tqsetAlignment(TQt::AlignLeft | TQt::AlignVCenter); addWidget(m_mainLabel, 3 /*stretch*/, true /*permanent*/); m_countLabel = new KStatusBarLabel(TQString(), 1, this); - m_countLabel->setAlignment(TQt::AlignLeft | TQt::AlignVCenter); + m_countLabel->tqsetAlignment(TQt::AlignLeft | TQt::AlignVCenter); m_countLabel->setIndent(4); addWidget(m_countLabel, 0, true); m_progress = new GUI::Progress(100, this); addWidget(m_progress, 1, true); - m_cancelButton = new KPushButton(SmallIcon(TQString::fromLatin1("cancel")), TQString(), this); + m_cancelButton = new KPushButton(SmallIcon(TQString::tqfromLatin1("cancel")), TQString(), this); TQToolTip::add(m_cancelButton, i18n("Cancel")); addWidget(m_cancelButton, 0, true); m_progress->hide(); @@ -64,7 +64,7 @@ void StatusBar::polish() { int h = 0; TQObjectList* list = queryList(TQWIDGET_OBJECT_NAME_STRING, 0, false, false); for(TQObject* o = list->first(); o; o = list->next()) { - int _h = TQT_TQWIDGET(o)->minimumSizeHint().height(); + int _h = TQT_TQWIDGET(o)->tqminimumSizeHint().height(); if(_h > h) { h = _h; } @@ -79,11 +79,11 @@ void StatusBar::polish() { delete list; } -void StatusBar::clearStatus() { - setStatus(i18n("Ready.")); +void StatusBar::cleartqStatus() { + settqStatus(i18n("Ready.")); } -void StatusBar::setStatus(const TQString& status_) { +void StatusBar::settqStatus(const TQString& status_) { // always add a space for asthetics m_mainLabel->setText(status_ + ' '); } |