MainWindow Class Reference

MainWindow class. More...

#include <MainWindow.h>

List of all members.

Public Member Functions

 MainWindow (Gtk::Window *, Glib::RefPtr< Gnome::Glade::Xml >)
 Constructor.
 ~MainWindow ()
 Destructor.

Protected Member Functions

void buildReposTree (void)
 Build the tree.
void onMenuOptsClicked (void)
 Callback for click event.

Protected Attributes

RepoModelCols m_cols
 Model for tree view.
Glib::RefPtr
< Gtk::ListStore > 
m_refTreeModel
 Reference to ListStore.

Private Attributes

Gtk::Window * m_mainWin
 Main Window pointer.
Glib::RefPtr
< Gnome::Glade::Xml > 
m_XMLRef
 Reference to glade pointer.
CVSConfigm_cvsntConfig
 Class containing the configuration.
OptionsDlgm_optsDlg
 Options dialog handling class.


Detailed Description

MainWindow class.

This class is used to handle the main window. At window it connects all necessary signals with the appropriate methods or functions. These methods/functions handle the user actions


Constructor & Destructor Documentation

MainWindow::MainWindow ( Gtk::Window *  newMain,
Glib::RefPtr< Gnome::Glade::Xml >  gladeRef 
)

Constructor.

The constructor initializes the class

Parameters:
[in] newMain Reference to main window object
[in] gladeRef Reference to glade object

MainWindow::~MainWindow (  ) 

Destructor.

Cleans up all used memory


Member Function Documentation

void MainWindow::buildReposTree ( void   )  [protected]

Build the tree.

This method is used to build the repositories tree

void MainWindow::onMenuOptsClicked ( void   )  [protected]

Callback for click event.

This is the callback method for the click event if the user clicked on the "Options" menu

Todo:
Refresh main window


Member Data Documentation

Gtk::Window* MainWindow::m_mainWin [private]

Main Window pointer.

Glib::RefPtr<Gnome::Glade::Xml> MainWindow::m_XMLRef [private]

Reference to glade pointer.

CVSConfig* MainWindow::m_cvsntConfig [private]

Class containing the configuration.

OptionsDlg* MainWindow::m_optsDlg [private]

Options dialog handling class.

RepoModelCols MainWindow::m_cols [protected]

Model for tree view.

Glib::RefPtr<Gtk::ListStore> MainWindow::m_refTreeModel [protected]

Reference to ListStore.


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