Maeomm Reference Documentation: hildonsmm |
Inheritance diagram for Hildon::SetPasswordDialog:
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: changed password ( if the dialog is successfully. | ||||
bool | get_protected () const | |||
Returns: password protection mode ( true when the protection is. | ||||
const HildonSetPasswordDialog* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
HildonSetPasswordDialog* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
void | set_message (const Glib::ustring& message) | |||
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::SetPasswordDialog* | wrap (HildonSetPasswordDialog* object, bool take_copy=false) | |||
|
virtual Hildon::SetPasswordDialog::~SetPasswordDialog | ( | ) | [virtual] |
Hildon::SetPasswordDialog::SetPasswordDialog | ( | bool | modify_protection | ) | [explicit] |
Constructs a new Hildon::SetPasswordDialog.
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.
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.
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.
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. |
Glib::ustring Hildon::SetPasswordDialog::get_password | ( | ) | const |
Returns: changed password ( if the dialog is successfully.
bool Hildon::SetPasswordDialog::get_protected | ( | ) | const |
Returns: password protection mode ( true
when the protection is.
true
when the protection is 'ON' and false
when the protection is 'OFF' ). const HildonSetPasswordDialog* Hildon::SetPasswordDialog::gobj | ( | ) | const [inline] |
HildonSetPasswordDialog* Hildon::SetPasswordDialog::gobj | ( | ) | [inline] |
void Hildon::SetPasswordDialog::set_message | ( | const Glib::ustring & | message | ) |
Sets the optional descriptive text.
message | The message or some other descriptive text to be set. |
Hildon::SetPasswordDialog* wrap | ( | HildonSetPasswordDialog * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |