From dd844d7919e7f0f95c010378e7af1434ea904fff Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:36:05 -0600 Subject: Rename additional global TQt functions --- cervisia/qttableview.cpp | 12 ++++++------ cervisia/updateview_items.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cervisia') diff --git a/cervisia/qttableview.cpp b/cervisia/qttableview.cpp index 7d33862c..43c82cf2 100644 --- a/cervisia/qttableview.cpp +++ b/cervisia/qttableview.cpp @@ -273,7 +273,7 @@ void QtTableView::setNumRows( int rows ) { if ( rows < 0 ) { #if defined(TQT_CHECK_RANGE) - qWarning( "QtTableView::setNumRows: (%s) Negative argument %d.", + tqWarning( "QtTableView::setNumRows: (%s) Negative argument %d.", name( "unnamed" ), rows ); #endif return; @@ -315,7 +315,7 @@ void QtTableView::setNumCols( int cols ) { if ( cols < 0 ) { #if defined(TQT_CHECK_RANGE) - qWarning( "QtTableView::setNumCols: (%s) Negative argument %d.", + tqWarning( "QtTableView::setNumCols: (%s) Negative argument %d.", name( "unnamed" ), cols ); #endif return; @@ -581,7 +581,7 @@ void QtTableView::setCellWidth( int cellWidth ) return; #if defined(TQT_CHECK_RANGE) if ( cellWidth < 0 || cellWidth > SHRT_MAX ) { - qWarning( "QtTableView::setCellWidth: (%s) Argument out of range (%d)", + tqWarning( "QtTableView::setCellWidth: (%s) Argument out of range (%d)", name( "unnamed" ), cellWidth ); return; } @@ -635,7 +635,7 @@ void QtTableView::setCellHeight( int cellHeight ) return; #if defined(TQT_CHECK_RANGE) if ( cellHeight < 0 || cellHeight > SHRT_MAX ) { - qWarning( "QtTableView::setCellHeight: (%s) Argument out of range (%d)", + tqWarning( "QtTableView::setCellHeight: (%s) Argument out of range (%d)", name( "unnamed" ), cellHeight ); return; } @@ -1584,7 +1584,7 @@ int QtTableView::findRawRow( int yPos, int *cellMaxY, int *cellMinY, if ( goOutsideView || yPos >= minViewY() && yPos <= maxViewY() ) { if ( yPos < minViewY() ) { #if defined(TQT_CHECK_RANGE) - qWarning( "QtTableView::findRawRow: (%s) internal error: " + tqWarning( "QtTableView::findRawRow: (%s) internal error: " "yPos < minViewY() && goOutsideView " "not supported. (%d,%d)", name( "unnamed" ), yPos, yOffs ); @@ -1631,7 +1631,7 @@ int QtTableView::findRawCol( int xPos, int *cellMaxX, int *cellMinX , if ( goOutsideView || xPos >= minViewX() && xPos <= maxViewX() ) { if ( xPos < minViewX() ) { #if defined(TQT_CHECK_RANGE) - qWarning( "QtTableView::findRawCol: (%s) internal error: " + tqWarning( "QtTableView::findRawCol: (%s) internal error: " "xPos < minViewX() && goOutsideView " "not supported. (%d,%d)", name( "unnamed" ), xPos, xOffs ); diff --git a/cervisia/updateview_items.cpp b/cervisia/updateview_items.cpp index 9e0abc22..360e137c 100644 --- a/cervisia/updateview_items.cpp +++ b/cervisia/updateview_items.cpp @@ -279,7 +279,7 @@ TQDateTime parseDateTime(const TQString &s) } } if ( month < 1 || month > 12 ) { - qWarning( "TQDateTime::fromString: Parameter out of range" ); + tqWarning( "TQDateTime::fromString: Parameter out of range" ); TQDateTime dt; return dt; } -- cgit v1.2.3