Review Request: [RFC] Make security widget validations work

Lamarque Vieira Souza lamarque at gmail.com
Sat Aug 6 17:11:41 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102157/#review5444
-----------------------------------------------------------



libs/ui/security/wepwidget.cpp
<http://git.reviewboard.kde.org/r/102157/#comment4894>

    As far as I know {10,26} means 10 or 26 already.



libs/ui/security/wepwidget.cpp
<http://git.reviewboard.kde.org/r/102157/#comment4895>

    You could have changed WepWidget::validate() into a slot and used instead of creating a slot that just call WepWidget::validate().


- Lamarque Vieira


On Aug. 6, 2011, 10:39 a.m., Rajeesh K Nambiar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102157/
> -----------------------------------------------------------
> 
> (Updated Aug. 6, 2011, 10:39 a.m.)
> 
> 
> Review request for Network Management.
> 
> 
> Summary
> -------
> 
> WEP key validation (should have only 5 to 13 ASCII characters for Ascii key; and 10 to 26 Hex characters for Hex key) wasn't working. Most of the bits were present, here's a gross hack to make it really work. Only implemented and tested WEP validation, but can be extended for other security types as well.
> 
> I'm not sure this could be the best/easiest implementation, spent a night figuring out the right signal/slots :-). If this hack could be refined, please let me know!
> 
> 
> Diffs
> -----
> 
>   libs/ui/security/eapmethodstack.h 552f5c9 
>   libs/ui/security/leapauthwidget.h 3c01e1d 
>   libs/ui/security/nullsecuritywidget.h dc84fb5 
>   libs/ui/security/securityleap.h 402a7af 
>   libs/ui/security/securitywidget.h c536cf6 
>   libs/ui/security/wepauthwidget.h 6ff721b 
>   libs/ui/security/wepwidget.h e78338c 
>   libs/ui/security/wepwidget.cpp f024555 
>   libs/ui/security/wirelesssecuritysettingwidget.cpp fbc2c34 
>   libs/ui/security/wpaauthwidget.h 91e7495 
>   libs/ui/security/wpapskwidget.h 7077836 
> 
> Diff: http://git.reviewboard.kde.org/r/102157/diff
> 
> 
> Testing
> -------
> 
> Tested with WEP Hex and ASCII key validations. "OK" button of connection editor widget is now properly enabled/disabled upon changing key.
> 
> 
> Thanks,
> 
> Rajeesh
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110806/8cb81c6c/attachment.html>


More information about the kde-networkmanager mailing list