summaryrefslogtreecommitdiffstats
path: root/kpovmodeler
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 /kpovmodeler
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 'kpovmodeler')
-rw-r--r--kpovmodeler/pmdockwidget.h6
-rw-r--r--kpovmodeler/pmlibraryiconview.cpp8
-rw-r--r--kpovmodeler/pmpovrayparser.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmdockwidget.h b/kpovmodeler/pmdockwidget.h
index d65c5aa7..cf973d10 100644
--- a/kpovmodeler/pmdockwidget.h
+++ b/kpovmodeler/pmdockwidget.h
@@ -942,7 +942,7 @@ public:
void setSplitterOpaqueResize(bool b=true);
/**
- * Returns TRUE if opaque resizing is enabled, FALSE otherwise.
+ * Returns true if opaque resizing is enabled, false otherwise.
*/
bool splitterOpaqueResize() const;
@@ -954,7 +954,7 @@ public:
void setSplitterKeepSize(bool b=true);
/**
- * Returns TRUE if the KeepSize is enabled, FALSE otherwise.
+ * Returns true if the KeepSize is enabled, false otherwise.
*/
bool splitterKeepSize() const;
@@ -967,7 +967,7 @@ public:
void setSplitterHighResolution(bool b=true);
/**
- * Returns TRUE if the splitter uses the high resolution, FALSE otherwise.
+ * Returns true if the splitter uses the high resolution, false otherwise.
*/
bool splitterHighResolution() const;
diff --git a/kpovmodeler/pmlibraryiconview.cpp b/kpovmodeler/pmlibraryiconview.cpp
index fcaead42..4f60e4d1 100644
--- a/kpovmodeler/pmlibraryiconview.cpp
+++ b/kpovmodeler/pmlibraryiconview.cpp
@@ -176,12 +176,12 @@ TQDragObject* PMLibraryIconView::dragObject( )
TQIconDragItem id;
id.setData( TQCString( item->path( ).latin1( ) ) );
drag->append( id,
- TQRect( item->pixmapRect( FALSE ).x( ) - orig.x( ),
- item->pixmapRect( FALSE ).y( ) - orig.y( ),
+ TQRect( item->pixmapRect( false ).x( ) - orig.x( ),
+ item->pixmapRect( false ).y( ) - orig.y( ),
item->pixmapRect( ).width( ),
item->pixmapRect( ).height( ) ),
- TQRect( item->textRect( FALSE ).x( ) - orig.x( ),
- item->textRect( FALSE ).y( ) - orig.y( ),
+ TQRect( item->textRect( false ).x( ) - orig.x( ),
+ item->textRect( false ).y( ) - orig.y( ),
item->textRect().width( ),
item->textRect( ).height( ) ),
item->path( ),
diff --git a/kpovmodeler/pmpovrayparser.h b/kpovmodeler/pmpovrayparser.h
index b2c5d0bf..d987aab5 100644
--- a/kpovmodeler/pmpovrayparser.h
+++ b/kpovmodeler/pmpovrayparser.h
@@ -153,7 +153,7 @@ private:
bool isFalse( ) const;
/**
* Returns true if the next token is no bool value or one of the
- * ON, TRUE or YES tokens
+ * ON, true or YES tokens
*/
bool parseBool( );