Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/settings/backup/backuprestore.h b/noncore/settings/backup/backuprestore.h index 0d88f8d..527b3cf 100644 --- a/noncore/settings/backup/backuprestore.h +++ b/noncore/settings/backup/backuprestore.h | |||
@@ -19,29 +19,35 @@ public: | |||
19 | ~BackupAndRestore(); | 19 | ~BackupAndRestore(); |
20 | 20 | ||
21 | static QString appName() { return QString::fromLatin1("backup"); } | 21 | static QString appName() { return QString::fromLatin1("backup"); } |
22 | 22 | ||
23 | private slots: | 23 | private slots: |
24 | void backup(); | 24 | void backup(); |
25 | void restore(); | 25 | void restore(); |
26 | void selectItem(QListViewItem *currentItem); | 26 | void selectItem(QListViewItem *currentItem); |
27 | void sourceDirChanged(int); | 27 | void sourceDirChanged(int); |
28 | void rescanFolder(QString directory); | 28 | void rescanFolder(QString directory); |
29 | void fileListUpdate(); | 29 | void fileListUpdate(); |
30 | 30 | ||
31 | void addLocation(); | ||
32 | void removeLocation(); | ||
33 | void saveLocation(); | ||
34 | |||
31 | private: | 35 | private: |
32 | void scanForApplicationSettings(); | 36 | void scanForApplicationSettings(); |
33 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); | 37 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); |
34 | QString getExcludeFile(); | 38 | QString getExcludeFile(); |
35 | QMap<QString, QString> backupLocations; | 39 | QMap<QString, QString> backupLocations; |
36 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); | 40 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); |
41 | void refreshBackupLocations(); | ||
42 | void refreshLocations(); | ||
37 | 43 | ||
38 | QListViewItem *systemSettings; | 44 | QListViewItem *systemSettings; |
39 | QListViewItem *applicationSettings; | 45 | QListViewItem *applicationSettings; |
40 | QListViewItem *documents; | 46 | QListViewItem *documents; |
41 | 47 | ||
42 | }; | 48 | }; |
43 | 49 | ||
44 | #endif | 50 | #endif |
45 | 51 | ||
46 | // backuprestore.h | 52 | // backuprestore.h |
47 | 53 | ||