summaryrefslogtreecommitdiffstats
path: root/kruler
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 16:34:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 18:26:20 +0900
commit0599e57edd9b4998aa99b0a14f4d83c2b9390b29 (patch)
tree0f9cf5d922e8c354348e50872fe00aa6ee9136cf /kruler
parent063aaff4032126e6e0685865142dea3102a6eff7 (diff)
downloadtdegraphics-0599e57e.tar.gz
tdegraphics-0599e57e.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c7c1795c817c1f7b89046c6d9f24379143f0bf6b)
Diffstat (limited to 'kruler')
-rw-r--r--kruler/klineal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp
index 9e9187a2..a1a66260 100644
--- a/kruler/klineal.cpp
+++ b/kruler/klineal.cpp
@@ -137,8 +137,8 @@ KLineal::KLineal(TQWidget*parent,const char* name):TDEMainWindow(parent,name){
));
resize(TQSize(mLongEdgeLen, mShortEdgeLen));
- setMouseTracking(TRUE);
- mDragging = FALSE;
+ setMouseTracking(true);
+ mDragging = false;
mOrientation = South;
_clicked = false;
setOrientation(South);
@@ -578,7 +578,7 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) {
if (inEvent->button() == TQt::LeftButton) {
if (!mDragging) {
grabMouse(KCursor::sizeAllCursor());
- mDragging = TRUE;
+ mDragging = true;
}
} else if (inEvent->button() == TQt::MidButton) {
_clicked = true;
@@ -592,7 +592,7 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) {
*/
void KLineal::mouseReleaseEvent(TQMouseEvent * /*inEvent*/) {
if (mDragging) {
- mDragging = FALSE;
+ mDragging = false;
releaseMouse();
}
showLabel();