From f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:38:41 -0600 Subject: Remove additional unneeded tq method conversions --- kexi/main/kexistatusbar.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kexi/main/kexistatusbar.cpp') 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 #include -#if KexiStatusBar_KTEXTEDITOR_USED +#if KexitStatusBar_KTEXTEDITOR_USED #include #include #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); } -- cgit v1.2.1