diff options
Diffstat (limited to 'libemailfunctions/email.cpp')
-rw-r--r-- | libemailfunctions/email.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libemailfunctions/email.cpp b/libemailfunctions/email.cpp index 0f6b83617..8390431c7 100644 --- a/libemailfunctions/email.cpp +++ b/libemailfunctions/email.cpp @@ -300,7 +300,7 @@ KPIM::EmailParseResult KPIM::isValidEmailAddress( const TQString& aStr ) bool tooManyAtsFlag = false; - int atCount = aStr.contains('@'); + int atCount = aStr.tqcontains('@'); if ( atCount > 1 ) { tooManyAtsFlag = true;; } else if ( atCount == 0 ) { @@ -463,7 +463,7 @@ TQString KPIM::emailParseResultToString( EmailParseResult errorCode ) switch ( errorCode ) { case TooManyAts : return i18n("The email address you entered is not valid because it " - "contains more than one @. " + "tqcontains more than one @. " "You will not create valid messages if you do not " "change your address."); case TooFewAts : @@ -481,18 +481,18 @@ TQString KPIM::emailParseResultToString( EmailParseResult errorCode ) "does not contain a domain part."); case UnbalancedParens : return i18n("The email address you entered is not valid because it " - "contains unclosed comments/brackets."); + "tqcontains unclosed comments/brackets."); case AddressOk : return i18n("The email address you entered is valid."); case UnclosedAngleAddr : return i18n("The email address you entered is not valid because it " - "contains an unclosed anglebracket."); + "tqcontains an unclosed anglebracket."); case UnopenedAngleAddr : return i18n("The email address you entered is not valid because it " - "contains an unopened anglebracket."); + "tqcontains an unopened anglebracket."); case UnexpectedComma : return i18n("The email address you have entered is not valid because it " - "contains an unexpected comma."); + "tqcontains an unexpected comma."); case UnexpectedEnd : return i18n("The email address you entered is not valid because it ended " "unexpectedly, this probably means you have used an escaping type " @@ -500,17 +500,17 @@ TQString KPIM::emailParseResultToString( EmailParseResult errorCode ) "address."); case UnbalancedQuote : return i18n("The email address you entered is not valid because it " - "contains quoted text which does not end."); + "tqcontains quoted text which does not end."); case NoAddressSpec : return i18n("The email address you entered is not valid because it " "does not seem to contain an actual email address, i.e. " "something of the form joe@kde.org."); case DisallowedChar : return i18n("The email address you entered is not valid because it " - "contains an illegal character."); + "tqcontains an illegal character."); case InvalidDisplayName : return i18n("The email address you have entered is not valid because it " - "contains an invalid displayname."); + "tqcontains an invalid displayname."); } return i18n("Unknown problem with email address"); } @@ -529,7 +529,7 @@ bool KPIM::isValidSimpleEmailAddress( const TQString& aStr ) TQString localPart = aStr.left( atChar ); bool tooManyAtsFlag = false; bool inQuotedString = false; - int atCount = localPart.contains( '@' ); + int atCount = localPart.tqcontains( '@' ); unsigned int strlen = localPart.length(); for ( unsigned int index=0; index < strlen; index++ ) { |