diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/qtextedit-h.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qtextedit-h.html')
| -rw-r--r-- | doc/html/qtextedit-h.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/qtextedit-h.html b/doc/html/qtextedit-h.html index 97de7fa5e..b947204e9 100644 --- a/doc/html/qtextedit-h.html +++ b/doc/html/qtextedit-h.html @@ -267,7 +267,7 @@ public: void getSelection( int *paraFrom, int *indexFrom, int *paraTo, int *indexTo, int selNum = 0 ) const; - virtual bool find( const TQString &expr, bool cs, bool wo, bool forward = TRUE, + virtual bool find( const TQString &expr, bool cs, bool wo, bool forward = true, int *para = 0, int *index = 0 ); int paragraphs() const; @@ -363,7 +363,7 @@ public slots: virtual void setText( const TQString &txt, const TQString &context ); virtual void setTextFormat( TextFormat f ); - virtual void selectAll( bool select = TRUE ); + virtual void selectAll( bool select = true ); virtual void setTabStopWidth( int ts ); virtual void zoomIn( int range ); virtual void zoomIn() { zoomIn( 1 ); } @@ -418,7 +418,7 @@ public slots: void insert( const TQString &text, uint insertionFlags = CheckNewLines | RemoveSelected ); // ## virtual in 4.0 // obsolete - virtual void insert( const TQString &text, bool, bool = TRUE, bool = TRUE ); + virtual void insert( const TQString &text, bool, bool = true, bool = true ); virtual void insertAt( const TQString &text, int para, int index ); virtual void removeParagraph( int para ); @@ -530,7 +530,7 @@ private: void updateCursor( const TQPoint & pos ); void handleMouseMove( const TQPoint& pos ); void drawContents( TQPainter * ); - virtual bool linksEnabled() const { return FALSE; } + virtual bool linksEnabled() const { return false; } void init(); void checkUndoRedoInfo( UndoRedoInfo::Type t ); void updateCurrentFormat(); @@ -550,7 +550,7 @@ private: virtual void emitHighlighted( const TQString & ) {} virtual void emitLinkClicked( const TQString & ) {} - void readFormats( TQTextCursor &c1, TQTextCursor &c2, TQTextString &text, bool fillStyles = FALSE ); + void readFormats( TQTextCursor &c1, TQTextCursor &c2, TQTextString &text, bool fillStyles = false ); void clearUndoRedo(); void paintDocument( bool drawAll, TQPainter *p, int cx = -1, int cy = -1, int cw = -1, int ch = -1 ); void moveCursor( CursorAction action ); |
