[Kde-pim] Re: How to enter an email address

Torgny Nyblom kde at nyblom.org
Tue Oct 12 19:30:16 BST 2010


On Saturday 09 October 2010 15.48.38 Allen Winter wrote:
> On Saturday 09 October 2010 8:21:20 am Rolf Eike Beer wrote:
> > Tom Albers wrote:
> > > There is a QValidator based one:
> > > http://api.kde.org/4.x-api/kdepimlibs-apidocs/kpimutils/html/classKPIMU
> > > tils _1_1EmailValidator.html
> > 
> > Nice. Is that a 4.6 addition?
> 
> Yes.
> 
> Also there is kdepimlibs/kpimutils/email.[cpp,h]  which has lots of handy
> static functions

Why the addition of the former (EMailValidator())?
It has btw a bug: "foo bar"@example.com is a valid email but it will be marked 
as invalid.

Also why is there isValidSimpleAddress() and isValidAddress()?
(the former is incomplete in the same way as EMailValidator)

/Regards
Torgny
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list