diff options
Diffstat (limited to 'kbabel/filters')
-rw-r--r-- | kbabel/filters/linguist/linguistimport.cpp | 4 | ||||
-rw-r--r-- | kbabel/filters/linguist/linguistimport.h | 2 | ||||
-rw-r--r-- | kbabel/filters/xliff/xliffexport.cpp | 10 | ||||
-rw-r--r-- | kbabel/filters/xliff/xliffimport.cpp | 4 | ||||
-rw-r--r-- | kbabel/filters/xliff/xliffimport.h | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/kbabel/filters/linguist/linguistimport.cpp b/kbabel/filters/linguist/linguistimport.cpp index b46f5f97..82dd6ad4 100644 --- a/kbabel/filters/linguist/linguistimport.cpp +++ b/kbabel/filters/linguist/linguistimport.cpp @@ -113,9 +113,9 @@ ConversiontqStatus LinguistImportPlugin::load( const TQString& filename, const T return OK; } -void LinguistImportPlugin::parse( const TQDomElement& tqparentElement ) +void LinguistImportPlugin::parse( const TQDomElement& parentElement ) { - TQDomNode node = tqparentElement.firstChild( ); + TQDomNode node = parentElement.firstChild( ); while ( !node.isNull( ) ) { if ( node.isElement( ) ) { diff --git a/kbabel/filters/linguist/linguistimport.h b/kbabel/filters/linguist/linguistimport.h index fa7aa36c..3f6d8051 100644 --- a/kbabel/filters/linguist/linguistimport.h +++ b/kbabel/filters/linguist/linguistimport.h @@ -56,7 +56,7 @@ class LinguistImportPlugin : public KBabel::CatalogImportPlugin virtual const TQString id( ) { return "TQt translation source"; } private: - void parse( const TQDomElement& tqparentElement ); + void parse( const TQDomElement& parentElement ); private: uint msgcnt; diff --git a/kbabel/filters/xliff/xliffexport.cpp b/kbabel/filters/xliff/xliffexport.cpp index 82033521..187a1dda 100644 --- a/kbabel/filters/xliff/xliffexport.cpp +++ b/kbabel/filters/xliff/xliffexport.cpp @@ -147,7 +147,7 @@ void XLIFFExportPlugin::createMessage( TQDomDocument& doc, TQDomElement& transla TQDomElement XLIFFExportPlugin::getContext( TQDomDocument& doc, const TQString& file, const TQString& id ) { // Find out whether there is already such a context in the TQDomDocument. - TQDomNode tqparentelem = doc.documentElement(); + TQDomNode parentelem = doc.documentElement(); TQDomNode elem = doc.documentElement( ).firstChild( ); while ( !elem.isNull( ) ) { if ( elem.isElement( ) && elem.toElement().tagName( ) == "file" && elem.toElement().attribute ("original") == file ) { @@ -162,12 +162,12 @@ TQDomElement XLIFFExportPlugin::getContext( TQDomDocument& doc, const TQString& kdError () << "File not found at all, creating" << endl; TQDomElement newelem = doc.createElement ("file"); newelem.setAttribute ("original", file); - tqparentelem.appendChild (newelem); + parentelem.appendChild (newelem); elem = newelem; } // lookup body tag - tqparentelem = elem; + parentelem = elem; elem = elem.firstChild (); while ( !elem.isNull( ) ) { if ( elem.isElement( ) && elem.toElement().tagName( ) == "body" ) { @@ -181,7 +181,7 @@ TQDomElement XLIFFExportPlugin::getContext( TQDomDocument& doc, const TQString& { kdError () << "File body not found at all, creating" << endl; TQDomElement newelem = doc.createElement ("body"); - tqparentelem.appendChild (newelem); + parentelem.appendChild (newelem); elem = newelem; } @@ -192,7 +192,7 @@ TQDomElement XLIFFExportPlugin::getContext( TQDomDocument& doc, const TQString& kdError () << "Trans-unit not found at all, creating" << endl; TQDomElement newelem = doc.createElement ("trans-unit"); newelem.setAttribute ("id", id); - tqparentelem.appendChild (newelem); + parentelem.appendChild (newelem); elem = newelem; } diff --git a/kbabel/filters/xliff/xliffimport.cpp b/kbabel/filters/xliff/xliffimport.cpp index 9d14c054..01c39092 100644 --- a/kbabel/filters/xliff/xliffimport.cpp +++ b/kbabel/filters/xliff/xliffimport.cpp @@ -128,9 +128,9 @@ ConversiontqStatus XLIFFImportPlugin::load( const TQString& filename, const TQSt return OK; } -void XLIFFImportPlugin::parse( const TQDomElement& tqparentElement ) +void XLIFFImportPlugin::parse( const TQDomElement& parentElement ) { - TQDomNode node = tqparentElement.firstChild( ); + TQDomNode node = parentElement.firstChild( ); while ( !node.isNull( ) ) { if ( node.isElement( ) ) { diff --git a/kbabel/filters/xliff/xliffimport.h b/kbabel/filters/xliff/xliffimport.h index 2dbe1066..a18a9a82 100644 --- a/kbabel/filters/xliff/xliffimport.h +++ b/kbabel/filters/xliff/xliffimport.h @@ -56,7 +56,7 @@ class XLIFFImportPlugin : public KBabel::CatalogImportPlugin virtual const TQString id( ) { return "XLIFF 1.1"; } private: - void parse( const TQDomElement& tqparentElement ); + void parse( const TQDomElement& parentElement ); private: uint msgcnt; |