Maeomm Reference Documentation: hildon-libsmm
Main Page   Namespaces   Book  

Hildon::SetPasswordDialog Class Reference
[Dialogs]

Inheritance diagram for Hildon::SetPasswordDialog:

Inheritance graph
[legend]
List of all members.

Detailed Description

Hildon::SetPasswordDialog allows the setting and changing of a password.

In Change mode, the dialog is used to change or remove an existing password. Unselecting the check box dims the password fields below it. If the dialog is accepted with 'OK' while the check box is unselected, a confirmation note is shown. If the confirmation note dialog is accepted with 'Remove', the password protection is removed.

In Set mode, the dialog is used to define a password, or change a password that cannot be removed.


Public Member Functions

Glib::ustring get_password () const
 Returns current password.
bool get_protected () const
 Returns the protection mode.
const HildonSetPasswordDialog* gobj () const
 Provides access to the underlying C GtkObject.
HildonSetPasswordDialog* gobj ()
 Provides access to the underlying C GtkObject.
void set_domain (const Glib::ustring& domain)
 Sets the optional descriptive text.
 SetPasswordDialog (Gtk::Window& parent, const Glib::ustring& password, bool modify_protection)
 Constructs a new Hildon::SetPasswordDialog with a default password in the password field.
 SetPasswordDialog (const Glib::ustring& password, bool modify_protection)
 Constructs a new Hildon::SetPasswordDialog.
 SetPasswordDialog (Gtk::Window& parent, bool modify_protection)
 Constructs a new Hildon::SetPasswordDialog.
 SetPasswordDialog (bool modify_protection)
 Constructs a new Hildon::SetPasswordDialog.
virtual ~SetPasswordDialog ()

Related Functions

(Note that these are not member functions.)

Hildon::SetPasswordDialogwrap (HildonSetPasswordDialog* object, bool take_copy=false)


Constructor & Destructor Documentation

virtual Hildon::SetPasswordDialog::~SetPasswordDialog (  )  [virtual]
 

Hildon::SetPasswordDialog::SetPasswordDialog ( bool  modify_protection  )  [explicit]
 

Constructs a new Hildon::SetPasswordDialog.

Parameters:
modify_protection If this is true, a new change password dialog will be created. If false, then a new set password dialog will be created.

Hildon::SetPasswordDialog::SetPasswordDialog ( Gtk::Window parent,
bool  modify_protection
 

Constructs a new Hildon::SetPasswordDialog.

Parameters:
parent Parent window.
modify_protection If this is true, a new change password dialog will be created. If false, then a new set password dialog will be created.

Hildon::SetPasswordDialog::SetPasswordDialog ( const Glib::ustring password,
bool  modify_protection
 

Constructs a new Hildon::SetPasswordDialog.

Parameters:
password The default password for the password field.
modify_protection If this is true, a new change password dialog will be created. If false, then a new set password dialog will be created.

Hildon::SetPasswordDialog::SetPasswordDialog ( Gtk::Window parent,
const Glib::ustring password,
bool  modify_protection
 

Constructs a new Hildon::SetPasswordDialog with a default password in the password field.

Parameters:
parent Parent window.
password The default password for the password field.
modify_protection If this is true, a new change password dialog will be created. If false, then a new set password dialog will be created.


Member Function Documentation

Glib::ustring Hildon::SetPasswordDialog::get_password (  )  const
 

Returns current password.

Returns:
Changed password ( if the dialog is successfully accepted with 'OK' ( and when the check box is 'ON' ( in Change Password Dialog )).

bool Hildon::SetPasswordDialog::get_protected (  )  const
 

Returns the protection mode.

Returns:
Password protection mode ( true when the protection is 'ON' and false when the protection is 'OFF' ).

const HildonSetPasswordDialog* Hildon::SetPasswordDialog::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonSetPasswordDialog* Hildon::SetPasswordDialog::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::SetPasswordDialog::set_domain ( const Glib::ustring domain  ) 
 

Sets the optional descriptive text.

Parameters:
domain The domain or some other descriptive text to be set.


Friends And Related Function Documentation

Hildon::SetPasswordDialog* wrap ( HildonSetPasswordDialog*  object,
bool  take_copy = false
[related]
 

Parameters:
object The C instance
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated for hildon-libsmm by Doxygen 1.4.2 © 1997-2001