Diffstat (limited to 'noncore/settings/backup/backuprestore.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 5a4e284..eadfb63 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp | |||
@@ -27,20 +27,22 @@ _;:, .> :=|. This file is free software; you can | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "backuprestore.h" | 29 | #include "backuprestore.h" |
30 | #include "errordialog.h" | 30 | #include "errordialog.h" |
31 | 31 | ||
32 | /* OPIE */ | 32 | /* OPIE */ |
33 | #include <qpe/qpeapplication.h> | ||
34 | #include <qpe/resource.h> | ||
35 | #include <qpe/config.h> | ||
36 | #include <opie2/odebug.h> | 33 | #include <opie2/odebug.h> |
37 | #include <opie2/odevice.h> | 34 | #include <opie2/odevice.h> |
38 | #include <opie2/ostorageinfo.h> | 35 | #include <opie2/ostorageinfo.h> |
39 | #include <opie2/ofiledialog.h> | 36 | #include <opie2/ofiledialog.h> |
37 | #include <opie2/oresource.h> | ||
40 | #include <opie2/owait.h> | 38 | #include <opie2/owait.h> |
39 | |||
40 | #include <qpe/qpeapplication.h> | ||
41 | #include <qpe/config.h> | ||
42 | |||
41 | using namespace Opie::Core; | 43 | using namespace Opie::Core; |
42 | using namespace Opie::Ui; | 44 | using namespace Opie::Ui; |
43 | 45 | ||
44 | /* QT */ | 46 | /* QT */ |
45 | #include <qapplication.h> | 47 | #include <qapplication.h> |
46 | #include <qmultilineedit.h> | 48 | #include <qmultilineedit.h> |
@@ -230,18 +232,18 @@ void BackupAndRestore::selectItem(QListViewItem *currentItem) | |||
230 | { | 232 | { |
231 | if(!currentItem) | 233 | if(!currentItem) |
232 | return; | 234 | return; |
233 | 235 | ||
234 | if(currentItem->text(HEADER_BACKUP) == "B") | 236 | if(currentItem->text(HEADER_BACKUP) == "B") |
235 | { | 237 | { |
236 | currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("backup/null")); | 238 | currentItem->setPixmap(HEADER_NAME, Opie::Core::OResource::loadPixmap("backup/null")); |
237 | currentItem->setText(HEADER_BACKUP, ""); | 239 | currentItem->setText(HEADER_BACKUP, ""); |
238 | } | 240 | } |
239 | else | 241 | else |
240 | { | 242 | { |
241 | currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("backup/check")); | 243 | currentItem->setPixmap(HEADER_NAME, Opie::Core::OResource::loadPixmap("backup/check")); |
242 | currentItem->setText(HEADER_BACKUP, "B"); | 244 | currentItem->setText(HEADER_BACKUP, "B"); |
243 | } | 245 | } |
244 | } | 246 | } |
245 | 247 | ||
246 | void BackupAndRestore::scanForApplicationSettings() | 248 | void BackupAndRestore::scanForApplicationSettings() |
247 | { | 249 | { |