summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/propertyserializer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kugar/kudesigner_lib/propertyserializer.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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 );
}