diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kexi/main/kexistatusbar.cpp | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kexi/main/kexistatusbar.cpp')
-rw-r--r-- | kexi/main/kexistatusbar.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kexi/main/kexistatusbar.cpp b/kexi/main/kexistatusbar.cpp index 439c20b6..02778208 100644 --- a/kexi/main/kexistatusbar.cpp +++ b/kexi/main/kexistatusbar.cpp @@ -33,14 +33,14 @@ #include <klocale.h> #include <kparts/part.h> -#if KexiStatusBar_KTEXTEDITOR_USED +#if KexitStatusBar_KTEXTEDITOR_USED #include <ktexteditor/viewcursorinterface.h> #include <ktexteditor/viewstatusmsginterface.h> #endif -KexiStatusBar::KexiStatusBar(TQWidget *parent, const char *name) +KexitStatusBar::KexitStatusBar(TQWidget *parent, const char *name) : KStatusBar(parent, name) -#if KexiStatusBar_KTEXTEDITOR_USED +#if KexitStatusBar_KTEXTEDITOR_USED , m_cursorIface(0) #endif , m_activePart(0) @@ -61,17 +61,17 @@ KexiStatusBar::KexiStatusBar(TQWidget *parent, const char *name) } -KexiStatusBar::~KexiStatusBar() +KexitStatusBar::~KexitStatusBar() { } -void KexiStatusBar::activePartChanged(KParts::Part *part) +void KexitStatusBar::activePartChanged(KParts::Part *part) { if ( m_activePart && m_activePart->widget() ) disconnect( m_activePart->widget(), 0, this, 0 ); m_activePart = part; -#if KexiStatusBar_KTEXTEDITOR_USED +#if KexitStatusBar_KTEXTEDITOR_USED m_cursorIface = 0; m_viewmsgIface = 0; // @todo @@ -98,9 +98,9 @@ void KexiStatusBar::activePartChanged(KParts::Part *part) } -void KexiStatusBar::cursorPositionChanged() +void KexitStatusBar::cursorPositionChanged() { -#if KexiStatusBar_KTEXTEDITOR_USED +#if KexitStatusBar_KTEXTEDITOR_USED if (m_cursorIface) { uint line, col; @@ -110,9 +110,9 @@ void KexiStatusBar::cursorPositionChanged() #endif } -void KexiStatusBar::setStatus(const TQString &str) +void KexitStatusBar::setStatus(const TQString &str) { - kdDebug() << "KexiStatusBar::setStatus(" << str << ")" << endl; + kdDebug() << "KexitStatusBar::setStatus(" << str << ")" << endl; // m_status->setText(str); changeItem(str, m_msgID); @@ -123,13 +123,13 @@ void KexiStatusBar::setStatus(const TQString &str) #endif } -void KexiStatusBar::setCursorPosition(int line, int col) +void KexitStatusBar::setCursorPosition(int line, int col) { -// m_status->setText(i18n(" Line: %1 Col: %2 ").tqarg(line+1).tqarg(col)); - changeItem(i18n(" Line: %1 Col: %2 ").tqarg(line+1).tqarg(col), m_msgID); +// m_status->setText(i18n(" Line: %1 Col: %2 ").arg(line+1).arg(col)); + changeItem(i18n(" Line: %1 Col: %2 ").arg(line+1).arg(col), m_msgID); } -/*void KexiStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent) +/*void KexitStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent) { KStatusBar::addWidget(widget,stretch,permanent); @@ -137,7 +137,7 @@ void KexiStatusBar::setCursorPosition(int line, int col) setFixedHeight(widget->sizeHint().height() + 4); }*/ -void KexiStatusBar::setReadOnlyFlag(bool readOnly) +void KexitStatusBar::setReadOnlyFlag(bool readOnly) { changeItem(readOnly ? i18n("Read only") : TQString(), m_readOnlyID); } |