summaryrefslogtreecommitdiffstats
path: root/starter/starter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-30 19:26:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 16:39:04 +0900
commit9aa48be4546906fe3366cecd525375a249c2db6a (patch)
tree08cf628a7831c58d1c3a6b197511076d3b2f3029 /starter/starter.cpp
parent03e1920ea64298be079063179159f4ef04a59604 (diff)
downloadtde-style-baghira-9aa48be4.tar.gz
tde-style-baghira-9aa48be4.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c2e59c3ad44ec7b9f5aa8dcf781f0791b8baa5f0)
Diffstat (limited to 'starter/starter.cpp')
-rw-r--r--starter/starter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/starter/starter.cpp b/starter/starter.cpp
index a725645..29bdd65 100644
--- a/starter/starter.cpp
+++ b/starter/starter.cpp
@@ -432,20 +432,20 @@ bool starter::eventFilter( TQObject*, TQEvent *e )
{
mainView->setPixmap(hoverPixmap);
mainView->repaint();
- return TRUE;
+ return true;
}
case TQEvent::Leave:
{
mainView->setPixmap(startMenu->isShown() ? downPixmap : pixmap);
mainView->repaint();
- return TRUE;
+ return true;
}
case TQEvent::MouseButtonPress:
{
if (((TQMouseEvent*)e)->button() == TQt::RightButton)
{
configPopup->popup(((TQMouseEvent*)e)->globalPos());
- return TRUE;
+ return true;
}
if (((TQMouseEvent*)e)->button() == TQt::LeftButton)
{
@@ -453,21 +453,21 @@ bool starter::eventFilter( TQObject*, TQEvent *e )
mainView->repaint();
popupMenu();
}
- return TRUE;
+ return true;
}
case TQEvent::MouseButtonRelease:
{
if (((TQMouseEvent*)e)->button() != TQt::LeftButton)
- return FALSE;
+ return false;
if (mainView->hasMouse())
mainView->setPixmap(hoverPixmap);
else
mainView->setPixmap(startMenu->isShown() ? downPixmap : pixmap);
mainView->repaint();
- return TRUE;
+ return true;
}
default:
- return FALSE;
+ return false;
}
}