diff options
Diffstat (limited to 'kexi/widget/utils/kexirecordmarker.h')
-rw-r--r-- | kexi/widget/utils/kexirecordmarker.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/kexi/widget/utils/kexirecordmarker.h b/kexi/widget/utils/kexirecordmarker.h index 1408f83b..1348ca1d 100644 --- a/kexi/widget/utils/kexirecordmarker.h +++ b/kexi/widget/utils/kexirecordmarker.h @@ -23,23 +23,24 @@ #ifndef KEXIRECORDMARKER_H #define KEXIRECORDMARKER_H -#include <qwidget.h> +#include <tqwidget.h> -class QImage; +class TQImage; //! \brief Record marker, usually displayed at the left side of a table view or a continuous form. -class KEXIGUIUTILS_EXPORT KexiRecordMarker : public QWidget +class KEXIGUIUTILS_EXPORT KexiRecordMarker : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KexiRecordMarker(QWidget *parent, const char* name = 0); + KexiRecordMarker(TQWidget *tqparent, const char* name = 0); ~KexiRecordMarker(); int rows() const; - static QImage* penImage(); - static QImage* plusImage(); + static TQImage* penImage(); + static TQImage* plusImage(); public slots: void setOffset(int offset); @@ -51,8 +52,8 @@ class KEXIGUIUTILS_EXPORT KexiRecordMarker : public QWidget void setEditRow(int row); void showInsertRow(bool show); - QColor selectionBackgroundColor() const; - void setSelectionBackgroundColor(const QColor &color); + TQColor selectionBackgroundColor() const; + void setSelectionBackgroundColor(const TQColor &color); void addLabel(bool upd=true); void removeLabel(bool upd=true); @@ -63,7 +64,7 @@ class KEXIGUIUTILS_EXPORT KexiRecordMarker : public QWidget void clear(bool upd=true); protected: - virtual void paintEvent(QPaintEvent *e); + virtual void paintEvent(TQPaintEvent *e); class Private; Private * const d; |