summaryrefslogtreecommitdiffstats
path: root/kexi/main/kexistatusbar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kexi/main/kexistatusbar.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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 e4bfd580..ab6fffab 100644
--- a/kexi/main/kexistatusbar.cpp
+++ b/kexi/main/kexistatusbar.cpp
@@ -22,7 +22,7 @@
#include "kexistatusbar.h"
-#include <tqlayout.h>
+#include <layout.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( settqStatus( const TQString & ) ) );
+ this, TQT_SLOT( setStatus( 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::settqStatus(const TQString &str)
+void KexiStatusBar::setStatus(const TQString &str)
{
kdDebug() << "KexiStatusBar::setStatus(" << str << ")" << endl;
// m_status->setText(str);
@@ -125,16 +125,16 @@ void KexiStatusBar::settqStatus(const TQString &str)
void KexiStatusBar::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)
{
KStatusBar::addWidget(widget,stretch,permanent);
- if(widget->tqsizeHint().height() + 4 > height())
- setFixedHeight(widget->tqsizeHint().height() + 4);
+ if(widget->sizeHint().height() + 4 > height())
+ setFixedHeight(widget->sizeHint().height() + 4);
}*/
void KexiStatusBar::setReadOnlyFlag(bool readOnly)