#include <appearancepage.h>
Public Member Functions | |
AppearancePage (QWidget *parent=0) | |
~AppearancePage () | |
bool | save (QString &errmsg) |
void | load () |
Private Attributes | |
VidaliaSettings * | _settings |
Ui::AppearancePage | ui |
Definition at line 29 of file appearancepage.h.
AppearancePage::AppearancePage | ( | QWidget * | parent = 0 |
) |
Default Constructor
Definition at line 22 of file appearancepage.cpp.
References _settings, LanguageSupport::languageCodes(), LanguageSupport::languageName(), and ui.
AppearancePage::~AppearancePage | ( | ) |
Default Destructor
Destructor
Definition at line 42 of file appearancepage.cpp.
References _settings.
void AppearancePage::load | ( | ) | [virtual] |
Loads the settings for this page
Implements ConfigPage.
Definition at line 65 of file appearancepage.cpp.
References _settings, VidaliaSettings::getLanguageCode(), Vidalia::style(), and ui.
bool AppearancePage::save | ( | QString & | errmsg | ) | [virtual] |
Saves the changes on this page
Implements ConfigPage.
Definition at line 49 of file appearancepage.cpp.
References _settings, LanguageSupport::languageCode(), VidaliaSettings::setInterfaceStyle(), VidaliaSettings::setLanguageCode(), Vidalia::setStyle(), and ui.
VidaliaSettings* AppearancePage::_settings [private] |
A VidaliaSettings object used for saving/loading settings
Definition at line 45 of file appearancepage.h.
Referenced by AppearancePage(), load(), save(), and ~AppearancePage().
Ui::AppearancePage AppearancePage::ui [private] |
Qt Designer generated object
Definition at line 48 of file appearancepage.h.
Referenced by AppearancePage(), load(), and save().