diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-29 13:40:11 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-30 10:21:30 +0900 |
| commit | 457d756c0ba83acdb3405446e23100468b768c2e (patch) | |
| tree | 761f72a842a3095537016b59ff03116419e86991 /kjsembed | |
| parent | e3d93d88bfa9b4112625971d3b64bca889a21581 (diff) | |
| download | tdebindings-457d756c.tar.gz tdebindings-457d756c.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1450fdc10ca35a40b47054f418ff25b1ebba6503)
Diffstat (limited to 'kjsembed')
| -rw-r--r-- | kjsembed/bindings/sql_imp.h | 2 | ||||
| -rw-r--r-- | kjsembed/docs/ChangeLog | 2 | ||||
| -rw-r--r-- | kjsembed/tools/headers/qcanvas.h | 6 | ||||
| -rw-r--r-- | kjsembed/tools/headers/qdir.h | 16 | ||||
| -rw-r--r-- | kjsembed/tools/headers/qtimer.h | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/kjsembed/bindings/sql_imp.h b/kjsembed/bindings/sql_imp.h index 3f287a13..037733a4 100644 --- a/kjsembed/bindings/sql_imp.h +++ b/kjsembed/bindings/sql_imp.h @@ -70,7 +70,7 @@ public slots: bool isNull ( int field ); bool exec ( const TQString & m_query ); TQVariant value ( int i ); - bool seek ( int i, bool relative = FALSE ); + bool seek ( int i, bool relative = false ); bool next (); bool prev (); bool first (); diff --git a/kjsembed/docs/ChangeLog b/kjsembed/docs/ChangeLog index c8e11eb3..831be532 100644 --- a/kjsembed/docs/ChangeLog +++ b/kjsembed/docs/ChangeLog @@ -510,7 +510,7 @@ 2004-11-24 Wednesday 01:59 staikos TQT_NO_COMPAT fix (untested, but at least it compiles now): - int match ( const TQString & str, int index = 0, int * len = 0, bool indexIsStart = TRUE ) const (obsolete) + int match ( const TQString & str, int index = 0, int * len = 0, bool indexIsStart = true ) const (obsolete) int search ( const TQString & str, int offset = 0, CaretMode caretMode = CaretAtZero ) const 2004-11-24 Wednesday 01:36 geiseri diff --git a/kjsembed/tools/headers/qcanvas.h b/kjsembed/tools/headers/qcanvas.h index dbdd6548..80e58332 100644 --- a/kjsembed/tools/headers/qcanvas.h +++ b/kjsembed/tools/headers/qcanvas.h @@ -270,12 +270,12 @@ public: TQCanvasItemList collisions( const TQPointArray& pa, const TQCanvasItem* item, bool exact) const; - void drawArea(const TQRect&, TQPainter* p, bool double_buffer=FALSE); + void drawArea(const TQRect&, TQPainter* p, bool double_buffer=false); // These are for TQCanvasView to call virtual void addView(TQCanvasView*); virtual void removeView(TQCanvasView*); - void drawCanvasArea(const TQRect&, TQPainter* p=0, bool double_buffer=TRUE); + void drawCanvasArea(const TQRect&, TQPainter* p=0, bool double_buffer=true); void drawViewArea( TQCanvasView* view, TQPainter* p, const TQRect& r, bool dbuf ); // These are for TQCanvasItem to call @@ -651,7 +651,7 @@ public: TQCanvasSpline(TQCanvas* canvas); ~TQCanvasSpline(); - void setControlPoints(TQPointArray, bool closed=TRUE); + void setControlPoints(TQPointArray, bool closed=true); TQPointArray controlPoints() const; bool closed() const; diff --git a/kjsembed/tools/headers/qdir.h b/kjsembed/tools/headers/qdir.h index 88c42ce3..5542fd0e 100644 --- a/kjsembed/tools/headers/qdir.h +++ b/kjsembed/tools/headers/qdir.h @@ -102,13 +102,13 @@ public: virtual TQString dirName() const; virtual TQString filePath( const TQString &fileName, - bool acceptAbsPath = TRUE ) const; + bool acceptAbsPath = true ) const; virtual TQString absFilePath( const TQString &fileName, - bool acceptAbsPath = TRUE ) const; + bool acceptAbsPath = true ) const; static TQString convertSeparators( const TQString &pathName ); - virtual bool cd( const TQString &dirName, bool acceptAbsPath = TRUE ); + virtual bool cd( const TQString &dirName, bool acceptAbsPath = true ); virtual bool cdUp(); TQString nameFilter() const; @@ -144,9 +144,9 @@ public: static const TQFileInfoList *drives(); virtual bool mkdir( const TQString &dirName, - bool acceptAbsPath = TRUE ) const; + bool acceptAbsPath = true ) const; virtual bool rmdir( const TQString &dirName, - bool acceptAbsPath = TRUE ) const; + bool acceptAbsPath = true ) const; virtual bool isReadable() const; virtual bool exists() const; @@ -159,11 +159,11 @@ public: virtual bool operator!=( const TQDir & ) const; virtual bool remove( const TQString &fileName, - bool acceptAbsPath = TRUE ); + bool acceptAbsPath = true ); virtual bool rename( const TQString &name, const TQString &newName, - bool acceptAbsPaths = TRUE ); + bool acceptAbsPaths = true ); virtual bool exists( const TQString &name, - bool acceptAbsPath = TRUE ); + bool acceptAbsPath = true ); static char separator(); diff --git a/kjsembed/tools/headers/qtimer.h b/kjsembed/tools/headers/qtimer.h index b1ce519e..35fd16b5 100644 --- a/kjsembed/tools/headers/qtimer.h +++ b/kjsembed/tools/headers/qtimer.h @@ -52,7 +52,7 @@ public: bool isActive() const; - int start( int msec, bool sshot = FALSE ); + int start( int msec, bool sshot = false ); void changeInterval( int msec ); void stop(); |
