Diffstat (limited to 'noncore/settings/tabmanager/tabmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tabmanager.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noncore/settings/tabmanager/tabmanager.cpp b/noncore/settings/tabmanager/tabmanager.cpp index 15aeaf5..4274203 100644 --- a/noncore/settings/tabmanager/tabmanager.cpp +++ b/noncore/settings/tabmanager/tabmanager.cpp | |||
@@ -64,5 +64,5 @@ TabManager::~TabManager(){ | |||
64 | */ | 64 | */ |
65 | void TabManager::rescanFolder(QString directory, QListViewItem* parent){ | 65 | void TabManager::rescanFolder(QString directory, QListViewItem* parent){ |
66 | //qDebug(QString("rescanFolder: ") + directory.latin1()); | 66 | //odebug << QString("rescanFolder: ") + directory.latin1() << oendl; |
67 | 67 | ||
68 | QDir d; | 68 | QDir d; |
@@ -208,5 +208,5 @@ void TabManager::removeItem(){ | |||
208 | // If removing failed. | 208 | // If removing failed. |
209 | if(!removeSuccessful){ | 209 | if(!removeSuccessful){ |
210 | qDebug((QString("removeItem: ") + location).latin1()); | 210 | odebug << (QString("removeItem: ") + location).latin1() << oendl; |
211 | QMessageBox::critical(this, tr("Message"), tr("Can't remove."), tr("Ok") ); | 211 | QMessageBox::critical(this, tr("Message"), tr("Can't remove."), tr("Ok") ); |
212 | return; | 212 | return; |
@@ -245,5 +245,5 @@ void TabManager::editItem( QListViewItem * item){ | |||
245 | TabAppLnk app(itemList[item]); | 245 | TabAppLnk app(itemList[item]); |
246 | if(!app.isValid()){ | 246 | if(!app.isValid()){ |
247 | qDebug(QString("editItem: Not a valid applnk file: ") + itemList[item].latin1()); | 247 | odebug << QString("editItem: Not a valid applnk file: ") + itemList[item].latin1() << oendl; |
248 | return; | 248 | return; |
249 | } | 249 | } |
@@ -274,5 +274,5 @@ void TabManager::editItem( QListViewItem * item){ | |||
274 | application->iconLineEdit->insertItem(imageOfFile,fileName); | 274 | application->iconLineEdit->insertItem(imageOfFile,fileName); |
275 | } | 275 | } |
276 | //qDebug(fi->fileName().latin1()); | 276 | //odebug << fi->fileName().latin1() << oendl; |
277 | ++it; | 277 | ++it; |
278 | } | 278 | } |
@@ -403,6 +403,6 @@ void TabManager::moveApplication(QListViewItem *item, QListViewItem *newGroup){ | |||
403 | return; | 403 | return; |
404 | } | 404 | } |
405 | //qDebug((QString("moveApplication: ") + itemList[item]).latin1()); | 405 | //odebug << (QString("moveApplication: ") + itemList[item]).latin1() << oendl; |
406 | //qDebug((QString("moveApplication: ") + newFolder).latin1()); | 406 | //odebug << (QString("moveApplication: ") + newFolder).latin1() << oendl; |
407 | 407 | ||
408 | // Move in the gui | 408 | // Move in the gui |
@@ -416,5 +416,5 @@ void TabManager::moveApplication(QListViewItem *item, QListViewItem *newGroup){ | |||
416 | swapInstalledLocation(installedAppFile, desktopFile, newFolder); | 416 | swapInstalledLocation(installedAppFile, desktopFile, newFolder); |
417 | else | 417 | else |
418 | qDebug("moveApplication: No installed app found for dekstop file"); | 418 | odebug << "moveApplication: No installed app found for dekstop file" << oendl; |
419 | 419 | ||
420 | // Move application type | 420 | // Move application type |
@@ -465,5 +465,5 @@ bool TabManager::findInstalledApplication(QString desktopFile, QString &installe | |||
465 | } | 465 | } |
466 | else | 466 | else |
467 | qDebug((QString("findInstalledApplication: Can't open file") + HOME_APP_INSTALL_DIR + "/" + fi->fileName()).latin1()); | 467 | odebug << (QString("findInstalledApplication: Can't open file") + HOME_APP_INSTALL_DIR + "/" + fi->fileName()).latin1() << oendl; |
468 | ++it; // goto next list element | 468 | ++it; // goto next list element |
469 | } | 469 | } |
@@ -480,5 +480,5 @@ void TabManager::swapInstalledLocation( QString installedAppFile, QString deskto | |||
480 | QFile file(installedAppFile); | 480 | QFile file(installedAppFile); |
481 | if ( !file.open(IO_ReadOnly) ){ | 481 | if ( !file.open(IO_ReadOnly) ){ |
482 | qDebug(QString("swapInstalledLocation: Can't edit file: %1").arg(installedAppFile).latin1()); | 482 | odebug << QString("swapInstalledLocation: Can't edit file: %1").arg(installedAppFile).latin1() << oendl; |
483 | return; | 483 | return; |
484 | } | 484 | } |
@@ -497,5 +497,5 @@ void TabManager::swapInstalledLocation( QString installedAppFile, QString deskto | |||
497 | 497 | ||
498 | if ( !file.open(IO_ReadWrite) ){ | 498 | if ( !file.open(IO_ReadWrite) ){ |
499 | qDebug(QString("swapInstalledLocation: Can't edit file: %1").arg(installedAppFile).latin1()); | 499 | odebug << QString("swapInstalledLocation: Can't edit file: %1").arg(installedAppFile).latin1() << oendl; |
500 | return; | 500 | return; |
501 | } | 501 | } |