From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kexi/main/kexistatusbar.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kexi/main/kexistatusbar.cpp') diff --git a/kexi/main/kexistatusbar.cpp b/kexi/main/kexistatusbar.cpp index ab6fffab..e4bfd580 100644 --- a/kexi/main/kexistatusbar.cpp +++ b/kexi/main/kexistatusbar.cpp @@ -22,7 +22,7 @@ #include "kexistatusbar.h" -#include +#include #include #include #include @@ -78,7 +78,7 @@ void KexiStatusBar::activePartChanged(KParts::Part *part) if (part && part->widget()) { if ((m_viewmsgIface = dynamic_cast(part->widget()))) { connect( part->widget(), TQT_SIGNAL( viewStatusMsg( const TQString & ) ), - this, TQT_SLOT( setStatus( const TQString & ) ) ); + this, TQT_SLOT( settqStatus( const TQString & ) ) ); # if TDE_VERSION < KDE_MAKE_VERSION(3,1,90) changeItem(m_map[ m_activePart ], m_msgID); @@ -110,7 +110,7 @@ void KexiStatusBar::cursorPositionChanged() #endif } -void KexiStatusBar::setStatus(const TQString &str) +void KexiStatusBar::settqStatus(const TQString &str) { kdDebug() << "KexiStatusBar::setStatus(" << str << ")" << endl; // m_status->setText(str); @@ -125,16 +125,16 @@ void KexiStatusBar::setStatus(const TQString &str) void KexiStatusBar::setCursorPosition(int line, int col) { -// 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); +// 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); } /*void KexiStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent) { KStatusBar::addWidget(widget,stretch,permanent); - if(widget->sizeHint().height() + 4 > height()) - setFixedHeight(widget->sizeHint().height() + 4); + if(widget->tqsizeHint().height() + 4 > height()) + setFixedHeight(widget->tqsizeHint().height() + 4); }*/ void KexiStatusBar::setReadOnlyFlag(bool readOnly) -- cgit v1.2.1