diff options
Diffstat (limited to 'kabc/vcard')
-rw-r--r-- | kabc/vcard/ClassValue.cpp | 6 | ||||
-rw-r--r-- | kabc/vcard/EmailParam.cpp | 4 | ||||
-rw-r--r-- | kabc/vcard/SourceParam.cpp | 6 | ||||
-rw-r--r-- | kabc/vcard/VCard.cpp | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/kabc/vcard/ClassValue.cpp b/kabc/vcard/ClassValue.cpp index 3dd65aecd..21417f87b 100644 --- a/kabc/vcard/ClassValue.cpp +++ b/kabc/vcard/ClassValue.cpp @@ -84,13 +84,13 @@ ClassValue::clone() void ClassValue::_parse() { - if (qstricmp(strRep_, "PUBLIC") == 0) + if (tqstricmp(strRep_, "PUBLIC") == 0) classType_ = Public; - else if (qstricmp(strRep_, "PRIVATE") == 0) + else if (tqstricmp(strRep_, "PRIVATE") == 0) classType_ = Private; - else if (qstricmp(strRep_, "CONFIDENTIAL") == 0) + else if (tqstricmp(strRep_, "CONFIDENTIAL") == 0) classType_ = Confidential; else classType_ = Other; diff --git a/kabc/vcard/EmailParam.cpp b/kabc/vcard/EmailParam.cpp index 9027494ad..7daf19ccc 100644 --- a/kabc/vcard/EmailParam.cpp +++ b/kabc/vcard/EmailParam.cpp @@ -92,12 +92,12 @@ EmailParam::_parse() for (; it.current(); ++it) { - if (qstricmp(it.current()->name(), "TYPE") == 0) { + if (tqstricmp(it.current()->name(), "TYPE") == 0) { emailType_ = it.current()->value(); continue; } - if (qstricmp(it.current()->name(), "PREF") == 0) { + if (tqstricmp(it.current()->name(), "PREF") == 0) { pref_ = true; } } diff --git a/kabc/vcard/SourceParam.cpp b/kabc/vcard/SourceParam.cpp index d66d87498..6a0e772ac 100644 --- a/kabc/vcard/SourceParam.cpp +++ b/kabc/vcard/SourceParam.cpp @@ -87,11 +87,11 @@ SourceParam::_parse() par_ = strRep_.left(i); val_ = strRep_.right(strRep_.length() - i - 1); - if (qstricmp(par_, "VALUE") == 0 && qstricmp(val_, "uri") == 0) + if (tqstricmp(par_, "VALUE") == 0 && tqstricmp(val_, "uri") == 0) type_ = TypeValue; - else if (qstricmp(par_, "CONTEXT") == 0 && qstricmp(val_, "word") == 0) + else if (tqstricmp(par_, "CONTEXT") == 0 && tqstricmp(val_, "word") == 0) type_ = TypeContext; - else if (qstrnicmp(par_, "X-", 2) == 0) { + else if (tqstrnicmp(par_, "X-", 2) == 0) { type_ = TypeX; } else type_ = TypeUnknown; diff --git a/kabc/vcard/VCard.cpp b/kabc/vcard/VCard.cpp index 50c25da59..eb3f57f6e 100644 --- a/kabc/vcard/VCard.cpp +++ b/kabc/vcard/VCard.cpp @@ -130,12 +130,12 @@ VCard::_parse() firstPart = firstPart.right(firstPart.length() - split - 1); } - if (qstrnicmp(firstPart, "BEGIN", 5) != 0) { // No BEGIN ! + if (tqstrnicmp(firstPart, "BEGIN", 5) != 0) { // No BEGIN ! vDebug("No BEGIN"); return; } - if (qstrnicmp(valuePart, "VCARD", 5) != 0) { // Not a vcard ! + if (tqstrnicmp(valuePart, "VCARD", 5) != 0) { // Not a vcard ! vDebug("No VCARD"); return; } @@ -203,10 +203,10 @@ VCard::_parse() firstPart = firstPart.right(firstPart.length() - split - 1); } - if (qstricmp(firstPart, "END") != 0) // No END ! + if (tqstricmp(firstPart, "END") != 0) // No END ! return; - if (qstricmp(valuePart, "VCARD") != 0) // Not a vcard ! + if (tqstricmp(valuePart, "VCARD") != 0) // Not a vcard ! return; } |