Diffstat (limited to 'noncore/settings/backup/backuprestore.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 58e5c71..2eccdfe 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp | |||
@@ -1,2 +1 @@ | |||
1 | |||
2 | #include "backuprestore.h" | #include "backuprestore.h" | |
@@ -5,4 +4,6 @@ | |||
5 | /* OPIE */ | 4 | /* OPIE */ |
5 | #include <opie2/odebug.h> | ||
6 | #include <opie2/ostorageinfo.h> | 6 | #include <opie2/ostorageinfo.h> |
7 | #include <qpe/qpeapplication.h> | 7 | #include <qpe/qpeapplication.h> |
8 | using namespace Opie::Core; | ||
8 | 9 | ||
@@ -42,3 +43,2 @@ const QString tempFileName = "/tmp/backup.err"; | |||
42 | 43 | ||
43 | |||
44 | BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags fl) | 44 | BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags fl) |
@@ -75,3 +75,3 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f | |||
75 | backupLocations.insert( "CF", storage.cfPath() ); | 75 | backupLocations.insert( "CF", storage.cfPath() ); |
76 | qDebug( "Cf Path: " + storage.cfPath() ); | 76 | odebug << "Cf Path: " + storage.cfPath() << oendl; |
77 | } | 77 | } |
@@ -80,3 +80,3 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f | |||
80 | backupLocations.insert( "SD", storage.sdPath() ); | 80 | backupLocations.insert( "SD", storage.sdPath() ); |
81 | qDebug( " Sd Path: " + storage.sdPath() ); | 81 | odebug << " Sd Path: " + storage.sdPath() << oendl; |
82 | } | 82 | } |
@@ -85,3 +85,3 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f | |||
85 | backupLocations.insert( "MMC", storage.mmcPath() ); | 85 | backupLocations.insert( "MMC", storage.mmcPath() ); |
86 | qDebug( "Mmc Path: " + storage.mmcPath() ); | 86 | odebug << "Mmc Path: " + storage.mmcPath() << oendl; |
87 | } | 87 | } |
@@ -205,3 +205,3 @@ void BackupAndRestore::scanForApplicationSettings() | |||
205 | { | 205 | { |
206 | //qDebug((d.path()+"/"+fi->fileName()).latin1()); | 206 | //odebug << (d.path()+"/"+fi->fileName()).latin1() << oendl; |
207 | if ( ( fi->fileName() != "." ) && ( fi->fileName() != ".." ) ) | 207 | if ( ( fi->fileName() != "." ) && ( fi->fileName() != ".." ) ) |
@@ -251,3 +251,3 @@ void BackupAndRestore::backup() | |||
251 | // for debugging.. | 251 | // for debugging.. |
252 | qDebug( "Storing file: %s", outputFile.latin1() ); | 252 | odebug << "Storing file: " << outputFile.latin1() << "" << oendl; |
253 | outputFile += EXTENSION; | 253 | outputFile += EXTENSION; |
@@ -260,3 +260,3 @@ void BackupAndRestore::backup() | |||
260 | 260 | ||
261 | qDebug( commandLine ); | 261 | odebug << commandLine << oendl; |
262 | 262 | ||
@@ -274,3 +274,3 @@ void BackupAndRestore::backup() | |||
274 | case 1: | 274 | case 1: |
275 | qWarning("Details pressed !"); | 275 | owarn << "Details pressed !" << oendl; |
276 | ErrorDialog* pErrDialog = new ErrorDialog( this, NULL, true ); | 276 | ErrorDialog* pErrDialog = new ErrorDialog( this, NULL, true ); |
@@ -361,3 +361,3 @@ void BackupAndRestore::fileListUpdate() | |||
361 | { | 361 | { |
362 | qWarning("void BackupAndRestore::fileListUpdate()"); | 362 | owarn << "void BackupAndRestore::fileListUpdate()" << oendl; |
363 | restoreList->clear(); | 363 | restoreList->clear(); |
@@ -373,3 +373,3 @@ void BackupAndRestore::rescanFolder(QString directory) | |||
373 | { | 373 | { |
374 | //qDebug(QString("rescanFolder: ") + directory.latin1()); | 374 | //odebug << QString("rescanFolder: ") + directory.latin1() << oendl; |
375 | QDir d(directory); | 375 | QDir d(directory); |
@@ -421,3 +421,3 @@ void BackupAndRestore::restore() | |||
421 | 421 | ||
422 | qDebug( restoreFile ); | 422 | odebug << restoreFile << oendl; |
423 | 423 | ||
@@ -444,3 +444,3 @@ void BackupAndRestore::restore() | |||
444 | 444 | ||
445 | qDebug( commandLine ); | 445 | odebug << commandLine << oendl; |
446 | 446 | ||
@@ -456,3 +456,3 @@ void BackupAndRestore::restore() | |||
456 | case 1: | 456 | case 1: |
457 | qWarning("Details pressed !"); | 457 | owarn << "Details pressed !" << oendl; |
458 | ErrorDialog* pErrDialog = new ErrorDialog( this, NULL, true ); | 458 | ErrorDialog* pErrDialog = new ErrorDialog( this, NULL, true ); |