summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqrichtext_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqrichtext_p.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqrichtext_p.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqrichtext_p.cpp b/tqtinterface/qt4/src/kernel/tqrichtext_p.cpp
index d8504df..31649dd 100644
--- a/tqtinterface/qt4/src/kernel/tqrichtext_p.cpp
+++ b/tqtinterface/qt4/src/kernel/tqrichtext_p.cpp
@@ -811,7 +811,7 @@ void TQTextCursor::gotoPosition( TQTextParagraph* p, int index )
bool TQTextDocument::hasSelection( int id, bool visible ) const
{
- return ( selections.tqfind( id ) != selections.end() &&
+ return ( selections.find( id ) != selections.end() &&
( !visible ||
( (TQTextDocument*)this )->selectionStartCursor( id ) !=
( (TQTextDocument*)this )->selectionEndCursor( id ) ) );
@@ -1091,7 +1091,7 @@ TQString TQTextString::toString( const TQMemArray<TQTextStringChar> &data )
void TQTextParagraph::setSelection( int id, int start, int end )
{
- TQMap<int, TQTextParagraphSelection>::ConstIterator it = selections().tqfind( id );
+ TQMap<int, TQTextParagraphSelection>::ConstIterator it = selections().find( id );
if ( it != mSelections->end() ) {
if ( start == ( *it ).start && end == ( *it ).end )
return;
@@ -1117,7 +1117,7 @@ int TQTextParagraph::selectionStart( int id ) const
{
if ( !mSelections )
return -1;
- TQMap<int, TQTextParagraphSelection>::ConstIterator it = mSelections->tqfind( id );
+ TQMap<int, TQTextParagraphSelection>::ConstIterator it = mSelections->find( id );
if ( it == mSelections->end() )
return -1;
return ( *it ).start;
@@ -1127,7 +1127,7 @@ int TQTextParagraph::selectionEnd( int id ) const
{
if ( !mSelections )
return -1;
- TQMap<int, TQTextParagraphSelection>::ConstIterator it = mSelections->tqfind( id );
+ TQMap<int, TQTextParagraphSelection>::ConstIterator it = mSelections->find( id );
if ( it == mSelections->end() )
return -1;
return ( *it ).end;
@@ -1135,14 +1135,14 @@ int TQTextParagraph::selectionEnd( int id ) const
bool TQTextParagraph::hasSelection( int id ) const
{
- return mSelections ? mSelections->tqcontains( id ) : FALSE;
+ return mSelections ? mSelections->contains( id ) : FALSE;
}
bool TQTextParagraph::fullSelected( int id ) const
{
if ( !mSelections )
return FALSE;
- TQMap<int, TQTextParagraphSelection>::ConstIterator it = mSelections->tqfind( id );
+ TQMap<int, TQTextParagraphSelection>::ConstIterator it = mSelections->find( id );
if ( it == mSelections->end() )
return FALSE;
return ( *it ).start == 0 && ( *it ).end == str->length() - 1;