diff options
Diffstat (limited to 'kexi/widget/tableview/kexitimetableedit.h')
-rw-r--r-- | kexi/widget/tableview/kexitimetableedit.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kexi/widget/tableview/kexitimetableedit.h b/kexi/widget/tableview/kexitimetableedit.h index 4daa68ec..6c427bbd 100644 --- a/kexi/widget/tableview/kexitimetableedit.h +++ b/kexi/widget/tableview/kexitimetableedit.h @@ -24,7 +24,7 @@ #include <widget/utils/kexidatetimeformatter.h> /*! @short Editor class for Time type. - It is a replacement QTimeEdit due to usability problems: + It is a replacement TQTimeEdit due to usability problems: people are accustomed to use single-character cursor. Time format is retrieved from the KDE global settings and input/output is performed using KLineEdit (from KexiInputTableEdit). @@ -32,28 +32,29 @@ class KexiTimeTableEdit : public KexiInputTableEdit { Q_OBJECT + TQ_OBJECT public: - KexiTimeTableEdit(KexiTableViewColumn &column, QWidget *parent=0); + KexiTimeTableEdit(KexiTableViewColumn &column, TQWidget *tqparent=0); virtual ~KexiTimeTableEdit(); - 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); - QTime timeValue(); + void setValueInInternalEditor(const TQVariant &value); + virtual void setValueInternal(const TQVariant& add, bool removeOld); + TQTime timeValue(); //! Used to format and convert time values KexiTimeFormatter m_formatter; |