summaryrefslogtreecommitdiffstats
path: root/src/kernel/qrichtext_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qrichtext_p.cpp')
-rw-r--r--src/kernel/qrichtext_p.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qrichtext_p.cpp b/src/kernel/qrichtext_p.cpp
index f71cc39..cf79a51 100644
--- a/src/kernel/qrichtext_p.cpp
+++ b/src/kernel/qrichtext_p.cpp
@@ -151,7 +151,7 @@ void QTextCursor::gotoPosition( QTextParagraph* p, int index )
para = p;
if ( index < 0 || index >= para->length() ) {
#if defined(QT_CHECK_RANGE)
- tqWarning( "QTextCursor::gotoParagraph Index: %d out of range", index );
+ qWarning( "QTextCursor::gotoParagraph Index: %d out of range", index );
#endif
if ( index < 0 || para->length() == 0 )
index = 0;
@@ -506,7 +506,7 @@ bool QTextParagraph::fullSelected( int id ) const
int QTextParagraph::lineY( int l ) const
{
if ( l > (int)lineStarts.count() - 1 ) {
- tqWarning( "QTextParagraph::lineY: line %d out of range!", l );
+ qWarning( "QTextParagraph::lineY: line %d out of range!", l );
return 0;
}
@@ -522,7 +522,7 @@ int QTextParagraph::lineY( int l ) const
int QTextParagraph::lineBaseLine( int l ) const
{
if ( l > (int)lineStarts.count() - 1 ) {
- tqWarning( "QTextParagraph::lineBaseLine: line %d out of range!", l );
+ qWarning( "QTextParagraph::lineBaseLine: line %d out of range!", l );
return 10;
}
@@ -538,7 +538,7 @@ int QTextParagraph::lineBaseLine( int l ) const
int QTextParagraph::lineHeight( int l ) const
{
if ( l > (int)lineStarts.count() - 1 ) {
- tqWarning( "QTextParagraph::lineHeight: line %d out of range!", l );
+ qWarning( "QTextParagraph::lineHeight: line %d out of range!", l );
return 15;
}
@@ -554,8 +554,8 @@ int QTextParagraph::lineHeight( int l ) const
void QTextParagraph::lineInfo( int l, int &y, int &h, int &bl ) const
{
if ( l > (int)lineStarts.count() - 1 ) {
- tqWarning( "QTextParagraph::lineInfo: line %d out of range!", l );
- tqDebug( "%d %d", (int)lineStarts.count() - 1, l );
+ qWarning( "QTextParagraph::lineInfo: line %d out of range!", l );
+ qDebug( "%d %d", (int)lineStarts.count() - 1, l );
y = 0;
h = 15;
bl = 10;