forked from CountMurphy/QTalarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfileio.h
39 lines (34 loc) · 915 Bytes
/
fileio.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef FILEIO_H
#define FILEIO_H
#include "schedules.h"
#include "schedulemodel.h"
#include <QObject>
#include <QSettings>
#include <QList>
class FileIO : public QObject
{
Q_OBJECT
public:
explicit FileIO(QObject *parent = 0);
static bool ExtractAudio();
static bool DelExtracted();
QList<ScheduleModel *> LoadConfig();
bool Save(Schedules*);
static int LoadVolume();
static void SaveVolume(int);
static bool LoadWindowShow();
static void SaveWindowShow(bool);
static bool isMilTime();
static bool LoadisMono();
static bool LoadSeenSolveText();
static void SaveisMono(bool);
static void SaveSeenSolveText();
static void SaveisMilTime(bool isMilTime);
static bool LoadWarnOnPm();
static void SaveWarnOnPm(bool);
private:
QSettings _Settings;
signals:
public slots:
};
#endif // FILEIO_H