summaryrefslogtreecommitdiffstats
path: root/tdeiconedit
diff options
context:
space:
mode:
Diffstat (limited to 'tdeiconedit')
-rw-r--r--tdeiconedit/kcolorgrid.cpp2
-rw-r--r--tdeiconedit/tdeiconcolors.cpp4
-rw-r--r--tdeiconedit/tdeicongrid.cpp14
3 files changed, 10 insertions, 10 deletions
diff --git a/tdeiconedit/kcolorgrid.cpp b/tdeiconedit/kcolorgrid.cpp
index 131d5a9f..5c534c18 100644
--- a/tdeiconedit/kcolorgrid.cpp
+++ b/tdeiconedit/kcolorgrid.cpp
@@ -134,7 +134,7 @@ void KColorGrid::paintEvent(TQPaintEvent *e)
p.setWorldMatrix( matrix );
//p.setClipRect(j*cellsize, i*cellsize, cellsize, cellsize);
paintCell(&p, i, j);
- //p.setClipping(FALSE);
+ //p.setClipping(false);
matrix.reset();
p.setWorldMatrix( matrix );
}
diff --git a/tdeiconedit/tdeiconcolors.cpp b/tdeiconedit/tdeiconcolors.cpp
index 6b695fc5..16b6d687 100644
--- a/tdeiconedit/tdeiconcolors.cpp
+++ b/tdeiconedit/tdeiconcolors.cpp
@@ -58,8 +58,8 @@ void KDrawColors::mouseReleaseEvent( TQMouseEvent *e )
{
int prevSel = selected;
selected = cell;
- updateCell( prevSel/numCols(), prevSel%numCols(), FALSE );
- updateCell( row, col, FALSE );
+ updateCell( prevSel/numCols(), prevSel%numCols(), false );
+ updateCell( row, col, false );
}
emit newColor(colorAt(cell)|OPAQUE_MASK);
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.