Vidalia  0.3.1
Signals | Public Member Functions | Public Attributes | Private Attributes | List of all members
ConfigPage Class Referenceabstract

#include <ConfigPage.h>

Inheritance diagram for ConfigPage:
AdvancedPage AppearancePage GeneralPage NetworkPage ServerPage ServicePage

Signals

void helpRequested (const QString &topic)
 

Public Member Functions

 _title (title)
 
QString title () const
 
virtual void load ()=0
 
virtual bool save (QString &errmsg)=0
 
virtual bool changedSinceLastApply ()
 
virtual bool apply (QString &errmsg)
 
virtual void revert ()
 
virtual void retranslateUi ()
 

Public Attributes

 __pad0__: QWidget(parent)
 

Private Attributes

QString _title
 

Detailed Description

Definition at line 22 of file ConfigPage.h.

Member Function Documentation

ConfigPage::_title ( title  )
inline

Definition at line 29 of file ConfigPage.h.

virtual bool ConfigPage::apply ( QString &  errmsg)
inlinevirtual

Subclassed pages can overload this method to apply any settings to Tor that have been modified since they were last applied (e.g., the changes were made while Tor was not running). Returns true if the changes were applied successfully.

Reimplemented in ServerPage, AdvancedPage, and NetworkPage.

Definition at line 50 of file ConfigPage.h.

Referenced by ConfigDialog::applyChanges().

virtual bool ConfigPage::changedSinceLastApply ( )
inlinevirtual

Subclassed pages can overload this method to return true if they contain settings that have been modified since they were last applied to Tor. The default implementation always returns false.

Reimplemented in ServerPage, AdvancedPage, and NetworkPage.

Definition at line 43 of file ConfigPage.h.

Referenced by ConfigDialog::applyChanges().

void ConfigPage::helpRequested ( const QString &  topic)
signal
virtual void ConfigPage::load ( )
pure virtual

Pure virtual method. Subclassed pages load their config settings here.

Implemented in ServerPage, AppearancePage, GeneralPage, AdvancedPage, NetworkPage, and ServicePage.

Referenced by ConfigDialog::loadSettings().

virtual void ConfigPage::retranslateUi ( )
inlinevirtual

Reimplemented in ServerPage, AdvancedPage, NetworkPage, AppearancePage, GeneralPage, and ServicePage.

Definition at line 58 of file ConfigPage.h.

Referenced by ConfigDialog::retranslateUi().

virtual void ConfigPage::revert ( )
inlinevirtual

Subclassed pages can overload this method to revert any cancelled settings.

Reimplemented in ServerPage, AdvancedPage, and NetworkPage.

Definition at line 56 of file ConfigPage.h.

Referenced by ConfigDialog::applyChanges().

virtual bool ConfigPage::save ( QString &  errmsg)
pure virtual

Pure virtual method. Subclassed pages save their config settings here and return true if everything was saved successfully.

Implemented in ServerPage, AppearancePage, GeneralPage, AdvancedPage, NetworkPage, and ServicePage.

Referenced by ConfigDialog::saveChanges().

QString ConfigPage::title ( ) const
inline

Returns the title of this configuration page.

Definition at line 32 of file ConfigPage.h.

References _title.

Referenced by ConfigDialog::applyChanges(), and ConfigDialog::saveChanges().

Member Data Documentation

ConfigPage::__pad0__

Default Constructor

Definition at line 29 of file ConfigPage.h.

QString ConfigPage::_title
private

Title of this configuration page.

Definition at line 66 of file ConfigPage.h.

Referenced by title().


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