Updraft  1.0
Open source glider flight visualisation tool.
settinginterface.h
Go to the documentation of this file.
00001 #ifndef UPDRAFT_SRC_SETTINGINTERFACE_H_
00002 #define UPDRAFT_SRC_SETTINGINTERFACE_H_
00003 
00004 #include <QVariant>
00005 
00006 class QObject;
00007 
00008 namespace Updraft {
00009 
00011 class SettingInterface {
00012  public:
00013   virtual ~SettingInterface() {}
00014 
00016   virtual QVariant get() = 0;
00017 
00020   virtual void set(const QVariant& value) = 0;
00021 
00024   virtual void setDescription(const QString& newDescription) = 0;
00025 
00030   virtual void setNeedsRestart(bool needsRestart) = 0;
00031 
00036   virtual void callOnValueChanged(QObject* slotOwner, const char* slot) = 0;
00037 };
00038 
00039 }  // End namespace Updraft
00040 
00041 #endif  // UPDRAFT_SRC_SETTINGINTERFACE_H_
00042 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines