23 #include <QScopedPointer>
31 #if defined(DRUMSTICK_STATIC)
32 #define DRUMSTICK_WIDGETS_EXPORT
34 #if defined(drumstick_widgets_EXPORTS)
35 #define DRUMSTICK_WIDGETS_EXPORT Q_DECL_EXPORT
37 #define DRUMSTICK_WIDGETS_EXPORT Q_DECL_IMPORT
63 static void setFileName(
const QString name);
64 static QString fileName();
65 static QSettings::Format format();
68 QScopedPointer<QSettings> m_settings{
nullptr};
69 static QString s_fileName;
The QSettings class provides persistent platform-independent application settings.