diff options
Diffstat (limited to 'kexi/plugins/forms/widgets/kexipushbutton.h')
-rw-r--r-- | kexi/plugins/forms/widgets/kexipushbutton.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kexi/plugins/forms/widgets/kexipushbutton.h b/kexi/plugins/forms/widgets/kexipushbutton.h index 12c01631..3dd8f0a9 100644 --- a/kexi/plugins/forms/widgets/kexipushbutton.h +++ b/kexi/plugins/forms/widgets/kexipushbutton.h @@ -28,25 +28,26 @@ class KEXIFORMUTILS_EXPORT KexiPushButton : public KPushButton { Q_OBJECT - Q_PROPERTY(QString onClickAction READ onClickAction WRITE setOnClickAction DESIGNABLE true) - Q_PROPERTY(QString onClickActionOption READ onClickActionOption WRITE setOnClickActionOption DESIGNABLE true) + TQ_OBJECT + TQ_PROPERTY(TQString onClickAction READ onClickAction WRITE setOnClickAction DESIGNABLE true) + TQ_PROPERTY(TQString onClickActionOption READ onClickActionOption WRITE setOnClickActionOption DESIGNABLE true) public: - KexiPushButton( const QString & text, QWidget * parent, const char * name = 0 ); + KexiPushButton( const TQString & text, TQWidget * tqparent, const char * name = 0 ); ~KexiPushButton(); public slots: //! action string for "on click" event //! @see KexiFormPart::slotAssignAction() //! @see KexiFormEventAction::ActionData - QString onClickAction() const { return m_onClickActionData.string; } - void setOnClickAction(const QString& actionString) { m_onClickActionData.string = actionString; } + TQString onClickAction() const { return m_onClickActionData.string; } + void setOnClickAction(const TQString& actionString) { m_onClickActionData.string = actionString; } //! action option allowing to select whether the object should be opened in data view mode or printed, etc. //! @see KexiFormPart::slotAssignAction() //! @see KexiFormEventAction::ActionData - QString onClickActionOption() const { return m_onClickActionData.option; } - void setOnClickActionOption(const QString& option) { m_onClickActionData.option = option; } + TQString onClickActionOption() const { return m_onClickActionData.option; } + void setOnClickActionOption(const TQString& option) { m_onClickActionData.option = option; } protected: KexiFormEventAction::ActionData m_onClickActionData; |