diff options
Diffstat (limited to 'src/kbfxplasmacanvasgroup.cpp')
| -rw-r--r-- | src/kbfxplasmacanvasgroup.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kbfxplasmacanvasgroup.cpp b/src/kbfxplasmacanvasgroup.cpp index fe48427..30cfa43 100644 --- a/src/kbfxplasmacanvasgroup.cpp +++ b/src/kbfxplasmacanvasgroup.cpp @@ -36,14 +36,14 @@ KbfxPlasmaCanvasGroup::~KbfxPlasmaCanvasGroup () { for ( ItemListIter it ( m_itemList ); *it; ++it ) { -//qDebug("Trying to delete Item from Rgoup================"); +//tqDebug("Trying to delete Item from Rgoup================"); // if(*it) // delete (*it); // itemListMap ().remove (*it); if ( ( *it ) != 0 ) if ( deleteItem ( ( *it ) ) == false ) { - qDebug ( "Deleting failed" ); + tqDebug ( "Deleting failed" ); } } @@ -62,7 +62,7 @@ KbfxPlasmaCanvasGroup::ItemListMap & KbfxPlasmaCanvasGroup::itemListMap () bool KbfxPlasmaCanvasGroup::deleteItem ( KbfxPlasmaCanvasAbstractItem * it ) { -//qDebug("Removing Item from Group"); +//tqDebug("Removing Item from Group"); // itemListMap ().remove (it); //delete it; //return true; @@ -79,7 +79,7 @@ KbfxPlasmaCanvasGroup::deleteItem ( KbfxPlasmaCanvasAbstractItem * it ) } else { - qDebug ( "deleting Item failed" ); + tqDebug ( "deleting Item failed" ); return false; } } @@ -93,20 +93,20 @@ KbfxPlasmaCanvasGroup::addItem ( KbfxPlasmaCanvasAbstractItem * it ) if ( it->name().isEmpty() ) { - qDebug ( "Adding Failed bcos Name Missing" ); + tqDebug ( "Adding Failed bcos Name Missing" ); return false; } ItemListMap::ConstIterator itn = itemListMap ().find ( it ); if ( itn != itemListMap ().end () ) { - qDebug ( "Adding Failed Due to Item not end" ); + tqDebug ( "Adding Failed Due to Item not end" ); return false; } for ( ItemListIter itr ( m_itemList ); *itr; ++itr ) { if ( ( *itr )->lookup ( it->name() ) == true ) { - qDebug ( "Adding Failed Due to Item already exisits" ); + tqDebug ( "Adding Failed Due to Item already exisits" ); return false; } } |
