ARC Graphical Clients: /home/jonas/Development/arc-gui-clients/src/arcstorage-ui/settings.h Source File

- Main Page
- Classes
- Files

- File List

# /home/jonas/Development/arc-gui-clients/src/arcstorage-ui/settings.h

    00001 #ifndef SETTINGS_H
    00002 #define SETTINGS_H
    00003
    00004 #include <qhash.h>
    00005 #include <qvariant.h>
    00006
    00007 class Settings
    00008 {
    00009 private:
    00010     static QHash<QString,QVariant> settings;
    00011     static const QString SETTINGS_FILENAME;
    00012
    00013 private:
    00014     Settings();
    00015
    00016 public:
    00017     static QString getStringValue(QString key);
    00018     static QVariant getValue(QString key);
    00019     static bool setValue(QString key, QVariant value);
    00020     static bool saveToDisk();
    00021     static bool loadFromDisk();
    00022 };
    00023
    00024 #endif // SETTINGS_H

All Classes Functions Variables