diff options
Diffstat (limited to 'kexi/widget/tableview/kexibooltableedit.h')
-rw-r--r-- | kexi/widget/tableview/kexibooltableedit.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kexi/widget/tableview/kexibooltableedit.h b/kexi/widget/tableview/kexibooltableedit.h index 3320a573..3fc87d58 100644 --- a/kexi/widget/tableview/kexibooltableedit.h +++ b/kexi/widget/tableview/kexibooltableedit.h @@ -20,7 +20,7 @@ #ifndef KEXIBOOLTABLEEDIT_H #define KEXIBOOLTABLEEDIT_H -#include <qvariant.h> +#include <tqvariant.h> #include "kexitableedit.h" #include "kexicelleditorfactory.h" @@ -30,9 +30,10 @@ class KexiBoolTableEdit : public KexiTableEdit { Q_OBJECT + TQ_OBJECT public: - KexiBoolTableEdit(KexiTableViewColumn &column, QWidget *parent=0); + KexiBoolTableEdit(KexiTableViewColumn &column, TQWidget *tqparent=0); virtual ~KexiBoolTableEdit(); @@ -44,39 +45,39 @@ class KexiBoolTableEdit : public KexiTableEdit //! (check this with KexiDB::Field::hasEmptyProperty()), virtual bool valueIsEmpty(); - virtual QVariant value(); + virtual TQVariant value(); virtual bool cursorAtStart(); virtual bool cursorAtEnd(); virtual void clear(); - virtual void setupContents( QPainter *p, bool focused, const QVariant& val, - QString &txt, int &align, int &x, int &y_offset, int &w, int &h ); + virtual void setupContents( TQPainter *p, bool focused, const TQVariant& val, + TQString &txt, int &align, int &x, int &y_offset, int &w, int &h ); virtual void clickedOnContents(); /*! Handles action having standard name \a actionName. Action could be: "edit_cut", "edit_paste", etc. */ - virtual void handleAction(const QString& actionName); + virtual void handleAction(const TQString& actionName); /*! Handles copy action for value. Copies empty string for null, "1" for true, "0" for false. \a visibleValue is unused here. Reimplemented after KexiTableEdit. */ - virtual void handleCopyAction(const QVariant& value, const QVariant& visibleValue); + virtual void handleCopyAction(const TQVariant& value, const TQVariant& visibleValue); /*! \return width of \a value. Reimplemented after KexiTableEdit. */ - virtual int widthForValue( QVariant &val, const QFontMetrics &fm ); + virtual int widthForValue( TQVariant &val, const TQFontMetrics &fm ); protected slots: protected: //! initializes this editor with \a add value - virtual void setValueInternal(const QVariant& add, bool removeOld); + virtual void setValueInternal(const TQVariant& add, bool removeOld); void showHintButton(); //! We've no editor widget that would store current value, so we do this here - QVariant m_currentValue; + TQVariant m_currentValue; signals: void hintClicked(); |