Diffstat (limited to 'noncore/settings/backup/backuprestore.cpp') (more/less context) (ignore 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 @@ - #include "backuprestore.h" @@ -5,4 +4,6 @@ /* OPIE */ +#include <opie2/odebug.h> #include <opie2/ostorageinfo.h> #include <qpe/qpeapplication.h> +using namespace Opie::Core; @@ -42,3 +43,2 @@ const QString tempFileName = "/tmp/backup.err"; - BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags fl) @@ -75,3 +75,3 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f backupLocations.insert( "CF", storage.cfPath() ); - qDebug( "Cf Path: " + storage.cfPath() ); + odebug << "Cf Path: " + storage.cfPath() << oendl; } @@ -80,3 +80,3 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f backupLocations.insert( "SD", storage.sdPath() ); - qDebug( " Sd Path: " + storage.sdPath() ); + odebug << " Sd Path: " + storage.sdPath() << oendl; } @@ -85,3 +85,3 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f backupLocations.insert( "MMC", storage.mmcPath() ); - qDebug( "Mmc Path: " + storage.mmcPath() ); + odebug << "Mmc Path: " + storage.mmcPath() << oendl; } @@ -205,3 +205,3 @@ void BackupAndRestore::scanForApplicationSettings() { - //qDebug((d.path()+"/"+fi->fileName()).latin1()); + //odebug << (d.path()+"/"+fi->fileName()).latin1() << oendl; if ( ( fi->fileName() != "." ) && ( fi->fileName() != ".." ) ) @@ -251,3 +251,3 @@ void BackupAndRestore::backup() // for debugging.. - qDebug( "Storing file: %s", outputFile.latin1() ); + odebug << "Storing file: " << outputFile.latin1() << "" << oendl; outputFile += EXTENSION; @@ -260,3 +260,3 @@ void BackupAndRestore::backup() - qDebug( commandLine ); + odebug << commandLine << oendl; @@ -274,3 +274,3 @@ void BackupAndRestore::backup() case 1: - qWarning("Details pressed !"); + owarn << "Details pressed !" << oendl; ErrorDialog* pErrDialog = new ErrorDialog( this, NULL, true ); @@ -361,3 +361,3 @@ void BackupAndRestore::fileListUpdate() { - qWarning("void BackupAndRestore::fileListUpdate()"); + owarn << "void BackupAndRestore::fileListUpdate()" << oendl; restoreList->clear(); @@ -373,3 +373,3 @@ void BackupAndRestore::rescanFolder(QString directory) { - //qDebug(QString("rescanFolder: ") + directory.latin1()); + //odebug << QString("rescanFolder: ") + directory.latin1() << oendl; QDir d(directory); @@ -421,3 +421,3 @@ void BackupAndRestore::restore() - qDebug( restoreFile ); + odebug << restoreFile << oendl; @@ -444,3 +444,3 @@ void BackupAndRestore::restore() - qDebug( commandLine ); + odebug << commandLine << oendl; @@ -456,3 +456,3 @@ void BackupAndRestore::restore() case 1: - qWarning("Details pressed !"); + owarn << "Details pressed !" << oendl; ErrorDialog* pErrDialog = new ErrorDialog( this, NULL, true ); |