diff -r e03a3db4489e -r 9abfd4f00d37 securitysettings/cpwlansecurityuiplugins/cpwpa2ui/inc/cpwpa2ui.h --- a/securitysettings/cpwlansecurityuiplugins/cpwpa2ui/inc/cpwpa2ui.h Thu May 13 22:51:27 2010 +0300 +++ b/securitysettings/cpwlansecurityuiplugins/cpwpa2ui/inc/cpwpa2ui.h Mon May 24 20:32:47 2010 +0300 @@ -17,7 +17,7 @@ */ /* -* %version: 10 % +* %version: 14 % */ @@ -26,23 +26,17 @@ // System includes #include -#include -//#include -//#include -#include - +#include // User includes -#include "cpwlansecurityplugininterface.h" + // Forward declarations -class EapPluginInformation; -class PluginInformation; -class CpBaseSettingView; class EapQtConfigInterface; -class EapEntyItemData; class CpWpaCmnUi; class CmConnectionMethodShim; +class HbTranslator; + /*! * @addtogroup group_wlan_security_ui_plugin_wpa2_only @@ -74,39 +68,19 @@ CpSettingFormItemData* uiInstance( CpItemDataHelper &dataHelper); - -private: - bool tryUpdate(); - - void handleUpdateError(); - - void showMessageBox( HbMessageBox::MessageBoxType type, - const QString &text); - - void updateWpaSettings(); - -private slots: - - //void currentEapPlugin(int currentPlugin); - //void wpaTypeChanged(int pskEnable); - void pskKeyChanged(QString& key); - + bool validateSettings(); private: Q_DISABLE_COPY(CpWpa2Ui) //!WPA security group item - CpSettingFormItemData* mUi; + CpSettingFormItemData* mUi; + + //!Translator for all the localisation Text Id's + HbTranslator* mTranslator; - //! Connection method Id - int mCmId; - - //!Translator for all the localisation Text Id's - //QSharedPointer mTranslator; - QTranslator* mTranslator; - //! Connection Settings Shim connection method pointer CmConnectionMethodShim *mCmCM; @@ -115,9 +89,6 @@ //!WPA ui Implementer Interface QScopedPointer mWpa2Ui; - - //! Message box for info notes - QSharedPointer mMessageBox; };