Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/backup/backuprestore.h b/noncore/settings/backup/backuprestore.h index fdc2bf2..0d88f8d 100644 --- a/noncore/settings/backup/backuprestore.h +++ b/noncore/settings/backup/backuprestore.h | |||
@@ -10,37 +10,38 @@ class QListViewItem; | |||
10 | 10 | ||
11 | class BackupAndRestore : public BackupAndRestoreBase | 11 | class BackupAndRestore : public BackupAndRestoreBase |
12 | { | 12 | { |
13 | 13 | ||
14 | Q_OBJECT | 14 | Q_OBJECT |
15 | 15 | ||
16 | public: | 16 | public: |
17 | 17 | ||
18 | BackupAndRestore( QWidget* parent = 0, const char* name = 0, WFlags fl = 0); | 18 | BackupAndRestore( QWidget* parent = 0, const char* name = 0, WFlags fl = 0); |
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 | private: | 31 | private: |
32 | void scanForApplicationSettings(); | 32 | void scanForApplicationSettings(); |
33 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); | 33 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); |
34 | QString getExcludeFile(); | ||
34 | QMap<QString, QString> backupLocations; | 35 | QMap<QString, QString> backupLocations; |
35 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); | 36 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); |
36 | 37 | ||
37 | QListViewItem *systemSettings; | 38 | QListViewItem *systemSettings; |
38 | QListViewItem *applicationSettings; | 39 | QListViewItem *applicationSettings; |
39 | QListViewItem *documents; | 40 | QListViewItem *documents; |
40 | 41 | ||
41 | }; | 42 | }; |
42 | 43 | ||
43 | #endif | 44 | #endif |
44 | 45 | ||
45 | // backuprestore.h | 46 | // backuprestore.h |
46 | 47 | ||