diff options
Diffstat (limited to 'part/commands_insert.cpp')
-rw-r--r-- | part/commands_insert.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/part/commands_insert.cpp b/part/commands_insert.cpp index 9f17d51..fb79d63 100644 --- a/part/commands_insert.cpp +++ b/part/commands_insert.cpp @@ -16,7 +16,7 @@ ***************************************************************************/ #include "commands_insert.h" -#include <qstring.h> +#include <tqstring.h> #include <kdebug.h> @@ -26,10 +26,10 @@ KXEElementCommand::KXEElementCommand( KXEDocument *pDocument, - QDomDocument * pDomDoc, - QString strNsURI, - QString strPrefix, - QString strName + TQDomDocument * pDomDoc, + TQString strNsURI, + TQString strPrefix, + TQString strName ) : KXECommand(pDocument) { @@ -46,10 +46,10 @@ KXEElementCommand::KXEElementCommand( KXEElementCommand::KXEElementCommand( KXEDocument *pDocument, - QDomElement & domParentElement, - QString strNsURI, - QString strPrefix, - QString strName, + TQDomElement & domParentElement, + TQString strNsURI, + TQString strPrefix, + TQString strName, bool bAtTop ) : KXECommand(pDocument) @@ -85,7 +85,7 @@ void KXEElementCommand::execute() // Insert child element if ( m_bAtTop ) { // insert as first child - QDomNode domFirstChildNode = m_domParentElement.firstChild(); + TQDomNode domFirstChildNode = m_domParentElement.firstChild(); if ( domFirstChildNode.isNull() ) m_domParentElement.appendChild( m_domElement ); // no childs yet -> simply append else @@ -118,10 +118,10 @@ void KXEElementCommand::unexecute() KXEAttributeCommand::KXEAttributeCommand( KXEDocument *pDocument, - QDomElement &domOwnerElement, - QString strNamespace, - QString strQName, - QString strValue + TQDomElement &domOwnerElement, + TQString strNamespace, + TQString strQName, + TQString strValue ) : KXECommand(pDocument) { @@ -167,10 +167,10 @@ void KXEAttributeCommand::unexecute() KXECharDataCommand::KXECharDataCommand( KXEDocument *pDocument, - QDomElement & domParentElement, + TQDomElement & domParentElement, bool bAtTop, CharDataKind eCharDataKind, - QString strContents + TQString strContents ) : KXECommand(pDocument) { @@ -211,7 +211,7 @@ void KXECharDataCommand::execute() { if ( m_bAtTop ) { // insert as first child - QDomNode domFirstChildNode = m_domParentElement.firstChild(); + TQDomNode domFirstChildNode = m_domParentElement.firstChild(); if ( domFirstChildNode.isNull() ) m_domParentElement.appendChild( m_domCharData ); // no childs yet -> simply append else @@ -239,10 +239,10 @@ void KXECharDataCommand::unexecute() KXEProcInstrCommand::KXEProcInstrCommand( KXEDocument *pDocument, - QDomDocument * pDomDoc, + TQDomDocument * pDomDoc, bool bAtTop, - QString strTarget, - QString strData + TQString strTarget, + TQString strData ) : KXECommand(pDocument) { @@ -260,10 +260,10 @@ KXEProcInstrCommand::KXEProcInstrCommand( KXEProcInstrCommand::KXEProcInstrCommand( KXEDocument *pDocument, - QDomElement & domParentElement, + TQDomElement & domParentElement, bool bAtTop, - QString strTarget, - QString strData + TQString strTarget, + TQString strData ) : KXECommand(pDocument) { @@ -299,7 +299,7 @@ void KXEProcInstrCommand::execute() // Insert child proc. instr if ( m_bAtTop ) { // insert as first child - QDomNode domFirstChildNode = m_domParentElement.firstChild(); + TQDomNode domFirstChildNode = m_domParentElement.firstChild(); if ( domFirstChildNode.isNull() ) m_domParentElement.appendChild( m_domProcInstr ); // no childs yet -> simply append else |