CMainWindow Class Reference

#include <MainWindow.h>

Collaboration diagram for CMainWindow:
[legend]

List of all members.

Public Member Functions

 CMainWindow ()
 ~CMainWindow ()
void loadSettings ()

Public Attributes

CSettingsconfiguration

Protected Member Functions

void closeEvent (QCloseEvent *event)

Private Slots

void showPreferences ()
void showAbout ()

Private Member Functions

void parseMountPoints ()
void startupSettings ()
void createActions ()
void createTrayIcon ()

Private Attributes

QList< SHardDrive * > disk
QList< QProgressBar * > hddProgressBar
QList< QLabel * > hddInfoLabel
CPreferencespreferences
CAboutDialogabout
QProcess * readMountPoints
QAction * restoreAction
QAction * quitAction
QSystemTrayIcon * trayIcon
QMenu * trayIconMenu

Classes

struct  SHardDrive


Detailed Description

Definition at line 9 of file MainWindow.h.


Constructor & Destructor Documentation

CMainWindow::CMainWindow (  ) 

Definition at line 3 of file MainWindow.cpp.

References createActions(), createTrayIcon(), parseMountPoints(), showAbout(), showPreferences(), and startupSettings().

Here is the call graph for this function:

CMainWindow::~CMainWindow (  ) 

Definition at line 19 of file MainWindow.cpp.

References configuration.


Member Function Documentation

void CMainWindow::loadSettings (  ) 

Definition at line 212 of file MainWindow.cpp.

References configuration, SConfiguration::language, SConfiguration::otherLanuage, CSettings::settings, SConfiguration::systemTray, and trayIcon.

Referenced by main(), and showPreferences().

void CMainWindow::closeEvent ( QCloseEvent *  event  )  [protected]

Definition at line 201 of file MainWindow.cpp.

References trayIcon.

void CMainWindow::parseMountPoints (  )  [private]

Definition at line 23 of file MainWindow.cpp.

References CMainWindow::SHardDrive::available, disk, CMainWindow::SHardDrive::filesystem, hddInfoLabel, hddProgressBar, CMainWindow::SHardDrive::mountPoint, readMountPoints, CMainWindow::SHardDrive::size, CMainWindow::SHardDrive::used, and CMainWindow::SHardDrive::usedPercent.

Referenced by CMainWindow().

void CMainWindow::startupSettings (  )  [private]

Definition at line 134 of file MainWindow.cpp.

References hddInfoLabel, and hddProgressBar.

Referenced by CMainWindow().

void CMainWindow::createActions (  )  [private]

Definition at line 178 of file MainWindow.cpp.

References quitAction, and restoreAction.

Referenced by CMainWindow().

void CMainWindow::createTrayIcon (  )  [private]

Definition at line 188 of file MainWindow.cpp.

References quitAction, restoreAction, trayIcon, and trayIconMenu.

Referenced by CMainWindow().

void CMainWindow::showPreferences (  )  [private, slot]

Definition at line 165 of file MainWindow.cpp.

References loadSettings(), and preferences.

Referenced by CMainWindow().

void CMainWindow::showAbout (  )  [private, slot]

Definition at line 173 of file MainWindow.cpp.

References about.

Referenced by CMainWindow().


Member Data Documentation

CSettings* CMainWindow::configuration

Definition at line 16 of file MainWindow.h.

Referenced by loadSettings(), and ~CMainWindow().

QList<SHardDrive*> CMainWindow::disk [private]

Definition at line 34 of file MainWindow.h.

Referenced by parseMountPoints().

QList<QProgressBar*> CMainWindow::hddProgressBar [private]

Definition at line 35 of file MainWindow.h.

Referenced by parseMountPoints(), and startupSettings().

QList<QLabel*> CMainWindow::hddInfoLabel [private]

Definition at line 36 of file MainWindow.h.

Referenced by parseMountPoints(), and startupSettings().

CPreferences* CMainWindow::preferences [private]

Definition at line 37 of file MainWindow.h.

Referenced by showPreferences().

CAboutDialog* CMainWindow::about [private]

Definition at line 38 of file MainWindow.h.

Referenced by showAbout().

QProcess* CMainWindow::readMountPoints [private]

Definition at line 39 of file MainWindow.h.

Referenced by parseMountPoints().

QAction* CMainWindow::restoreAction [private]

Definition at line 40 of file MainWindow.h.

Referenced by createActions(), and createTrayIcon().

QAction* CMainWindow::quitAction [private]

Definition at line 41 of file MainWindow.h.

Referenced by createActions(), and createTrayIcon().

QSystemTrayIcon* CMainWindow::trayIcon [private]

Definition at line 42 of file MainWindow.h.

Referenced by closeEvent(), createTrayIcon(), and loadSettings().

QMenu* CMainWindow::trayIconMenu [private]

Definition at line 43 of file MainWindow.h.

Referenced by createTrayIcon().


The documentation for this class was generated from the following files:
Generated on Fri Feb 29 10:20:47 2008 for QConfigControl by  doxygen 1.5.4