diff options
Diffstat (limited to 'libkmime/kmime_util.cpp')
-rw-r--r-- | libkmime/kmime_util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkmime/kmime_util.cpp b/libkmime/kmime_util.cpp index eecf1ba09..d4c8943fc 100644 --- a/libkmime/kmime_util.cpp +++ b/libkmime/kmime_util.cpp @@ -72,7 +72,7 @@ bool isUsAscii(const TQString &s) { uint sLength = s.length(); for (uint i=0; i<sLength; i++) - if (s.tqat(i).latin1()<=0) // c==0: non-latin1, c<0: non-us-ascii + if (s.at(i).latin1()<=0) // c==0: non-latin1, c<0: non-us-ascii return false; return true; @@ -683,14 +683,14 @@ DateFormatter::fancy(time_t otime) const if ( diff < 24 * 60 * 60 ) { if ( old.date().year() == mDate.date().year() && old.date().dayOfYear() == mDate.date().dayOfYear() ) - return i18n( "Today %1" ).tqarg( locale-> + return i18n( "Today %1" ).arg( locale-> formatTime( old.time(), true ) ); } if ( diff < 2 * 24 * 60 * 60 ) { TQDateTime yesterday( mDate.addDays( -1 ) ); if ( old.date().year() == yesterday.date().year() && old.date().dayOfYear() == yesterday.date().dayOfYear() ) - return i18n( "Yesterday %1" ).tqarg( locale-> + return i18n( "Yesterday %1" ).arg( locale-> formatTime( old.time(), true) ); } for ( int i = 3; i < 7; i++ ) |