diff options
Diffstat (limited to 'kugar/lib/mutil.cpp')
-rw-r--r-- | kugar/lib/mutil.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kugar/lib/mutil.cpp b/kugar/lib/mutil.cpp index f70b67bf..e53c1ef2 100644 --- a/kugar/lib/mutil.cpp +++ b/kugar/lib/mutil.cpp @@ -40,40 +40,40 @@ TQString MUtil::formatDate( const TQDate& value, int format ) switch ( format ) { case MUtil::MDY_SLASH: - string = TQString( "%1/%2/%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( year ); + string = TQString( "%1/%2/%3" ).arg( value.month() ).arg( value.day() ).arg( year ); break; case MUtil::MDY_DASH: - string = TQString( "%1-%2-%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( year ); + string = TQString( "%1-%2-%3" ).arg( value.month() ).arg( value.day() ).arg( year ); break; case MUtil::MMDDY_SLASH: - string = TQString( "%1/%2/%3" ).tqarg( month ).tqarg( day ).tqarg( year ); + string = TQString( "%1/%2/%3" ).arg( month ).arg( day ).arg( year ); break; case MUtil::MMDDY_DASH: - string = TQString( "%1-%2-%3" ).tqarg( month ).tqarg( day ).tqarg( year ); + string = TQString( "%1-%2-%3" ).arg( month ).arg( day ).arg( year ); break; case MUtil::MDYYYY_SLASH: - string = TQString( "%1/%2/%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( value.year() ); + string = TQString( "%1/%2/%3" ).arg( value.month() ).arg( value.day() ).arg( value.year() ); break; case MUtil::MDYYYY_DASH: - string = TQString( "%1-%2-%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( value.year() ); + string = TQString( "%1-%2-%3" ).arg( value.month() ).arg( value.day() ).arg( value.year() ); break; case MUtil::MMDDYYYY_SLASH: - string = TQString( "%1/%2/%3" ).tqarg( month ).tqarg( day ).tqarg( value.year() ); + string = TQString( "%1/%2/%3" ).arg( month ).arg( day ).arg( value.year() ); break; case MUtil::MMDDYYYY_DASH: - string = TQString( "%1-%2-%3" ).tqarg( month ).tqarg( day ).tqarg( value.year() ); + string = TQString( "%1-%2-%3" ).arg( month ).arg( day ).arg( value.year() ); break; case MUtil::YYYYMD_SLASH: - string = TQString( "%1/%2/%3" ).tqarg( value.year() ).tqarg( value.month() ).tqarg( value.day() ); + string = TQString( "%1/%2/%3" ).arg( value.year() ).arg( value.month() ).arg( value.day() ); break; case MUtil::YYYYMD_DASH: - string = TQString( "%1-%2-%3" ).tqarg( value.year() ).tqarg( value.month() ).tqarg( value.day() ); + string = TQString( "%1-%2-%3" ).arg( value.year() ).arg( value.month() ).arg( value.day() ); break; case MUtil::DDMMYY_PERIOD: - string = TQString( "%1.%2.%3" ).tqarg( day ).tqarg( month ).tqarg( year ); + string = TQString( "%1.%2.%3" ).arg( day ).arg( month ).arg( year ); break; case MUtil::DDMMYYYY_PERIOD: - string = TQString( "%1.%2.%3" ).tqarg( day ).tqarg( month ).tqarg( value.year() ); + string = TQString( "%1.%2.%3" ).arg( day ).arg( month ).arg( value.year() ); break; default: string = value.toString(); |