diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/kexifieldlistview.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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/kexifieldlistview.h')
-rw-r--r-- | kexi/widget/kexifieldlistview.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/kexi/widget/kexifieldlistview.h b/kexi/widget/kexifieldlistview.h index fcbe1c5f..e133aeae 100644 --- a/kexi/widget/kexifieldlistview.h +++ b/kexi/widget/kexifieldlistview.h @@ -20,8 +20,8 @@ #ifndef KEXIFIELDLISTVIEW_H #define KEXIFIELDLISTVIEW_H -#include <qframe.h> -#include <qpixmap.h> +#include <tqframe.h> +#include <tqpixmap.h> #include <klistview.h> class KListViewItem; @@ -35,6 +35,7 @@ namespace KexiDB { class KEXIEXTWIDGETS_EXPORT KexiFieldListView : public KListView { Q_OBJECT + TQ_OBJECT public: //! Flags used to alter list's behaviour and appearance @@ -44,7 +45,7 @@ class KEXIEXTWIDGETS_EXPORT KexiFieldListView : public KListView AllowMultiSelection = 4 //!< if set, multiple selection is allowed }; - KexiFieldListView(QWidget *parent, const char *name = 0, + KexiFieldListView(TQWidget *tqparent, const char *name = 0, int options = ShowDataTypes | AllowMultiSelection ); virtual ~KexiFieldListView(); @@ -56,25 +57,25 @@ class KEXIEXTWIDGETS_EXPORT KexiFieldListView : public KListView KexiDB::TableOrQuerySchema* schema() const { return m_schema; } /*! \return list of selected field names. */ - QStringList selectedFieldNames() const; + TQStringList selectedFieldNames() const; // void setReadOnly(bool); -// virtual QSize sizeHint(); +// virtual TQSize tqsizeHint(); signals: /*! Emitted when a field is double clicked */ - void fieldDoubleClicked(const QString& sourceMimeType, const QString& sourceName, - const QString& fieldName); + void fieldDoubleClicked(const TQString& sourceMimeType, const TQString& sourceName, + const TQString& fieldName); protected slots: - void slotDoubleClicked(QListViewItem* item); + void slotDoubleClicked(TQListViewItem* item); protected: - virtual QDragObject *dragObject(); + virtual TQDragObject *dragObject(); KexiDB::TableOrQuerySchema* m_schema; - QPixmap m_keyIcon; //!< a small "primary key" icon for 0-th column - QPixmap m_noIcon; //!< blank icon of the same size as m_keyIcon + TQPixmap m_keyIcon; //!< a small "primary key" icon for 0-th column + TQPixmap m_noIcon; //!< blank icon of the same size as m_keyIcon int m_options; KListViewItem *m_allColumnsItem; }; |