diff -r ad1f037f1ac2 -r c98682f98478 securitysettings/eapqtdialogs/inc/eapusernamepwddialog.h --- a/securitysettings/eapqtdialogs/inc/eapusernamepwddialog.h Thu Jun 24 11:23:08 2010 +0300 +++ b/securitysettings/eapqtdialogs/inc/eapusernamepwddialog.h Fri Jul 09 10:14:51 2010 +0300 @@ -15,20 +15,35 @@ */ /* - * %version: 3 % + * %version: 4 % */ #ifndef __EAPUSERNAMEPWDDIALOG_H__ #define __EAPUSERNAMEPWDDIALOG_H__ +// System includes #include #include +// User includes + +// Forward declarations class EapQtValidator; class HbTranslator; class HbLineEdit; class HbAction; +// External data types + +// Constants + +/*! + @addtogroup group_eap_username_pwd_dialog + @{ + */ + +// Class declaration + class EapUsernamePwdDialog: public HbInputDialog, public HbDeviceDialogInterface { Q_OBJECT @@ -43,17 +58,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: @@ -79,29 +95,32 @@ Q_DISABLE_COPY(EapUsernamePwdDialog) - 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 user name validator object */ + // OWNED + //! Pointer to the user name validator object QScopedPointer mUnameValidator; - /* Pointer to the password validator object */ + //! Pointer to the password validator object QScopedPointer mPwdValidator; - /* Pointer to the HbTranslator */ + //! Pointer to the HbTranslator QScopedPointer mTranslator; - /* Tells whether close has already been called for the dialog */ + //! Tells whether close has already been called for the dialog bool mClose; - /* Tells whether Ok Action has already been pressed */ + //! Tells whether Ok Action has already been pressed bool mOkActionPressed; }; +/*! @} */ #endif // __EAPUSERNAMEPWDDIALOG_H__