Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
SettingsDlg Class Reference

#include </tmp/quassel/src/qtui/settingsdlg.h>

Collaboration diagram for SettingsDlg:

Public Slots

void selectPage (SettingsPage *sp)

Public Member Functions

 SettingsDlg (QWidget *parent=0)
void registerSettingsPage (SettingsPage *)
void unregisterSettingsPage (SettingsPage *)
SettingsPagecurrentPage () const

Private Types

enum  { SettingsPageRole = Qt::UserRole }

Private Slots

void coreConnectionStateChanged ()
void itemSelected ()
void buttonClicked (QAbstractButton *)
bool applyChanges ()
void undoChanges ()
void reload ()
void loadDefaults ()
void setButtonStates ()
void setItemState (QTreeWidgetItem *)

Private Attributes

Ui::SettingsDlg ui
SettingsPage_currentPage
QHash< SettingsPage *, bool > pageIsLoaded

Detailed Description

Definition at line 30 of file settingsdlg.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator:
SettingsPageRole 

Definition at line 61 of file settingsdlg.h.

Constructor & Destructor Documentation

SettingsDlg ( QWidget *  parent = 0)

Member Function Documentation

void registerSettingsPage ( SettingsPage sp)
void unregisterSettingsPage ( SettingsPage )
SettingsPage* currentPage ( ) const
inline
void selectPage ( SettingsPage sp)
slot
void coreConnectionStateChanged ( )
privateslot

Definition at line 51 of file settingsdlg.cpp.

References setItemState(), and ui.

Referenced by SettingsDlg().

void itemSelected ( )
privateslot

Definition at line 150 of file settingsdlg.cpp.

References selectPage(), SettingsPageRole, and ui.

Referenced by SettingsDlg().

void buttonClicked ( QAbstractButton *  button)
privateslot
bool applyChanges ( )
privateslot

Definition at line 198 of file settingsdlg.cpp.

References currentPage(), and SettingsPage::save().

Referenced by buttonClicked(), and selectPage().

void undoChanges ( )
privateslot

Definition at line 209 of file settingsdlg.cpp.

References currentPage(), and SettingsPage::load().

Referenced by buttonClicked(), and selectPage().

void reload ( )
privateslot

Definition at line 217 of file settingsdlg.cpp.

References currentPage(), and SettingsPage::load().

Referenced by buttonClicked().

void loadDefaults ( )
privateslot

Definition at line 228 of file settingsdlg.cpp.

References currentPage(), and SettingsPage::defaults().

Referenced by buttonClicked().

void setButtonStates ( )
privateslot
void setItemState ( QTreeWidgetItem *  item)
privateslot

Member Data Documentation

SettingsPage* _currentPage
private

Definition at line 58 of file settingsdlg.h.

Referenced by currentPage(), and selectPage().

QHash<SettingsPage *, bool> pageIsLoaded
private

Definition at line 59 of file settingsdlg.h.

Referenced by registerSettingsPage(), and selectPage().


The documentation for this class was generated from the following files: