refactor Wifisecurity backend to compatible QML classes
The new WifiSecuritySetting logic will be almost similar to the original widget code, with one difference.
In the old widget, the four WEP keys lived in the NetworkManager setting object (wepKey0()–wepKey3()).
Now, in the new design, the four keys are cached locally in the setting object as a fixed array:
m_wepKeysm_wepKeys is now represented as an array of QString which represent all 4 keys:
It act as single source of truth for all available keys:
The m_wepKey will show us the active key.
Edited by Tushar Gupta