-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.h
54 lines (43 loc) · 1.51 KB
/
settings.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef SETTINGS_H
#define SETTINGS_H
#include <QByteArray>
#include <QString>
namespace Settings {
auto defaultTmutilPath() -> QString;
auto defaultSudoPath() -> QString;
auto defaultTmutilStatInterval() -> int;
auto defaultTmutilDestInterval() -> int;
auto defaultPathInfoInterval() -> int;
auto tmutilPath() -> QString;
auto sudoPath() -> QString;
auto tmutilStatInterval() -> int;
auto tmutilDestInterval() -> int;
auto pathInfoInterval() -> int;
auto mainWindowGeometry() -> QByteArray;
auto mainWindowState() -> QByteArray;
auto centralWidgetState() -> QByteArray;
auto destinationsTableState() -> QByteArray;
auto machinesTableState() -> QByteArray;
auto volumesTableState() -> QByteArray;
auto backupsTableState() -> QByteArray;
void setTmutilPath(const QString& value);
void setTmutilStatInterval(int value);
void setTmutilDestInterval(int value);
void setSudoPath(const QString& value);
void setPathInfoInterval(int value);
void setMainWindowGeometry(const QByteArray& value);
void setMainWindowState(const QByteArray& value);
void setCentralWidgetState(const QByteArray& value);
void setDestinationsTableState(const QByteArray& value);
void setMachinesTableState(const QByteArray& value);
void setVolumesTableState(const QByteArray& value);
void setBackupsTableState(const QByteArray& value);
void clear();
void removeMainWindowGeometry();
void removeMainWindowState();
void removeDestinationsTableState();
void removeMachinesTableState();
void removeVolumesTableState();
void removeBackupsTableState();
}
#endif // SETTINGS_H