diff options
Diffstat (limited to 'src/kbfxplasmacanvasgroup.cpp')
| -rw-r--r-- | src/kbfxplasmacanvasgroup.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxplasmacanvasgroup.cpp b/src/kbfxplasmacanvasgroup.cpp index 15c47b3..1a28f08 100644 --- a/src/kbfxplasmacanvasgroup.cpp +++ b/src/kbfxplasmacanvasgroup.cpp @@ -41,7 +41,7 @@ KbfxPlasmaCanvasGroup::~KbfxPlasmaCanvasGroup () // delete (*it); // itemListMap ().remove (*it); if ( ( *it ) != 0 ) - if ( deleteItem ( ( *it ) ) == false ) + if ( !deleteItem ( ( *it ) ) ) { tqDebug ( "Deleting failed" ); } @@ -104,7 +104,7 @@ KbfxPlasmaCanvasGroup::addItem ( KbfxPlasmaCanvasAbstractItem * it ) } for ( ItemListIter itr ( m_itemList ); *itr; ++itr ) { - if ( ( *itr )->lookup ( it->name() ) == true ) + if ( ( *itr )->lookup ( it->name() ) ) { tqDebug ( "Adding Failed Due to Item already exisits" ); return false; @@ -190,7 +190,7 @@ KbfxPlasmaCanvasGroup::showAll() { for ( ItemListIter it ( m_itemList ); *it; ++it ) { - if ( ( *it )->type() == KbfxPlasmaCanvasAbstractItem::SEPARATOR || m_shaded == false ) + if ( ( *it )->type() == KbfxPlasmaCanvasAbstractItem::SEPARATOR || !m_shaded ) ( *it )->show(); } @@ -201,7 +201,7 @@ KbfxPlasmaCanvasGroup::show() { for ( ItemListIter it ( m_itemList ); *it; ++it ) { - if ( ( *it )->type() == KbfxPlasmaCanvasAbstractItem::SEPARATOR || m_shaded == false ) + if ( ( *it )->type() == KbfxPlasmaCanvasAbstractItem::SEPARATOR || !m_shaded ) ( *it )->show(); } m_visible = true; @@ -210,7 +210,7 @@ KbfxPlasmaCanvasGroup::show() void KbfxPlasmaCanvasGroup::shade () { - if ( m_shaded == false ) + if ( !m_shaded ) { emit this->groupShade ( this->groupID() ); @@ -223,7 +223,7 @@ KbfxPlasmaCanvasGroup::shade () m_shaded = true; return; } - else if ( m_shaded == true ) + else if ( m_shaded ) { int _shadeby = 0; int _firstItemHeight=0; |
