summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/propertyserializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner_lib/propertyserializer.cpp')
-rw-r--r--kugar/kudesigner_lib/propertyserializer.cpp4
1 files changed, 2 insertions, 2 deletions
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 );
}