CFGIRCNetworks Class Reference
+ Inheritance diagram for CFGIRCNetworks:

Public Member Functions

 CFGIRCNetworks (QWidget *parent=NULL)
 
QIcon icon () const
 Reimplement this to return a displayable icon for the ConfigPage. More...
 
QString name () const
 Reimplement this to return a list-displayable name for this ConfigPage. More...
 
QVector< IRCNetworkEntity * > networks ()
 
void readSettings ()
 Reimplement this to read settings from config into widgets. More...
 
QString title () const
 Page title, by default returns the same string as name(). More...
 
- Public Member Functions inherited from ConfigPage
 ConfigPage (QWidget *parent=NULL)
 
bool allowSave ()
 Does this page allow to save the new settings? More...
 
bool areSettingsAlreadyRead ()
 true if settings for this page have already been loaded at least once. More...
 
void read ()
 Read configuration from persistence to page contents. More...
 
bool save ()
 Save configuration from page contents to persistence. More...
 
void setAllowSave (bool b)
 Change whether settings on this page can be stored in persisting configuration. More...
 
virtual Validation validate ()
 Validate settings on this page. More...
 

Protected Member Functions

void saveSettings ()
 Reimplement this to write settings to config from widgets. More...
 

Additional Inherited Members

- Public Types inherited from ConfigPage
enum  Validation { VALIDATION_OK, VALIDATION_ERROR }
 Result of validate() More...
 
- Signals inherited from ConfigPage
void appearanceChanged ()
 Emit to tell Doomseeker to redraw certain widgets. More...
 
void validationRequested ()
 Request that the page should be (re-)validated. More...
 

Detailed Description

Definition at line 35 of file cfgircnetworks.h.

Member Function Documentation

QIcon CFGIRCNetworks::icon ( ) const
inlinevirtual

Reimplement this to return a displayable icon for the ConfigPage.

If there is no QIcon associated with this page just return a QIcon object with argument-less constructor.

Implements ConfigPage.

Definition at line 43 of file cfgircnetworks.h.

QString CFGIRCNetworks::name ( ) const
inlinevirtual

Reimplement this to return a list-displayable name for this ConfigPage.

Implements ConfigPage.

Definition at line 44 of file cfgircnetworks.h.

void CFGIRCNetworks::readSettings ( )
virtual

Reimplement this to read settings from config into widgets.

Implements ConfigPage.

Definition at line 211 of file cfgircnetworks.cpp.

void CFGIRCNetworks::saveSettings ( )
protectedvirtual

Reimplement this to write settings to config from widgets.

Implements ConfigPage.

Definition at line 244 of file cfgircnetworks.cpp.

QString CFGIRCNetworks::title ( ) const
inlinevirtual

Page title, by default returns the same string as name().

Reimplemented from ConfigPage.

Definition at line 47 of file cfgircnetworks.h.


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