diff options
Diffstat (limited to 'kexi/widget/tableview/kexidatetableedit.h')
-rw-r--r-- | kexi/widget/tableview/kexidatetableedit.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kexi/widget/tableview/kexidatetableedit.h b/kexi/widget/tableview/kexidatetableedit.h index 4f2a4f59..aad46c4b 100644 --- a/kexi/widget/tableview/kexidatetableedit.h +++ b/kexi/widget/tableview/kexidatetableedit.h @@ -26,7 +26,7 @@ #include <widget/utils/kexidatetimeformatter.h> /*! @short Editor class for Date type. - It is a replacement QDateEdit due to usability problems: + It is a replacement TQDateEdit due to usability problems: people are accustomed to use single-character cursor. Date format is retrieved from the KDE global settings. and input/output is performed using KLineEdit (from KexiInputTableEdit). @@ -34,28 +34,29 @@ class KexiDateTableEdit : public KexiInputTableEdit { Q_OBJECT + TQ_OBJECT public: - KexiDateTableEdit(KexiTableViewColumn &column, QWidget *parent=0); + KexiDateTableEdit(KexiTableViewColumn &column, TQWidget *tqparent=0); virtual ~KexiDateTableEdit(); - virtual void setupContents( QPainter *p, bool focused, const QVariant& val, - QString &txt, int &align, int &x, int &y_offset, int &w, int &h ); - virtual QVariant value(); + virtual void setupContents( TQPainter *p, bool focused, const TQVariant& val, + TQString &txt, int &align, int &x, int &y_offset, int &w, int &h ); + virtual TQVariant value(); virtual bool valueIsNull(); virtual bool valueIsEmpty(); virtual bool valueIsValid(); /*! Reimplemented after KexiInputTableEdit. */ - virtual void handleAction(const QString& actionName); + virtual void handleAction(const TQString& actionName); /*! Reimplemented after KexiInputTableEdit. */ - virtual void handleCopyAction(const QVariant& value, const QVariant& visibleValue); + virtual void handleCopyAction(const TQVariant& value, const TQVariant& visibleValue); protected: //! helper - void setValueInInternalEditor(const QVariant &value); - virtual void setValueInternal(const QVariant& add, bool removeOld); - QDate dateValue() const; + void setValueInInternalEditor(const TQVariant &value); + virtual void setValueInternal(const TQVariant& add, bool removeOld); + TQDate dateValue() const; //! Used to format and convert date values KexiDateFormatter m_formatter; |