appearancepage.h

Go to the documentation of this file.
00001 /*
00002 **  This file is part of Vidalia, and is subject to the license terms in the
00003 **  LICENSE file, found in the top level directory of this distribution. If you
00004 **  did not receive the LICENSE file with this file, you may obtain it from the
00005 **  Vidalia source package distributed by the Vidalia Project at
00006 **  http://www.vidalia-project.net/. No part of Vidalia, including this file,
00007 **  may be copied, modified, propagated, or distributed except according to the
00008 **  terms described in the LICENSE file.
00009 */
00010 
00011 /*
00012 ** \file appearancepage.h
00013 ** \version $Id: appearancepage.h 2362 2008-02-29 04:30:11Z edmanm $
00014 ** \brief Displays Vidalia language and style settings
00015 */
00016 
00017 #ifndef _APPEARANCEPAGE_H
00018 #define _APPEARANCEPAGE_H
00019 
00020 #include <QStyleFactory>
00021 #include <QLineEdit>
00022 
00023 #include <vidaliasettings.h>
00024 #include <languagesupport.h>
00025 
00026 #include "configpage.h"
00027 #include "ui_appearancepage.h"
00028 
00029 class AppearancePage : public ConfigPage
00030 {
00031   Q_OBJECT
00032 
00033 public:
00034   /** Default Constructor */
00035   AppearancePage(QWidget *parent = 0);
00036   /** Default Destructor */
00037   ~AppearancePage();
00038   /** Saves the changes on this page */
00039   bool save(QString &errmsg);
00040   /** Loads the settings for this page */
00041   void load();
00042   
00043 private:
00044   /** A VidaliaSettings object used for saving/loading settings */
00045   VidaliaSettings* _settings;
00046 
00047   /** Qt Designer generated object */
00048   Ui::AppearancePage ui;
00049 };
00050 
00051 #endif

Generated on Wed Nov 26 21:03:57 2008 for Vidalia by  doxygen 1.5.6