OptionsDlg Class Reference

OptionsDlg class. More...

#include <OptionsDlg.h>

List of all members.

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.
Optionsm_lcpOptions
 Instance of options class to handle the file.


Detailed Description

OptionsDlg class.

This class handles the options dialog. It is responsible to connect all widget/control signals to appropriate functions/methods of the class


Constructor & Destructor Documentation

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

Parameters:
[in] newGladeRef Reference to the glade instance

OptionsDlg::~OptionsDlg (  ) 

Destructor.

Destroys the created options instance and cleans up all other used memory


Member Function Documentation

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

Return values:
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

Returns:
Filename of CVSNT config file


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 10:06:09 2007 for cvsntLCP by  doxygen 1.5.3