You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-03 23:50:33 +02:00
30 lines
438 B
C++
Executable File
30 lines
438 B
C++
Executable File
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include <stable.h>
|
|
#include "database.h"
|
|
|
|
namespace jop {
|
|
|
|
class Settings : public QSettings {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
Settings();
|
|
|
|
static void initialize();
|
|
QString keyValueToFriendlyString(const QString& key) const;
|
|
|
|
public slots:
|
|
|
|
QString valueString(const QString& name, const QString& defaultValue = "");
|
|
int valueInt(const QString& name, int defaultValue = 0);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // SETTINGS_H
|