From f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:38:41 -0600 Subject: Remove additional unneeded tq method conversions --- kugar/kudesigner_lib/propertyserializer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kugar/kudesigner_lib/propertyserializer.cpp') diff --git a/kugar/kudesigner_lib/propertyserializer.cpp b/kugar/kudesigner_lib/propertyserializer.cpp index 32ebe470..ae9f30d7 100644 --- a/kugar/kudesigner_lib/propertyserializer.cpp +++ b/kugar/kudesigner_lib/propertyserializer.cpp @@ -40,7 +40,7 @@ TQString PropertySerializer::toString( Property *prop ) switch ( prop->type() ) { case KoProperty::Color: - return TQString( "%1,%2,%3" ).tqarg( val.toColor().red() ).tqarg( val.toColor().green() ).tqarg( val.toColor().blue() ); + return TQString( "%1,%2,%3" ).arg( val.toColor().red() ).arg( val.toColor().green() ).arg( val.toColor().blue() ); case KoProperty::Boolean: return val.toBool() ? "true" : "false"; case KoProperty::Font: @@ -67,7 +67,7 @@ TQVariant PropertySerializer::fromString( Property *prop, const TQString &str ) case KoProperty::LineStyle: return TQVariant( str.toInt() ); case KoProperty::Symbol: - return TQVariant( str.tqat( 0 ).latin1() ); + return TQVariant( str.at( 0 ).latin1() ); default: return TQVariant( str ); } -- cgit v1.2.1