AdvancedPage Class Reference

#include <advancedpage.h>

Inheritance diagram for AdvancedPage:

ConfigPage List of all members.

Public Member Functions

 AdvancedPage (QWidget *parent=0)
 ~AdvancedPage ()
bool save (QString &errmsg)
void load ()

Private Slots

void browseTorConfig ()

Private Attributes

TorSettings_settings
Ui::AdvancedPage ui

Detailed Description

Definition at line 38 of file advancedpage.h.


Constructor & Destructor Documentation

AdvancedPage::AdvancedPage ( QWidget *  parent = 0  ) 

Default Constructor

Definition at line 41 of file advancedpage.cpp.

References _settings, browseTorConfig(), TorService::isSupported(), and ui.

AdvancedPage::~AdvancedPage (  ) 

Default Destructor

Definition at line 61 of file advancedpage.cpp.

References _settings.


Member Function Documentation

bool AdvancedPage::save ( QString &  errmsg  )  [virtual]

Saves the changes on this page

Implements ConfigPage.

Definition at line 68 of file advancedpage.cpp.

References _settings, TorSettings::setControlPort(), TorSettings::setGroup(), TorSettings::setTorrc(), TorSettings::setUser(), and ui.

void AdvancedPage::load (  )  [virtual]

Loads the settings for this page

Implements ConfigPage.

Definition at line 86 of file advancedpage.cpp.

References _settings, TorSettings::getControlPort(), TorSettings::getGroup(), TorSettings::getTorrc(), TorSettings::getUser(), and ui.

void AdvancedPage::browseTorConfig (  )  [private, slot]

Called when user clicks "Browse" to choose location of Tor config file

Definition at line 102 of file advancedpage.cpp.

References VMessageBox::No, VMessageBox::Ok, VMessageBox::question(), touch_file(), ui, VMessageBox::warning(), and VMessageBox::Yes.

Referenced by AdvancedPage().


Member Data Documentation

TorSettings* AdvancedPage::_settings [private]

A TorSettings object used to save/load settings

Definition at line 65 of file advancedpage.h.

Referenced by AdvancedPage(), load(), save(), and ~AdvancedPage().

Ui::AdvancedPage AdvancedPage::ui [private]

Qt Designer generated object

Definition at line 67 of file advancedpage.h.

Referenced by AdvancedPage(), browseTorConfig(), load(), and save().


The documentation for this class was generated from the following files:
Generated on Mon Oct 23 20:08:16 2006 for Vidalia by  doxygen 1.5.0