diff options
Diffstat (limited to 'lib/kotext/KoTextParag.h')
-rw-r--r-- | lib/kotext/KoTextParag.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoTextParag.h b/lib/kotext/KoTextParag.h index c89582c5e..89f5cba66 100644 --- a/lib/kotext/KoTextParag.h +++ b/lib/kotext/KoTextParag.h @@ -52,7 +52,7 @@ class KOTEXT_EXPORT KoTextParag friend class KoTextCursor; public: - KoTextParag( KoTextDocument *d, KoTextParag *pr = 0, KoTextParag *nx = 0, bool updateIds = TRUE ); + KoTextParag( KoTextDocument *d, KoTextParag *pr = 0, KoTextParag *nx = 0, bool updateIds = true ); virtual ~KoTextParag(); KoTextString *string() const; @@ -82,12 +82,12 @@ public: void setNext( KoTextParag *s ); void insert( int index, const TQString &s ); - void append( const TQString &s, bool reallyAtEnd = FALSE ); + void append( const TQString &s, bool reallyAtEnd = false ); void truncate( int index ); void remove( int index, int len ); void move( int &dy ); - void format( int start = -1, bool doMove = TRUE ); + void format( int start = -1, bool doMove = true ); /// Call this to ensure that format() will be called on this paragraph later on void invalidate( int chr /*ignored*/ = 0 ); @@ -96,7 +96,7 @@ public: /// 'changed' tells the painting code what it needs to paint bool hasChanged() const; - void setChanged( bool b, bool recursive = FALSE ); + void setChanged( bool b, bool recursive = false ); short int lineChanged(); // first line that has been changed. void setLineChanged( short int line ); @@ -125,7 +125,7 @@ public: TQMap<int, KoTextParagLineStart*> &lineStartList(); - void setFormat( int index, int len, const KoTextFormat *f, bool useCollection = TRUE, int flags = -1 ); + void setFormat( int index, int len, const KoTextFormat *f, bool useCollection = true, int flags = -1 ); void setAlignment( uint a ); void setAlignmentDirect( uint a ) { align = a; } @@ -475,7 +475,7 @@ inline KoTextParag *KoTextParag::next() const inline bool KoTextParag::hasAnySelection() const { - return mSelections ? !selections().isEmpty() : FALSE; + return mSelections ? !selections().isEmpty() : false; } /*inline void KoTextParag::setEndState( int s ) |