| 5 | #include <QSettings> |
| 6 | |
| 7 | class Settings : public QSettings |
| 8 | { |
| 9 | Q_OBJECT |
| 10 | public: |
| 11 | Settings(QObject *parent = NULL); |
| 12 | virtual ~Settings(); |
| 13 | |
| 14 | Q_INVOKABLE void setValue(const QString &key, const QVariant &value); |
| 15 | Q_INVOKABLE QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const; |
| 16 | }; |
| 17 | |
| 18 | #endif // SETTINGS_H |
nothing calls this directly
no outgoing calls
no test coverage detected