diff options
Diffstat (limited to 'src/widgets/qtextedit.cpp')
-rw-r--r-- | src/widgets/qtextedit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/qtextedit.cpp b/src/widgets/qtextedit.cpp index e305d14..0908e84 100644 --- a/src/widgets/qtextedit.cpp +++ b/src/widgets/qtextedit.cpp @@ -5069,7 +5069,7 @@ void QTextEdit::updateStyles() void QTextEdit::setDocument( QTextDocument *dc ) { if ( dc == 0 ) { - tqWarning( "Q3TextEdit::setDocument() called with null Q3TextDocument pointer" ); + qWarning( "Q3TextEdit::setDocument() called with null Q3TextDocument pointer" ); return; } if ( dc == doc ) @@ -6452,7 +6452,7 @@ void QTextEdit::optimParseTags( QString * line, int lineNo, int indexOffset ) cur = tag->prev; if ( !cur ) { #ifdef QT_CHECK_RANGE - tqWarning( "QTextEdit::optimParseTags: no left-tag for '<%s>' in line %d.", tag->tag.ascii(), tag->line + 1 ); + qWarning( "QTextEdit::optimParseTags: no left-tag for '<%s>' in line %d.", tag->tag.ascii(), tag->line + 1 ); #endif return; // something is wrong - give up } @@ -6475,7 +6475,7 @@ void QTextEdit::optimParseTags( QString * line, int lineNo, int indexOffset ) break; } else if ( !cur->leftTag ) { #ifdef QT_CHECK_RANGE - tqWarning( "QTextEdit::optimParseTags: mismatching %s-tag for '<%s>' in line %d.", cur->tag[0] == '/' ? "left" : "right", cur->tag.ascii(), cur->line + 1 ); + qWarning( "QTextEdit::optimParseTags: mismatching %s-tag for '<%s>' in line %d.", cur->tag[0] == '/' ? "left" : "right", cur->tag.ascii(), cur->line + 1 ); #endif return; // something is amiss - give up } @@ -6956,9 +6956,9 @@ void QTextEdit::optimDrawContents( QPainter * p, int clipx, int clipy, // useful debug info // // tag = d->od->tags; -// tqWarning("###"); +// qWarning("###"); // while ( tag ) { -// tqWarning( "Tag: %p, parent: %09p, leftTag: %09p, Name: %-15s, ParentName: %s, %d%d%d", tag, +// qWarning( "Tag: %p, parent: %09p, leftTag: %09p, Name: %-15s, ParentName: %s, %d%d%d", tag, // tag->parent, tag->leftTag, tag->tag.latin1(), tag->parent ? tag->parent->tag.latin1():"<none>", // tag->bold, tag->italic, tag->underline ); // tag = tag->next; |