diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-03-26 12:35:35 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-26 14:10:15 +0100 |
commit | 38dca4b75c471ddf950e2f9f03801c550d7d26fd (patch) | |
tree | f5923ce5d84971f1f394baf7411146f078c02fab /part/kxeattributedialog.h | |
parent | e28665ce3b2e9ec6f09b4c021db7443cac3c4128 (diff) | |
download | kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.tar.gz kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part/kxeattributedialog.h')
-rw-r--r-- | part/kxeattributedialog.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/part/kxeattributedialog.h b/part/kxeattributedialog.h index e2019b9..25b8879 100644 --- a/part/kxeattributedialog.h +++ b/part/kxeattributedialog.h @@ -20,23 +20,23 @@ #include "kxeattributedialogbase.h" -#include <qdom.h> +#include <tqdom.h> class KXEAttributeDialog : public KXEAttributeDialogBase { Q_OBJECT public: - KXEAttributeDialog( QWidget * pParent = 0, const char * pszName = 0, bool fModal = true, WFlags fl = 0 ); + KXEAttributeDialog( TQWidget * pParent = 0, const char * pszName = 0, bool fModal = true, WFlags fl = 0 ); - const QString attributeNamespace() const { return m_strNamespace; } - const QString QName() const { return m_strQName; } - const QString Value() const { return m_strValue; } + const TQString attributeNamespace() const { return m_strNamespace; } + const TQString QName() const { return m_strQName; } + const TQString Value() const { return m_strValue; } /** * To be used for adding an attribute to new XML element. * - * @return see @ref QDialog::exec + * @return see @ref TQDialog::exec */ int exec( ); @@ -46,37 +46,37 @@ class KXEAttributeDialog : public KXEAttributeDialogBase void clearDialog(); // Check, if XML attribute name is OK - static QString checkName(const QString); + static TQString checkName(const TQString); // Check, if XML attribute value is OK - static QString checkValue(const QString); + static TQString checkValue(const TQString); // Check, if XML attribute namespace is OK - static QString checkNamespace(const QString); + static TQString checkNamespace(const TQString); protected slots: /** * Called, when user change attribute name. * Disables the OK button, if user input is wrong or incomplete. */ - void slotNameChanged(const QString &); + void slotNameChanged(const TQString &); /** * Called, when user change attribute value. * Disables the OK button, if user input is wrong or incomplete. */ - void slotValueChanged(const QString &); + void slotValueChanged(const TQString &); /** * Called, when user change attribute namespace. * Disables the OK button, if user input is wrong or incomplete. */ - void slotNamespaceChanged(const QString &); + void slotNamespaceChanged(const TQString &); protected: - QString m_strNamespace; - QString m_strQName; - QString m_strValue; + TQString m_strNamespace; + TQString m_strQName; + TQString m_strValue; }; #endif |