summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexifieldcombobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexifieldcombobox.cpp')
-rw-r--r--kexi/widget/kexifieldcombobox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/kexifieldcombobox.cpp b/kexi/widget/kexifieldcombobox.cpp
index 31795049..cc1845ab 100644
--- a/kexi/widget/kexifieldcombobox.cpp
+++ b/kexi/widget/kexifieldcombobox.cpp
@@ -20,7 +20,7 @@
#include "kexifieldcombobox.h"
#include <tqheader.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqpushbutton.h>
#include <tqcursor.h>
@@ -182,7 +182,7 @@ void KexiFieldComboBox::setFieldOrExpression(int index)
index++; //skip 1st empty item
if (index>=count()) {
kexiwarn << TQString("KexiFieldComboBox::setFieldOrExpression(int index): index %1 "
- "out of range (0..%2)").tqarg(index).tqarg(count()-1) << endl;
+ "out of range (0..%2)").arg(index).arg(count()-1) << endl;
index = -1;
}
if (index<=0) {
@@ -243,7 +243,7 @@ void KexiFieldComboBox::focusOutEvent( TQFocusEvent *e )
{
KComboBox::focusOutEvent( e );
// accept changes if the focus is moved
- if (!KexiUtils::hasParent(TQT_TQOBJECT(this), TQT_TQOBJECT(tqfocusWidget()))) //(a check needed because drop-down listbox also causes a focusout)
+ if (!KexiUtils::hasParent(TQT_TQOBJECT(this), TQT_TQOBJECT(focusWidget()))) //(a check needed because drop-down listbox also causes a focusout)
slotReturnPressed(currentText());
}