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