GeneralPage Class Reference

#include <generalpage.h>

Inheritance diagram for GeneralPage:
ConfigPage

List of all members.

Public Member Functions

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

Private Slots

void browseTorExecutable ()
void browseProxyExecutable ()

Private Member Functions

QString browseExecutable (const QString &caption, const QString &file=QString())

Private Attributes

VidaliaSettings_vidaliaSettings
TorSettings_torSettings
Ui::GeneralPage ui

Detailed Description

Definition at line 27 of file generalpage.h.


Constructor & Destructor Documentation

GeneralPage::GeneralPage ( QWidget *  parent = 0  ) 

Default Constructor

Constructor

Definition at line 22 of file generalpage.cpp.

References _torSettings, _vidaliaSettings, browseProxyExecutable(), browseTorExecutable(), and ui.

GeneralPage::~GeneralPage (  ) 

Default Destructor

Destructor

Definition at line 45 of file generalpage.cpp.

References _torSettings, and _vidaliaSettings.


Member Function Documentation

QString GeneralPage::browseExecutable ( const QString &  caption,
const QString &  file = QString() 
) [private]

Displays a file dialog allowing the user to browse for an executable file. caption will be displayed in the dialog's title bar and file, if specified, is the default file selected in the dialog.

Displays a file dialog allowing the user to browse for an executable file. caption will be displayed in the dialog's title bar and file, if specified, is the default file selected in the dialog.

Definition at line 56 of file generalpage.cpp.

Referenced by browseProxyExecutable(), and browseTorExecutable().

void GeneralPage::browseProxyExecutable (  )  [private, slot]

Open a QFileDialog to browse for a proxy executable file.

Definition at line 80 of file generalpage.cpp.

References browseExecutable(), and ui.

Referenced by GeneralPage().

void GeneralPage::browseTorExecutable (  )  [private, slot]

Open a QFileDialog to browse for a Tor executable file.

Definition at line 70 of file generalpage.cpp.

References browseExecutable(), and ui.

Referenced by GeneralPage().

void GeneralPage::load (  )  [virtual]
bool GeneralPage::save ( QString &  errmsg  )  [virtual]

Member Data Documentation

A TorSettings ovject used for saving/loading tor settings

Definition at line 57 of file generalpage.h.

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

A VidaliaSettings object used for saving/loading vidalia settings

Definition at line 55 of file generalpage.h.

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

Ui::GeneralPage GeneralPage::ui [private]

Qt Designer generated object

Definition at line 59 of file generalpage.h.

Referenced by browseProxyExecutable(), browseTorExecutable(), GeneralPage(), load(), and save().


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

Generated on Wed Dec 23 21:11:11 2009 for Vidalia by  doxygen 1.6.1