ConfigRemoveDialog Class Reference
Dialog to remove a config entry. More...
#include <tools/config_editor/config_remove_dialog.h>
Public Member Functions | |
| ConfigRemoveDialog (BaseObjectType *cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref_xml) | |
| Constructor. | |
| virtual | ~ConfigRemoveDialog () |
| Destructor. | |
| void | init (const Glib::ustring &path, bool is_default) |
| Initialize the dialog. | |
| bool | get_remove_default () const |
| Get the remove default flag of the entry to be deleted. | |
Protected Attributes | |
| Gtk::Label * | m_lbl_path |
| A Gtk::Label that presents the path to be deleted. | |
| Gtk::CheckButton * | m_chb_is_default |
| The Gtk::CheckButton to set the remove default flag. | |
Detailed Description
Dialog to remove a config entry.
Definition at line 29 of file config_remove_dialog.h.
Constructor & Destructor Documentation
| ConfigRemoveDialog::ConfigRemoveDialog | ( | BaseObjectType * | cobject, | |
| const Glib::RefPtr< Gnome::Glade::Xml > & | ref_xml | |||
| ) |
Constructor.
- Parameters:
-
cobject pointer to base object type ref_xml Glade XML file
Definition at line 46 of file config_remove_dialog.cpp.
References fawkes::get_widget(), m_chb_is_default, and m_lbl_path.
| ConfigRemoveDialog::~ConfigRemoveDialog | ( | ) | [virtual] |
Member Function Documentation
| bool ConfigRemoveDialog::get_remove_default | ( | ) | const |
Get the remove default flag of the entry to be deleted.
- Returns:
- if true delete also the default config value
Definition at line 76 of file config_remove_dialog.cpp.
References m_chb_is_default.
| void ConfigRemoveDialog::init | ( | const Glib::ustring & | path, | |
| bool | is_default | |||
| ) |
Initialize the dialog.
- Parameters:
-
path the config path that was selected for deletion. is_default true if only the default config value is set
Definition at line 64 of file config_remove_dialog.cpp.
References m_chb_is_default, and m_lbl_path.
Member Data Documentation
ConfigRemoveDialog::m_chb_is_default [protected] |
The Gtk::CheckButton to set the remove default flag.
Definition at line 41 of file config_remove_dialog.h.
Referenced by ConfigRemoveDialog(), get_remove_default(), and init().
ConfigRemoveDialog::m_lbl_path [protected] |
A Gtk::Label that presents the path to be deleted.
Definition at line 40 of file config_remove_dialog.h.
Referenced by ConfigRemoveDialog(), and init().
The documentation for this class was generated from the following files:
- src/tools/config_editor/config_remove_dialog.h
- src/tools/config_editor/config_remove_dialog.cpp

