diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-30 19:26:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 16:39:04 +0900 |
| commit | 9aa48be4546906fe3366cecd525375a249c2db6a (patch) | |
| tree | 08cf628a7831c58d1c3a6b197511076d3b2f3029 /starter/starter.cpp | |
| parent | 03e1920ea64298be079063179159f4ef04a59604 (diff) | |
| download | tde-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.cpp | 14 |
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; } } |
