Vidalia 0.2.10
|
#include <AppearancePage.h>
Public Member Functions | |
AppearancePage (QWidget *parent=0) | |
~AppearancePage () | |
bool | save (QString &errmsg) |
void | load () |
virtual void | retranslateUi () |
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 23 of file AppearancePage.cpp.
References _settings, LanguageSupport::languageCodes(), LanguageSupport::languageName(), and ui.
AppearancePage::~AppearancePage | ( | ) |
Default Destructor
Destructor
Definition at line 43 of file AppearancePage.cpp.
References _settings.
void AppearancePage::load | ( | ) | [virtual] |
Loads the settings for this page
Implements ConfigPage.
Definition at line 81 of file AppearancePage.cpp.
References _settings, VidaliaSettings::getLanguageCode(), Vidalia::style(), and ui.
void AppearancePage::retranslateUi | ( | ) | [virtual] |
Called when the user changes the UI translation.
Reimplemented from ConfigPage.
Definition at line 50 of file AppearancePage.cpp.
References ui.
bool AppearancePage::save | ( | QString & | errmsg | ) | [virtual] |
Saves the changes on this page
Implements ConfigPage.
Definition at line 57 of file AppearancePage.cpp.
References _settings, VidaliaSettings::getLanguageCode(), LanguageSupport::languageCode(), Vidalia::retranslateUi(), VidaliaSettings::setInterfaceStyle(), VidaliaSettings::setLanguageCode(), Vidalia::setStyle(), and ui.
VidaliaSettings* AppearancePage::_settings [private] |
A VidaliaSettings object used for saving/loading settings
Definition at line 47 of file AppearancePage.h.
Referenced by AppearancePage(), load(), save(), and ~AppearancePage().
Ui::AppearancePage AppearancePage::ui [private] |
Qt Designer generated object
Definition at line 50 of file AppearancePage.h.
Referenced by AppearancePage(), load(), retranslateUi(), and save().