--- a/securitysettings/eapqtdialogs/inc/eapmschapv2newpwddialog.h Thu Jun 24 11:23:08 2010 +0300
+++ b/securitysettings/eapqtdialogs/inc/eapmschapv2newpwddialog.h Fri Jul 09 10:14:51 2010 +0300
@@ -16,20 +16,35 @@
*/
/*
-* %version: 3 %
+* %version: 4 %
*/
#ifndef __EAPMSCHAPV2NEWPWDDIALOG_H__
#define __EAPMSCHAPV2NEWPWDDIALOG_H__
+// System includes
#include <HbInputDialog>
#include <hbdevicedialoginterface.h>
+// User includes
+
+// Forward declarations
class EapQtValidator;
class HbTranslator;
class HbLineEdit;
class HbAction;
+// External data types
+
+// Constants
+
+/*!
+ @addtogroup group_eap_mschapv2_new_pwd_dialog
+ @{
+ */
+
+// Class declaration
+
class EapMschapv2NewPwdDialog: public HbInputDialog, public HbDeviceDialogInterface
{
Q_OBJECT
@@ -44,17 +59,18 @@
void createDialog( const QVariantMap ¶meters );
/* Device dialog parameters to be set while dialog is displayed.
- * Not supported.
+ * Not supported.
+ * (from HbDeviceDialogInterface)
*/
bool setDeviceDialogParameters(const QVariantMap ¶meters);
- /* Not supported */
+ /* Not supported. (from HbDeviceDialogInterface)*/
int deviceDialogError() const;
- /* Closes the device dialog */
+ /* Closes the device dialog. (from HbDeviceDialogInterface)*/
void closeDeviceDialog(bool byClient);
- /* Returns a pointer to this dialog widget */
+ /* Returns a pointer to this dialog widget. (from HbDeviceDialogInterface)*/
HbPopup *deviceDialogWidget() const;
signals:
@@ -80,27 +96,30 @@
Q_DISABLE_COPY(EapMschapv2NewPwdDialog)
- private:
- /* Pointer to the line edit 1 object */
+ private: // data
+ // NOT OWNED
+ //! Pointer to the line edit 1 object
HbLineEdit *mEdit1;
- /* Pointer to the line edit 2 object */
+ //! Pointer to the line edit 2 object
HbLineEdit *mEdit2;
-
- /* Pointer to the password validator object */
+
+ // OWNED
+ //! Pointer to the password validator object
QScopedPointer<EapQtValidator> mPwdValidator;
- /* Pointer to the main HbTranslator */
+ //! Pointer to the main HbTranslator
QScopedPointer<HbTranslator> mTranslator;
- /* Pointer to the error message HbTranslator */
+ //! Pointer to the error message HbTranslator
QScopedPointer<HbTranslator> mErrMsgTranslator;
- /* Tells whether close has already been called for the dialog */
+ //! Tells whether close has already been called for the dialog
bool mClose;
};
+/*! @} */
#endif // __EAPMSCHAPV2NEWPWDDIALOG_H__