summaryrefslogtreecommitdiffstats
path: root/src/statusbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statusbar.cpp')
-rw-r--r--src/statusbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/statusbar.cpp b/src/statusbar.cpp
index b730d55a..31ec4f55 100644
--- a/src/statusbar.cpp
+++ b/src/statusbar.cpp
@@ -36,7 +36,7 @@ KDevStatusBar::KDevStatusBar(TQWidget *parent, const char *name)
_status = new TQLabel( this );
_status->setMinimumWidth(_status->fontMetrics().width("Line: XXXXX Col: XXX OVR NORM * "));
- _status->tqsetAlignment(TQWidget::AlignCenter);
+ _status->setAlignment(TQWidget::AlignCenter);
addWidget(_status, 0, true);
connect(PartController::getInstance(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
@@ -61,7 +61,7 @@ void KDevStatusBar::activePartChanged(KParts::Part *part)
if ((_viewmsgIface = dynamic_cast<KTextEditor::ViewStatusMsgInterface*>(part->widget())))
{
connect( part->widget(), TQT_SIGNAL( viewStatusMsg( const TQString & ) ),
- this, TQT_SLOT( settqStatus( const TQString & ) ) );
+ this, TQT_SLOT( setStatus( const TQString & ) ) );
_status->show();
}
@@ -90,7 +90,7 @@ void KDevStatusBar::cursorPositionChanged()
}
}
-void KDevStatusBar::settqStatus(const TQString &str)
+void KDevStatusBar::setStatus(const TQString &str)
{
_status->setText(str);
}
@@ -105,8 +105,8 @@ void KDevStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent)
{
KStatusBar::addWidget(widget,stretch,permanent);
- if(widget->tqsizeHint().height() + 4 > height())
- setFixedHeight(widget->tqsizeHint().height() + 4);
+ if(widget->sizeHint().height() + 4 > height())
+ setFixedHeight(widget->sizeHint().height() + 4);
}
#include "statusbar.moc"