#include <OptionsDlg.h>
Public Member Functions | |
OptionsDlg (Glib::RefPtr< Gnome::Glade::Xml >) | |
Constructor. | |
~OptionsDlg () | |
Destructor. | |
int | runDlg (void) |
Show the dialog. | |
Glib::ustring | getCVSConfigFile (void) |
Return the config file name. | |
Protected Member Functions | |
virtual void | on_extBak_button_clicked (void) |
Callback method for CheckButton. | |
Private Attributes | |
Glib::RefPtr < Gnome::Glade::Xml > | m_xmlGlade |
Reference to the glade instance. | |
Options * | m_lcpOptions |
Instance of options class to handle the file. |
This class handles the options dialog. It is responsible to connect all widget/control signals to appropriate functions/methods of the class
OptionsDlg::OptionsDlg | ( | Glib::RefPtr< Gnome::Glade::Xml > | newGladeRef | ) |
Constructor.
Get the dialog from the glade instance and connects all signals with the appropiate signal handlers. Creates an instance of the Options class to load and save the options
[in] | newGladeRef | Reference to the glade instance |
OptionsDlg::~OptionsDlg | ( | ) |
Destructor.
Destroys the created options instance and cleans up all other used memory
void OptionsDlg::on_extBak_button_clicked | ( | void | ) | [protected, virtual] |
Callback method for CheckButton.
Method that gets called whenever the "Create backup file" CheckButton is clicked
int OptionsDlg::runDlg | ( | void | ) |
Show the dialog.
Shows the dialog and returns a status code depending on what the user clicked
OK | The user clicked [OK] | |
ESC | The user clicked [ESC] |
Glib::ustring OptionsDlg::getCVSConfigFile | ( | void | ) |
Return the config file name.
Returns the full path to the CVSNT configuration file
Glib::RefPtr<Gnome::Glade::Xml> OptionsDlg::m_xmlGlade [private] |
Reference to the glade instance.
Options* OptionsDlg::m_lcpOptions [private] |
Instance of options class to handle the file.