diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 11:28:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 19:00:50 +0900 |
| commit | 4239ec917e4a66a6264b4ba732489ba88fad361a (patch) | |
| tree | 40b37f39c8f1fd7ee5e19d5b3f1614f730ecea48 /src/kbfxplasmacanvasgroup.cpp | |
| parent | 27a604dfeecd599c5fc910683eabecfca6957f82 (diff) | |
| download | kbfx-4239ec91.tar.gz kbfx-4239ec91.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3233d6a066667673e676dee95db7ca1419087018)
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; |
