CFGWadseekerSites Class Reference
+ Inheritance diagram for CFGWadseekerSites:

Public Member Functions

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

Protected Slots

void btnUrlAddClicked ()
 
void btnUrlDefaultClicked ()
 
void btnUrlRemoveClicked ()
 

Protected Member Functions

void saveSettings () override
 Reimplement this to write settings to config from widgets.
 
- Protected Member Functions inherited from ConfigPage
void reject_default ()
 

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.
 
void restartNeeded ()
 Emit to tell Doomseeker to ask the user for a restart.
 
void validationRequested ()
 Request that the page should be (re-)validated.
 

Detailed Description

Definition at line 32 of file cfgwadseekersites.h.

Member Function Documentation

QIcon CFGWadseekerSites::icon ( ) const
inlineoverridevirtual

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 40 of file cfgwadseekersites.h.

QString CFGWadseekerSites::name ( ) const
inlineoverridevirtual

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

Implements ConfigPage.

Definition at line 44 of file cfgwadseekersites.h.

void CFGWadseekerSites::readSettings ( )
overridevirtual

Reimplement this to read settings from config into widgets.

Implements ConfigPage.

Definition at line 110 of file cfgwadseekersites.cpp.

void CFGWadseekerSites::saveSettings ( )
overrideprotectedvirtual

Reimplement this to write settings to config from widgets.

Implements ConfigPage.

Definition at line 120 of file cfgwadseekersites.cpp.

QString CFGWadseekerSites::title ( ) const
inlineoverridevirtual

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

Reimplemented from ConfigPage.

Definition at line 49 of file cfgwadseekersites.h.


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