diff options
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; }; |