summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexifieldcombobox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/kexifieldcombobox.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/widget/kexifieldcombobox.h')
-rw-r--r--kexi/widget/kexifieldcombobox.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kexi/widget/kexifieldcombobox.h b/kexi/widget/kexifieldcombobox.h
index 238168d21..9619f4073 100644
--- a/kexi/widget/kexifieldcombobox.h
+++ b/kexi/widget/kexifieldcombobox.h
@@ -20,7 +20,7 @@
#ifndef KEXIFIELDCOMBOBOX_H
#define KEXIFIELDCOMBOBOX_H
-#include <qpixmap.h>
+#include <tqpixmap.h>
#include <kcombobox.h>
namespace KexiDB {
@@ -34,9 +34,10 @@ class KexiProject;
class KEXIEXTWIDGETS_EXPORT KexiFieldComboBox : public KComboBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiFieldComboBox(QWidget *parent, const char *name = 0);
+ KexiFieldComboBox(TQWidget *tqparent, const char *name = 0);
virtual ~KexiFieldComboBox();
// /*! Sets table or query schema \a schema.
@@ -52,13 +53,13 @@ class KEXIEXTWIDGETS_EXPORT KexiFieldComboBox : public KComboBox
//! Sets global project that is used to retrieve schema informationm for this combo box.
void setProject(KexiProject *prj);
- void setTableOrQuery(const QString& name, bool table);
- QString tableOrQueryName() const;
+ void setTableOrQuery(const TQString& name, bool table);
+ TQString tableOrQueryName() const;
bool isTableAssigned() const;
- void setFieldOrExpression(const QString& string);
+ void setFieldOrExpression(const TQString& string);
void setFieldOrExpression(int index);
- QString fieldOrExpression() const;
- QString fieldOrExpressionCaption() const;
+ TQString fieldOrExpression() const;
+ TQString fieldOrExpressionCaption() const;
/*! \return index of selected table or query field.
-1 is returned if there is nothing selected or expression is selected
@@ -70,10 +71,10 @@ class KEXIEXTWIDGETS_EXPORT KexiFieldComboBox : public KComboBox
protected slots:
void slotActivated(int);
- void slotReturnPressed(const QString & text);
+ void slotReturnPressed(const TQString & text);
protected:
- virtual void focusOutEvent( QFocusEvent *e );
+ virtual void focusOutEvent( TQFocusEvent *e );
class Private;
Private *d;