summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoRichText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoRichText.cpp')
-rw-r--r--lib/kotext/KoRichText.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoRichText.cpp b/lib/kotext/KoRichText.cpp
index 374184b3..addbd574 100644
--- a/lib/kotext/KoRichText.cpp
+++ b/lib/kotext/KoRichText.cpp
@@ -375,7 +375,7 @@ bool KoTextCursor::operator==( const KoTextCursor &c ) const
void KoTextCursor::insert( const TQString &str, bool checkNewLine, TQMemArray<KoTextStringChar> *formatting )
{
- string->tqinvalidate( idx );
+ string->invalidate( idx );
tmpIndex = -1;
bool justInsert = TRUE;
TQString s( str );
@@ -420,7 +420,7 @@ void KoTextCursor::insert( const TQString &str, bool checkNewLine, TQMemArray<Ko
if ( !s.isEmpty() )
string->insert( idx, s );
else
- string->tqinvalidate( 0 );
+ string->invalidate( 0 );
if ( formatting ) {
int len = s.length();
@@ -448,7 +448,7 @@ void KoTextCursor::insert( const TQString &str, bool checkNewLine, TQMemArray<Ko
while ( p ) {
p->setParagId( p->prev()->paragId() + 1 );
//p->move( dy );
- p->tqinvalidate( 0 );
+ p->invalidate( 0 );
p = p->next();
}
}
@@ -963,7 +963,7 @@ bool KoTextCursor::remove()
KoTextParag *p = string->next();
delete string;
string = p;
- string->tqinvalidate( 0 );
+ string->invalidate( 0 );
//// kotext
string->invalidateCounters();
////
@@ -1520,7 +1520,7 @@ KoTextParagLineStart *KoTextFormatterBase::bidiReorderLine( KoTextParag * /*para
// now construct the reordered string out of the runs...
int numSpaces = 0;
- // set the correct tqalignment. This is a bit messy....
+ // set the correct alignment. This is a bit messy....
if( align == TQt::AlignAuto ) {
// align according to directionality of the paragraph...
if ( text->isRightToLeft() )