summaryrefslogtreecommitdiffstats
path: root/kbabel/filters/xliff
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit9150603ad32928e9c514c0492a8518b742d82ac3 (patch)
tree6e3f83e2b94146bb42eed57eb6dd8f2fb0369e6f /kbabel/filters/xliff
parent6b126a99d5eecef5cb96589ed5c2e522bcb06ca9 (diff)
downloadtdesdk-9150603ad32928e9c514c0492a8518b742d82ac3.tar.gz
tdesdk-9150603ad32928e9c514c0492a8518b742d82ac3.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/filters/xliff')
-rw-r--r--kbabel/filters/xliff/xliffexport.cpp10
-rw-r--r--kbabel/filters/xliff/xliffimport.cpp4
-rw-r--r--kbabel/filters/xliff/xliffimport.h2
3 files changed, 8 insertions, 8 deletions
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;