summaryrefslogtreecommitdiffstats
path: root/kaddressbook-plugins/xxports/kworldclock
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:52:34 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:52:34 -0600
commit75112ed8e227f656f98523b7ffdad5422d9a6f11 (patch)
tree23041ac1bbe364dcc39dbbd0e86ff6930494e036 /kaddressbook-plugins/xxports/kworldclock
parentb88830e9111dc4375bc1461c3f7b3e7b3e73f733 (diff)
downloadtdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.tar.gz
tdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kaddressbook-plugins/xxports/kworldclock')
-rw-r--r--kaddressbook-plugins/xxports/kworldclock/geo_xxport.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook-plugins/xxports/kworldclock/geo_xxport.cpp b/kaddressbook-plugins/xxports/kworldclock/geo_xxport.cpp
index 51a37ac..3d07955 100644
--- a/kaddressbook-plugins/xxports/kworldclock/geo_xxport.cpp
+++ b/kaddressbook-plugins/xxports/kworldclock/geo_xxport.cpp
@@ -58,9 +58,9 @@ bool GeoXXPort::exportContacts( const KABC::AddresseeList &list, const TQString&
if ( flags != 0 ) {
for ( int i = 0; i < flags; ++i ) {
FlagInfo info;
- info.latitude = config.readDoubleNumEntry( TQString( "Flag_%1_Latitude" ).tqarg( i ) );
- info.longitude = config.readDoubleNumEntry( TQString( "Flag_%1_Longitude" ).tqarg( i ) );
- info.color = config.readColorEntry( TQString( "Flag_%1_Color" ).tqarg( i ) );
+ info.latitude = config.readDoubleNumEntry( TQString( "Flag_%1_Latitude" ).arg( i ) );
+ info.longitude = config.readDoubleNumEntry( TQString( "Flag_%1_Longitude" ).arg( i ) );
+ info.color = config.readColorEntry( TQString( "Flag_%1_Color" ).arg( i ) );
availableFlags.append( info );
}
@@ -102,9 +102,9 @@ bool GeoXXPort::exportContacts( const KABC::AddresseeList &list, const TQString&
int startVal = 0;
TQValueList<FlagInfo>::Iterator it;
for ( it = flagList.begin(); it != flagList.end(); ++it, ++startVal ) {
- config.writeEntry( TQString( "Flag_%1_Color" ).tqarg( startVal ), (*it).color );
- config.writeEntry( TQString( "Flag_%1_Latitude" ).tqarg( startVal ), (*it).latitude );
- config.writeEntry( TQString( "Flag_%1_Longitude" ).tqarg( startVal ), (*it).longitude );
+ config.writeEntry( TQString( "Flag_%1_Color" ).arg( startVal ), (*it).color );
+ config.writeEntry( TQString( "Flag_%1_Latitude" ).arg( startVal ), (*it).latitude );
+ config.writeEntry( TQString( "Flag_%1_Longitude" ).arg( startVal ), (*it).longitude );
}
config.writeEntry( "Flags", startVal );