summaryrefslogtreecommitdiffstats
path: root/kbarcode/xmlutils.cpp
diff options
context:
space:
mode:
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 27cbfb8..e87e999 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" ).tqarg(def->getId()) ) );
+ labelid.appendChild( root->ownerDocument().createTextNode( TQString( "%1" ).arg(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").tqarg( r ) ).toInt();
- g = tag->attribute( prefix + "g", TQString("%1").tqarg( g ) ).toInt();
- b = tag->attribute( prefix + "b", TQString("%1").tqarg( b ) ).toInt();
+ 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();
return TQColor( r, g, b);
}