Implemented auto-loading and save button
This commit is contained in:
18
scheincommandersettings.h
Normal file
18
scheincommandersettings.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
class ScheinCommanderSettings : public QSettings
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QString lastProjectFile READ lastProjectFile WRITE setLastProjectFile NOTIFY lastProjectFileChanged)
|
||||
|
||||
public:
|
||||
using QSettings::QSettings;
|
||||
|
||||
QString lastProjectFile() const;
|
||||
void setLastProjectFile(const QString &lastProjectFile);
|
||||
|
||||
signals:
|
||||
void lastProjectFileChanged(const QString &lastProjectFile);
|
||||
};
|
Reference in New Issue
Block a user