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/commands_insert.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/commands_insert.h')
-rw-r--r-- | part/commands_insert.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/part/commands_insert.h b/part/commands_insert.h index 4d9da8d..d0f5963 100644 --- a/part/commands_insert.h +++ b/part/commands_insert.h @@ -28,67 +28,67 @@ class KXEElementCommand : public KXECommand { public: - KXEElementCommand(KXEDocument*, QDomDocument *, QString, QString, QString); - KXEElementCommand(KXEDocument*, QDomElement &, QString, QString, QString, bool); + KXEElementCommand(KXEDocument*, TQDomDocument *, TQString, TQString, TQString); + KXEElementCommand(KXEDocument*, TQDomElement &, TQString, TQString, TQString, bool); ~KXEElementCommand(); virtual void execute(); virtual void unexecute(); - virtual QString name() const { return i18n("Insert element"); } + virtual TQString name() const { return i18n("Insert element"); } protected: - QDomDocument * m_pDomDoc; - QDomElement m_domParentElement; + TQDomDocument * m_pDomDoc; + TQDomElement m_domParentElement; bool m_bAtTop; - QDomElement m_domElement; + TQDomElement m_domElement; }; class KXEAttributeCommand : public KXECommand { public: - KXEAttributeCommand(KXEDocument*, QDomElement &, QString, QString, QString); + KXEAttributeCommand(KXEDocument*, TQDomElement &, TQString, TQString, TQString); ~KXEAttributeCommand(); virtual void execute(); virtual void unexecute(); - virtual QString name() const { return i18n("Insert attribute"); } + virtual TQString name() const { return i18n("Insert attribute"); } protected: - QString m_strNamespace; - QString m_strQName; - QString m_strValue; - QDomElement m_domOwnerElement; + TQString m_strNamespace; + TQString m_strQName; + TQString m_strValue; + TQDomElement m_domOwnerElement; }; class KXECharDataCommand : public KXECommand { public: - KXECharDataCommand(KXEDocument*, QDomElement &, bool, CharDataKind, QString); + KXECharDataCommand(KXEDocument*, TQDomElement &, bool, CharDataKind, TQString); ~KXECharDataCommand(); virtual void execute(); virtual void unexecute(); - virtual QString name() const { return i18n("Insert char data"); } + virtual TQString name() const { return i18n("Insert char data"); } protected: bool m_bAtTop; - QDomElement m_domParentElement; - QDomCharacterData m_domCharData; + TQDomElement m_domParentElement; + TQDomCharacterData m_domCharData; }; class KXEProcInstrCommand : public KXECommand { public: - KXEProcInstrCommand(KXEDocument*, QDomDocument *, bool, QString, QString); - KXEProcInstrCommand(KXEDocument*, QDomElement &, bool, QString, QString); + KXEProcInstrCommand(KXEDocument*, TQDomDocument *, bool, TQString, TQString); + KXEProcInstrCommand(KXEDocument*, TQDomElement &, bool, TQString, TQString); ~KXEProcInstrCommand(); virtual void execute(); virtual void unexecute(); - virtual QString name() const { return i18n("Insert proc. instr."); } + virtual TQString name() const { return i18n("Insert proc. instr."); } protected: - QDomDocument * m_pDomDoc; - QDomElement m_domParentElement; + TQDomDocument * m_pDomDoc; + TQDomElement m_domParentElement; bool m_bAtTop; - QDomProcessingInstruction m_domProcInstr; + TQDomProcessingInstruction m_domProcInstr; }; #endif |