From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- 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