summaryrefslogtreecommitdiffstats
path: root/kbarcode/xmlutils.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:56 -0600
commitabb955bc2a696c0283c1efd82c4edf4d06f314a7 (patch)
tree90639442ba9f4e06fccc0f4f7b7aed315423e6f1 /kbarcode/xmlutils.cpp
parent64e14d1bc38e39001b5ec84a6e13198ef3c67315 (diff)
downloadkbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.tar.gz
kbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 64e14d1bc38e39001b5ec84a6e13198ef3c67315.
Diffstat (limited to 'kbarcode/xmlutils.cpp')
-rw-r--r--kbarcode/xmlutils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbarcode/xmlutils.cpp b/kbarcode/xmlutils.cpp
index e87e999..27cbfb8 100644
--- a/kbarcode/xmlutils.cpp
+++ b/kbarcode/xmlutils.cpp
@@ -112,7 +112,7 @@ void XMLUtils::writeXMLHeader( TQDomNode* root, const TQString & description, De
TQDomElement labelid = root->ownerDocument().createElement( "id" );
writeDefinition( &labelid, def );
- labelid.appendChild( root->ownerDocument().createTextNode( TQString( "%1" ).arg(def->getId()) ) );
+ labelid.appendChild( root->ownerDocument().createTextNode( TQString( "%1" ).tqarg(def->getId()) ) );
data.appendChild( labelid );
root->appendChild( data );
@@ -279,9 +279,9 @@ TQColor XMLUtils::readXMLColor( TQDomElement* tag, const TQString & prefix, TQCo
int g = c.green();
int b = c.blue();
- r = tag->attribute( prefix + "r", TQString("%1").arg( r ) ).toInt();
- g = tag->attribute( prefix + "g", TQString("%1").arg( g ) ).toInt();
- b = tag->attribute( prefix + "b", TQString("%1").arg( b ) ).toInt();
+ r = tag->attribute( prefix + "r", TQString("%1").tqarg( r ) ).toInt();
+ g = tag->attribute( prefix + "g", TQString("%1").tqarg( g ) ).toInt();
+ b = tag->attribute( prefix + "b", TQString("%1").tqarg( b ) ).toInt();
return TQColor( r, g, b);
}