summaryrefslogtreecommitdiffstats
path: root/lib/kotext/IsoDuration.h
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 /lib/kotext/IsoDuration.h
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 'lib/kotext/IsoDuration.h')
-rw-r--r--lib/kotext/IsoDuration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/IsoDuration.h b/lib/kotext/IsoDuration.h
index 6ccb28913..ee1cdfb90 100644
--- a/lib/kotext/IsoDuration.h
+++ b/lib/kotext/IsoDuration.h
@@ -31,7 +31,7 @@ static TQString minutesToISODuration( int mn )
{
bool neg = mn < 0;
// PT == period of time - see ISO8601
- TQString str = TQString::tqfromLatin1( "PT00H%1M00S" ).tqarg( TQABS( mn ) );
+ TQString str = TQString::fromLatin1( "PT00H%1M00S" ).arg( TQABS( mn ) );
if ( neg )
str.prepend( '-' );
return str;
@@ -41,7 +41,7 @@ static TQString daysToISODuration( int days )
{
bool neg = days < 0;
// P == period, time is ommitted - see ISO8601
- TQString str = TQString::tqfromLatin1( "P%1D" ).tqarg( TQABS( days ) );
+ TQString str = TQString::fromLatin1( "P%1D" ).arg( TQABS( days ) );
if ( neg )
str.prepend( '-' );
return str;