summaryrefslogtreecommitdiffstats
path: root/src/attic
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:24:30 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/attic
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'src/attic')
-rw-r--r--src/attic/qtmultilineedit.cpp8
-rw-r--r--src/attic/qttableview.cpp12
2 files changed, 10 insertions, 10 deletions
diff --git a/src/attic/qtmultilineedit.cpp b/src/attic/qtmultilineedit.cpp
index 3c8f346..517d3aa 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 ) {
- qAddPostRoutine( cleanupMLBuffer );
+ tqAddPostRoutine( 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() ) {
- qWarning( "QtMultiLineEdit::paintCell: (%s) no text at line %d",
+ tqWarning( "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 = qstrnicmp(fmt,"text/",5)==0
- && qstrnicmp(fmt+5,"plain",5)!=0;
+ ps = tqstrnicmp(fmt,"text/",5)==0
+ && tqstrnicmp(fmt+5,"plain",5)!=0;
}
}
}
diff --git a/src/attic/qttableview.cpp b/src/attic/qttableview.cpp
index 16fc836..227e04d 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)
- qWarning( "QtTableView::setNumRows: (%s) Negative argument %d.",
+ tqWarning( "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)
- qWarning( "QtTableView::setNumCols: (%s) Negative argument %d.",
+ tqWarning( "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 ) {
- qWarning( "QtTableView::setCellWidth: (%s) Argument out of range (%d)",
+ tqWarning( "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 ) {
- qWarning( "QtTableView::setCellHeight: (%s) Argument out of range (%d)",
+ tqWarning( "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)
- qWarning( "QtTableView::findRawRow: (%s) internal error: "
+ tqWarning( "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)
- qWarning( "QtTableView::findRawCol: (%s) internal error: "
+ tqWarning( "QtTableView::findRawCol: (%s) internal error: "
"xPos < minViewX() && goOutsideView "
"not supported. (%d,%d)",
name( "unnamed" ), xPos, xOffs );