Vidalia
0.3.1
|
#include <AppearancePage.h>
Public Member Functions | |
AppearancePage (QWidget *parent=0) | |
~AppearancePage () | |
bool | save (QString &errmsg) |
void | load () |
virtual void | retranslateUi () |
![]() | |
ConfigPage (QWidget *parent=0, const QString title=QString()) | |
QString | title () const |
virtual bool | changedSinceLastApply () |
virtual bool | apply (QString &errmsg) |
virtual void | revert () |
Private Attributes | |
VidaliaSettings * | _settings |
Ui::AppearancePage | ui |
Additional Inherited Members | |
![]() | |
void | helpRequested (const QString &topic) |
Definition at line 28 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.
|
virtual |
Loads the settings for this page
Implements ConfigPage.
Definition at line 95 of file AppearancePage.cpp.
References _settings, VidaliaSettings::Both, VidaliaSettings::Dock, VidaliaSettings::getIconPref(), VidaliaSettings::getLanguageCode(), Vidalia::style(), VidaliaSettings::Tray, and ui.
|
virtual |
Called when the user changes the UI translation.
Reimplemented from ConfigPage.
Definition at line 49 of file AppearancePage.cpp.
References ui.
|
virtual |
Saves the changes on this page
Implements ConfigPage.
Definition at line 56 of file AppearancePage.cpp.
References _settings, VidaliaSettings::Both, VidaliaSettings::Dock, VidaliaSettings::getLanguageCode(), LanguageSupport::languageCode(), Vidalia::retranslateUi(), VidaliaSettings::setIconPref(), VidaliaSettings::setInterfaceStyle(), VidaliaSettings::setLanguageCode(), Vidalia::setStyle(), VidaliaSettings::Tray, and ui.
|
private |
A VidaliaSettings object used for saving/loading settings
Definition at line 46 of file AppearancePage.h.
Referenced by AppearancePage(), load(), save(), and ~AppearancePage().
|
private |
Qt Designer generated object
Definition at line 49 of file AppearancePage.h.
Referenced by AppearancePage(), load(), retranslateUi(), and save().