Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/noncore/settings/backup/backuprestore.h b/noncore/settings/backup/backuprestore.h index 332123a..015f854 100644 --- a/noncore/settings/backup/backuprestore.h +++ b/noncore/settings/backup/backuprestore.h | |||
@@ -1,8 +1,36 @@ | |||
1 | /* | ||
2 | This file is part of the Opie Project | ||
3 | =. | ||
4 | .=l. Copyright (c) 2002-2004 The Opie Team <opie-devel@handhelds.org> | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This file is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This file is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
18 | ..}^=.= = ; Public License for more details. | ||
19 | ++= -. .` .: | ||
20 | : = ...= . :.=- You should have received a copy of the GNU | ||
21 | -. .:....=;==+<; General Public License along with this file; | ||
22 | -_. . . )=. = see the file COPYING. If not, write to the | ||
23 | -- :-=` Free Software Foundation, Inc., | ||
24 | 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
28 | |||
1 | #ifndef WINDOW_H | 29 | #ifndef WINDOW_H |
2 | #define WINDOW_H | 30 | #define WINDOW_H |
3 | 31 | ||
4 | #include <qmainwindow.h> | 32 | #include <qmainwindow.h> |
5 | #include "backuprestorebase.h" | 33 | #include "backuprestorebase.h" |
6 | #include <qmap.h> | 34 | #include <qmap.h> |
7 | #include <qlist.h> | 35 | #include <qlist.h> |
8 | 36 | ||
@@ -38,16 +66,19 @@ private: | |||
38 | void scanForApplicationSettings(); | 66 | void scanForApplicationSettings(); |
39 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); | 67 | int getBackupFiles(QString &backupFiles, QListViewItem *parent); |
40 | QString getExcludeFile(); | 68 | QString getExcludeFile(); |
41 | QMap<QString, QString> backupLocations; | 69 | QMap<QString, QString> backupLocations; |
42 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); | 70 | QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); |
43 | void refreshBackupLocations(); | 71 | void refreshBackupLocations(); |
44 | void refreshLocations(); | 72 | void refreshLocations(); |
45 | 73 | ||
74 | void backupUserData(); | ||
75 | void backupRootFs(); | ||
76 | |||
46 | QListViewItem *systemSettings; | 77 | QListViewItem *systemSettings; |
47 | QListViewItem *applicationSettings; | 78 | QListViewItem *applicationSettings; |
48 | QListViewItem *documents; | 79 | QListViewItem *documents; |
49 | }; | 80 | }; |
50 | 81 | ||
51 | #endif | 82 | #endif |
52 | 83 | ||
53 | // backuprestore.h | 84 | // backuprestore.h |