diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 19:23:45 +0900 |
commit | 0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch) | |
tree | 962f6ea26d1fab041fe3476fbbd64132ab8ada1b /example | |
parent | cb258b7e39ffa5662b57e7d9006e69172a378d7e (diff) | |
download | koffice-r14.1.4.tar.gz koffice-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'example')
-rw-r--r-- | example/example_part.cpp | 2 | ||||
-rw-r--r-- | example/example_part.h | 2 | ||||
-rw-r--r-- | example/example_view.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/example/example_part.cpp b/example/example_part.cpp index 4afc46b0e..c2637d01a 100644 --- a/example/example_part.cpp +++ b/example/example_part.cpp @@ -43,7 +43,7 @@ bool ExamplePart::initDoc(InitDocFlags flags, TQWidget* parentWidget) KoTemplateChooseDia::ReturnType ret = KoTemplateChooseDia::choose( .... ) */ - return TRUE; + return true; } KoView* ExamplePart::createViewInstance( TQWidget* parent, const char* name ) diff --git a/example/example_part.h b/example/example_part.h index 5e44499df..6870d5beb 100644 --- a/example/example_part.h +++ b/example/example_part.h @@ -29,7 +29,7 @@ class ExamplePart : public KoDocument public: ExamplePart( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0, bool singleViewMode = false ); - virtual void paintContent( TQPainter& painter, const TQRect& rect, bool transparent = FALSE, double zoomX = 1.0, double zoomY = 1.0 ); + virtual void paintContent( TQPainter& painter, const TQRect& rect, bool transparent = false, double zoomX = 1.0, double zoomY = 1.0 ); virtual bool initDoc(InitDocFlags flags, TQWidget* parentWidget=0); diff --git a/example/example_view.cpp b/example/example_view.cpp index a0ab2bdb3..d78ecd266 100644 --- a/example/example_view.cpp +++ b/example/example_view.cpp @@ -51,7 +51,7 @@ void ExampleView::paintEvent( TQPaintEvent* ev ) // ### TODO: Scaling // Let the document do the drawing - koDocument()->paintEverything( painter, ev->rect(), FALSE, this ); + koDocument()->paintEverything( painter, ev->rect(), false, this ); painter.end(); } |