diff options
Diffstat (limited to 'src/attic')
-rw-r--r-- | src/attic/qtmultilineedit.cpp | 8 | ||||
-rw-r--r-- | src/attic/qttableview.cpp | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/attic/qtmultilineedit.cpp b/src/attic/qtmultilineedit.cpp index 517d3aa..3c8f346 100644 --- a/src/attic/qtmultilineedit.cpp +++ b/src/attic/qtmultilineedit.cpp @@ -725,7 +725,7 @@ static void cleanupMLBuffer() static QPixmap *getCacheBuffer( QSize sz ) { if ( !buffer ) { - tqAddPostRoutine( cleanupMLBuffer ); + qAddPostRoutine( cleanupMLBuffer ); buffer = new QPixmap; } @@ -744,7 +744,7 @@ void QtMultiLineEdit::paintCell( QPainter *painter, int row, int ) QFontMetrics fm( painter->font() ); QString s = stringShown(row); if ( s.isNull() ) { - tqWarning( "QtMultiLineEdit::paintCell: (%s) no text at line %d", + qWarning( "QtMultiLineEdit::paintCell: (%s) no text at line %d", name( "unnamed" ), row ); return; } @@ -2157,8 +2157,8 @@ void QtMultiLineEdit::mousePressEvent( QMouseEvent *e ) if ( !isReadOnly() ) { const char* fmt; for (int i=0; !ps && (fmt=ms->format(i)); i++) { - ps = tqstrnicmp(fmt,"text/",5)==0 - && tqstrnicmp(fmt+5,"plain",5)!=0; + ps = qstrnicmp(fmt,"text/",5)==0 + && qstrnicmp(fmt+5,"plain",5)!=0; } } } diff --git a/src/attic/qttableview.cpp b/src/attic/qttableview.cpp index 227e04d..16fc836 100644 --- a/src/attic/qttableview.cpp +++ b/src/attic/qttableview.cpp @@ -272,7 +272,7 @@ void QtTableView::setNumRows( int rows ) { if ( rows < 0 ) { #if defined(QT_CHECK_RANGE) - tqWarning( "QtTableView::setNumRows: (%s) Negative argument %d.", + qWarning( "QtTableView::setNumRows: (%s) Negative argument %d.", name( "unnamed" ), rows ); #endif return; @@ -314,7 +314,7 @@ void QtTableView::setNumCols( int cols ) { if ( cols < 0 ) { #if defined(QT_CHECK_RANGE) - tqWarning( "QtTableView::setNumCols: (%s) Negative argument %d.", + qWarning( "QtTableView::setNumCols: (%s) Negative argument %d.", name( "unnamed" ), cols ); #endif return; @@ -580,7 +580,7 @@ void QtTableView::setCellWidth( int cellWidth ) return; #if defined(QT_CHECK_RANGE) if ( cellWidth < 0 || cellWidth > SHRT_MAX ) { - tqWarning( "QtTableView::setCellWidth: (%s) Argument out of range (%d)", + qWarning( "QtTableView::setCellWidth: (%s) Argument out of range (%d)", name( "unnamed" ), cellWidth ); return; } @@ -634,7 +634,7 @@ void QtTableView::setCellHeight( int cellHeight ) return; #if defined(QT_CHECK_RANGE) if ( cellHeight < 0 || cellHeight > SHRT_MAX ) { - tqWarning( "QtTableView::setCellHeight: (%s) Argument out of range (%d)", + qWarning( "QtTableView::setCellHeight: (%s) Argument out of range (%d)", name( "unnamed" ), cellHeight ); return; } @@ -1578,7 +1578,7 @@ int QtTableView::findRawRow( int yPos, int *cellMaxY, int *cellMinY, if ( goOutsideView || yPos >= minViewY() && yPos <= maxViewY() ) { if ( yPos < minViewY() ) { #if defined(QT_CHECK_RANGE) - tqWarning( "QtTableView::findRawRow: (%s) internal error: " + qWarning( "QtTableView::findRawRow: (%s) internal error: " "yPos < minViewY() && goOutsideView " "not supported. (%d,%d)", name( "unnamed" ), yPos, yOffs ); @@ -1625,7 +1625,7 @@ int QtTableView::findRawCol( int xPos, int *cellMaxX, int *cellMinX , if ( goOutsideView || xPos >= minViewX() && xPos <= maxViewX() ) { if ( xPos < minViewX() ) { #if defined(QT_CHECK_RANGE) - tqWarning( "QtTableView::findRawCol: (%s) internal error: " + qWarning( "QtTableView::findRawCol: (%s) internal error: " "xPos < minViewX() && goOutsideView " "not supported. (%d,%d)", name( "unnamed" ), xPos, xOffs ); |