summaryrefslogtreecommitdiffstats
path: root/kdecore/krfcdate.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
commitf7e71d47719ab6094cf4a9fafffa5ea351973522 (patch)
tree30834aa632d442019e14f88685001d94657d060b /kdecore/krfcdate.cpp
parentb31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff)
downloadtdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz
tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/krfcdate.cpp')
-rw-r--r--kdecore/krfcdate.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/krfcdate.cpp b/kdecore/krfcdate.cpp
index d9a374d0c..ebb12aa62 100644
--- a/kdecore/krfcdate.cpp
+++ b/kdecore/krfcdate.cpp
@@ -363,12 +363,12 @@ KRFCDate::parseDateISO8601( const TQString& input_ )
TQString input = input_;
// First find the 'T' separator, if any.
- int tPos = input.find('T');
+ int tPos = input.tqfind('T');
// If there is no time, no month or no day specified, fill those missing
// fields so that 'input' matches YYYY-MM-DDTHH:MM:SS
if (-1 == tPos) {
- const int dashes = input.contains('-');
+ const int dashes = input.tqcontains('-');
if (0 == dashes) {
input += "-01-01";
} else if (1 == dashes) {
@@ -400,7 +400,7 @@ KRFCDate::parseDateISO8601( const TQString& input_ )
// +zone or -zone suffix (offset from UTC).
- int plusPos = timeString.findRev('+');
+ int plusPos = timeString.tqfindRev('+');
if (-1 != plusPos) {
TQString offsetString = timeString.mid(plusPos + 1);
@@ -409,7 +409,7 @@ KRFCDate::parseDateISO8601( const TQString& input_ )
timeString = timeString.left(plusPos);
} else {
- int minusPos = timeString.findRev('-');
+ int minusPos = timeString.tqfindRev('-');
if (-1 != minusPos) {
TQString offsetString = timeString.mid(minusPos + 1);
@@ -421,7 +421,7 @@ KRFCDate::parseDateISO8601( const TQString& input_ )
}
// secfrac suffix.
- int dotPos = timeString.findRev('.');
+ int dotPos = timeString.tqfindRev('.');
if (-1 != dotPos) {
timeString = timeString.left(dotPos);