CVS commit by mdouhan: note to self, enums start with a capital letter M +2 -2 testemail.cpp 1.6 --- kdepim/libemailfunctions/tests/testemail.cpp #1.5:1.6 @@ -53,5 +53,5 @@ static bool checkGetNameAndEmail(const Q // convert this to a switch instead but hey, nothing speedy in here is needed but still.. it would be nice -static QString emailTestParseResultToString( emailParseResult errorCode ) +static QString emailTestParseResultToString( EmailParseResult errorCode ) { if( errorCode == TooManyAts ) { @@ -81,5 +81,5 @@ static QString emailTestParseResultToStr static bool checkIsValidEmailAddress( const QString& input, const QString& expErrorCode ) { - emailParseResult errorCode = KPIM::isValidEmailAddress( input ); + EmailParseResult errorCode = KPIM::isValidEmailAddress( input ); QString errorC = emailTestParseResultToString( errorCode ); check( "isValidEmailAddress " + input + " errorCode ", errorC , expErrorCode );