diff options
author | Slávek Banko <[email protected]> | 2016-03-26 12:35:35 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-26 14:10:15 +0100 |
commit | 38dca4b75c471ddf950e2f9f03801c550d7d26fd (patch) | |
tree | f5923ce5d84971f1f394baf7411146f078c02fab /part/kxeelementdialog.h | |
parent | e28665ce3b2e9ec6f09b4c021db7443cac3c4128 (diff) | |
download | kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.tar.gz kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'part/kxeelementdialog.h')
-rw-r--r-- | part/kxeelementdialog.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/part/kxeelementdialog.h b/part/kxeelementdialog.h index 8012525..fec812c 100644 --- a/part/kxeelementdialog.h +++ b/part/kxeelementdialog.h @@ -25,28 +25,28 @@ class KXEElementDialog : public KXEElementDialogBase Q_OBJECT public: - KXEElementDialog( QWidget * pParent = 0, const char * pszName = 0, bool fModal = true, WFlags fl = 0 ); + KXEElementDialog( TQWidget * pParent = 0, const char * pszName = 0, bool fModal = true, WFlags fl = 0 ); public: - const QString nsURI() const { return m_strNsURI; } - const QString prefix() const { return m_strPrefix; } - const QString name() const { return m_strName; } + const TQString nsURI() const { return m_strNsURI; } + const TQString prefix() const { return m_strPrefix; } + const TQString name() const { return m_strName; } const bool atTop() const { return m_bAtTop; } - void setNsURI(const QString strNsURI) { m_strNsURI = strNsURI; } - void setPrefix(const QString strPrefix) { m_strPrefix = strPrefix; } - void setName(const QString strName) { m_strName = strName; } + void setNsURI(const TQString strNsURI) { m_strNsURI = strNsURI; } + void setPrefix(const TQString strPrefix) { m_strPrefix = strPrefix; } + void setName(const TQString strName) { m_strName = strName; } /** * To be used for creating a new XML element * - * @return see @ref QDialog::exec + * @return see @ref TQDialog::exec */ int exec( bool, bool, bool ); // check element name - static QString checkName(const QString); + static TQString checkName(const TQString); protected: /** @@ -74,18 +74,18 @@ class KXEElementDialog : public KXEElementDialogBase protected slots: - void slotNsURIChanged( const QString & szNewNsURI ); + void slotNsURIChanged( const TQString & szNewNsURI ); /** * Called, when the name in the edit line @ref DlgXMLElementBase::m_pEditName * is changed. * Disables the OK button, if the given string is empty. */ - void slotNameChanged( const QString & szNewName ); + void slotNameChanged( const TQString & szNewName ); protected: - QString m_strNsURI; - QString m_strPrefix; - QString m_strName; + TQString m_strNsURI; + TQString m_strPrefix; + TQString m_strName; bool m_bAtTop; }; |