19class test_HistorySettings;
35 :
public AbstractSettings
38 friend class AppSettings;
41 QSharedPointer<QSettings> mStore;
42 QVector<HistoryInfo> mHistoryInfos;
45 [[nodiscard]] QVector<HistoryInfo> getHistoryInfosFromStore()
const;
48 ~HistorySettings()
override =
default;
50 [[nodiscard]]
bool isEnabled()
const;
51 void setEnabled(
bool pEnabled);
53 [[nodiscard]]
const QVector<HistoryInfo>& getHistoryInfos()
const;
54 void setHistoryInfos(
const QVector<HistoryInfo>& pHistoryInfos);
55 void addHistoryInfo(
const HistoryInfo& pHistoryInfo);
56 int deleteSettings(
const QDateTime& pLatestToKeep = QDateTime());
57 int deleteSettings(
const TimePeriod& pPeriodToRemove);
60 void fireEnabledChanged(
bool pValue);
61 void fireHistoryInfosChanged();
#define defineEnumType(enumName,...)
Definition EnumHelper.h:98
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
UNKNOWN
Definition ResponseApdu.h:63