summaryrefslogtreecommitdiffstats
path: root/src/statusbar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/statusbar.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
Diffstat (limited to 'src/statusbar.cpp')
-rw-r--r--src/statusbar.cpp14
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_ + ' ');
}