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 b4e11769..e1f8f3b5 100644 --- a/src/statusbar.cpp +++ b/src/statusbar.cpp @@ -27,7 +27,7 @@ #include "statusbar.h" #include "partcontroller.h" -KDevStatusBar::KDevStatusBar(TQWidget *parent, const char *name) +TDevStatusBar::TDevStatusBar(TQWidget *parent, const char *name) : KStatusBar(parent, name), _cursorIface(0), _activePart(0) { TQWidget * w = new TQWidget( this ); @@ -44,10 +44,10 @@ KDevStatusBar::KDevStatusBar(TQWidget *parent, const char *name) } -KDevStatusBar::~KDevStatusBar() +TDevStatusBar::~TDevStatusBar() {} -void KDevStatusBar::activePartChanged(KParts::Part *part) +void TDevStatusBar::activePartChanged(KParts::Part *part) { if ( _activePart && _activePart->widget() ) disconnect( _activePart->widget(), 0, this, 0 ); @@ -80,7 +80,7 @@ void KDevStatusBar::activePartChanged(KParts::Part *part) } } -void KDevStatusBar::cursorPositionChanged() +void TDevStatusBar::cursorPositionChanged() { if (_cursorIface) { @@ -90,18 +90,18 @@ void KDevStatusBar::cursorPositionChanged() } } -void KDevStatusBar::setStatus(const TQString &str) +void TDevStatusBar::setStatus(const TQString &str) { _status->setText(str); } -void KDevStatusBar::setCursorPosition(int line, int col) +void TDevStatusBar::setCursorPosition(int line, int col) { _status->setText(i18n(" Line: %1 Col: %2 ").arg(line+1).arg(col)); } -void KDevStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent) +void TDevStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent) { KStatusBar::addWidget(widget,stretch,permanent); |