summaryrefslogtreecommitdiffstats
path: root/kexi/main/kexistatusbar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kexi/main/kexistatusbar.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kexi/main/kexistatusbar.cpp')
-rw-r--r--kexi/main/kexistatusbar.cpp14
1 files changed, 7 insertions, 7 deletions
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 <layout.h>
+#include <tqlayout.h>
#include <tqlineedit.h>
#include <tqpainter.h>
#include <tqtimer.h>
@@ -78,7 +78,7 @@ void KexiStatusBar::activePartChanged(KParts::Part *part)
if (part && part->widget()) {
if ((m_viewmsgIface = dynamic_cast<KTextEditor::ViewStatusMsgInterface*>(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)