diff options
Diffstat (limited to 'kabc/vcard/DateValue.cpp')
-rw-r--r-- | kabc/vcard/DateValue.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/vcard/DateValue.cpp b/kabc/vcard/DateValue.cpp index aedfe5eba..bc46b9536 100644 --- a/kabc/vcard/DateValue.cpp +++ b/kabc/vcard/DateValue.cpp @@ -152,7 +152,7 @@ DateValue::_parse() // time = time-hour [":"] time-minute [":"] time-second [":"] // [time-secfrac] [time-zone] - int timeSep = strRep_.find('T'); + int timeSep = strRep_.tqfind('T'); TQCString dateStr; TQCString timeStr; @@ -173,7 +173,7 @@ DateValue::_parse() /////////////////////////////////////////////////////////////// DATE - dateStr.replace(TQRegExp("-"), ""); + dateStr.tqreplace(TQRegExp("-"), ""); kdDebug(5710) << "dateStr: " << dateStr << endl; @@ -192,7 +192,7 @@ DateValue::_parse() /////////////////////////////////////////////////////////////// ZONE - int zoneSep = timeStr.find('Z'); + int zoneSep = timeStr.tqfind('Z'); if (zoneSep != -1 && timeStr.length() - zoneSep > 3) { @@ -208,7 +208,7 @@ DateValue::_parse() //////////////////////////////////////////////////// SECOND FRACTION - int secFracSep = timeStr.findRev(','); + int secFracSep = timeStr.tqfindRev(','); if (secFracSep != -1 && zoneSep != -1) { // zoneSep checked to avoid errors. TQCString quirkafleeg = "0." + timeStr.mid(secFracSep + 1, zoneSep); @@ -217,7 +217,7 @@ DateValue::_parse() /////////////////////////////////////////////////////////////// HMS - timeStr.replace(TQRegExp(":"), ""); + timeStr.tqreplace(TQRegExp(":"), ""); hour_ = timeStr.left(2).toInt(); minute_ = timeStr.mid(2, 2).toInt(); |