Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/backup/backuprestore.h b/noncore/settings/backup/backuprestore.h index b0cf4cd..8c733e3 100644 --- a/noncore/settings/backup/backuprestore.h +++ b/noncore/settings/backup/backuprestore.h | |||
@@ -4,34 +4,36 @@ | |||
4 | #include <qmainwindow.h> | 4 | #include <qmainwindow.h> |
5 | #include "backuprestorebase.h" | 5 | #include "backuprestorebase.h" |
6 | #include <qmap.h> | 6 | #include <qmap.h> |
7 | #include <qlist.h> | 7 | #include <qlist.h> |
8 | 8 | ||
9 | class QListViewItem; | 9 | class QListViewItem; |
10 | 10 | ||
11 | class BackupAndRestore : public BackupAndRestoreBase { | 11 | class BackupAndRestore : public BackupAndRestoreBase { |
12 | 12 | ||
13 | Q_OBJECT | 13 | Q_OBJECT |
14 | 14 | ||
15 | public: | 15 | public: |
16 | |||
16 | BackupAndRestore( QWidget* parent = 0, const char* name = 0); | 17 | BackupAndRestore( QWidget* parent = 0, const char* name = 0); |
17 | ~BackupAndRestore(); | 18 | ~BackupAndRestore(); |
18 | 19 | ||
19 | 20 | ||
20 | private slots: | 21 | private slots: |
21 | void backupPressed(); | 22 | void backupPressed(); |
22 | void restore(); | 23 | void restore(); |
23 | void selectItem(QListViewItem *currentItem); | 24 | void selectItem(QListViewItem *currentItem); |
24 | void sourceDirChanged(int); | 25 | void sourceDirChanged(int); |
25 | void rescanFolder(QString directory); | 26 | void rescanFolder(QString directory); |
27 | void fileListUpdate(); | ||
26 | 28 | ||
27 | private: | 29 | private: |
28 | void scanForApplicationSettings(); | 30 | void scanForApplicationSettings(); |
29 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); | 31 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); |
30 | QMap<QString, QString> backupLocations; | 32 | QMap<QString, QString> backupLocations; |
31 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); | 33 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); |
32 | 34 | ||
33 | QListViewItem *systemSettings; | 35 | QListViewItem *systemSettings; |
34 | QListViewItem *applicationSettings; | 36 | QListViewItem *applicationSettings; |
35 | QListViewItem *documents; | 37 | QListViewItem *documents; |
36 | 38 | ||
37 | }; | 39 | }; |