summaryrefslogtreecommitdiffstats
path: root/tdeiconedit/tdeicongrid.cpp
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 /tdeiconedit/tdeicongrid.cpp
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 'tdeiconedit/tdeicongrid.cpp')
-rw-r--r--tdeiconedit/tdeicongrid.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeiconedit/tdeicongrid.cpp b/tdeiconedit/tdeicongrid.cpp
index c4caedc3..be64cea8 100644
--- a/tdeiconedit/tdeicongrid.cpp
+++ b/tdeiconedit/tdeicongrid.cpp
@@ -916,8 +916,8 @@ void TDEIconEditGrid::mouseReleaseEvent( TQMouseEvent *e )
selected = cell;
update((prevSel%numCols())*cellsize,(prevSel/numCols())*cellsize, cellsize, cellsize);
update(col*cellsize,row*cellsize, cellsize, cellsize);
- //updateCell( prevSel/numCols(), prevSel%numCols(), FALSE );
- //updateCell( row, col, FALSE );
+ //updateCell( prevSel/numCols(), prevSel%numCols(), false );
+ //updateCell( row, col, false );
*((uint*)img->scanLine(row) + col) = colorAt(cell);
p = *img;
//}
@@ -973,8 +973,8 @@ void TDEIconEditGrid::mouseReleaseEvent( TQMouseEvent *e )
update((prevSel%numCols())*cellsize,(prevSel/numCols())*cellsize, cellsize, cellsize);
update(col*cellsize,row*cellsize, cellsize, cellsize);
emit colorSelected(currentcolor);
- //updateCell( prevSel/numCols(), prevSel%numCols(), FALSE );
- //updateCell( row, col, FALSE );
+ //updateCell( prevSel/numCols(), prevSel%numCols(), false );
+ //updateCell( row, col, false );
}
break;
@@ -1922,7 +1922,7 @@ void TDEIconEditGrid::drawPointArray(TQPointArray a, DrawAction action)
//int cell = y * numCols() + x;
//setColor( cell, currentcolor, false );
doupdate = true;
- //updateCell( y, x, FALSE );
+ //updateCell( y, x, false );
macro->addCommand( dc );
break;
}
@@ -1993,7 +1993,7 @@ static bool kdither_32_to_8( const TQImage *src, TQImage *dst )
if ( !dst->create(src->width(), src->height(), 8, 256) ) {
kdWarning() << "OImage: destination image not valid" << endl;
- return FALSE;
+ return false;
}
int ncols = 256;
@@ -2153,7 +2153,7 @@ static bool kdither_32_to_8( const TQImage *src, TQImage *dst )
#undef MAX_B
#undef INDEXOF
- return TRUE;
+ return true;
}
// this doesn't work the way it should but the way KPixmap does.