summaryrefslogtreecommitdiffstats
path: root/src/attic
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-28 22:31:39 -0600
committerTimothy Pearson <[email protected]>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/attic
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 79c3700fb..1a93c8b2b 100644
--- a/src/attic/qtmultilineedit.cpp
+++ b/src/attic/qtmultilineedit.cpp
@@ -725,7 +725,7 @@ static void cleanupMLBuffer()
static TQPixmap *getCacheBuffer( TQSize sz )
{
if ( !buffer ) {
- qAddPostRoutine( cleanupMLBuffer );
+ tqAddPostRoutine( cleanupMLBuffer );
buffer = new TQPixmap;
}
@@ -744,7 +744,7 @@ void TQtMultiLineEdit::paintCell( TQPainter *painter, int row, int )
TQFontMetrics fm( painter->font() );
TQString s = stringShown(row);
if ( s.isNull() ) {
- qWarning( "TQtMultiLineEdit::paintCell: (%s) no text at line %d",
+ tqWarning( "TQtMultiLineEdit::paintCell: (%s) no text at line %d",
name( "unnamed" ), row );
return;
}
@@ -2157,8 +2157,8 @@ void TQtMultiLineEdit::mousePressEvent( TQMouseEvent *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 21fefbd67..9f68ec4b8 100644
--- a/src/attic/qttableview.cpp
+++ b/src/attic/qttableview.cpp
@@ -272,7 +272,7 @@ void TQtTableView::setNumRows( int rows )
{
if ( rows < 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQtTableView::setNumRows: (%s) Negative argument %d.",
+ tqWarning( "TQtTableView::setNumRows: (%s) Negative argument %d.",
name( "unnamed" ), rows );
#endif
return;
@@ -314,7 +314,7 @@ void TQtTableView::setNumCols( int cols )
{
if ( cols < 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQtTableView::setNumCols: (%s) Negative argument %d.",
+ tqWarning( "TQtTableView::setNumCols: (%s) Negative argument %d.",
name( "unnamed" ), cols );
#endif
return;
@@ -580,7 +580,7 @@ void TQtTableView::setCellWidth( int cellWidth )
return;
#if defined(QT_CHECK_RANGE)
if ( cellWidth < 0 || cellWidth > SHRT_MAX ) {
- qWarning( "TQtTableView::setCellWidth: (%s) Argument out of range (%d)",
+ tqWarning( "TQtTableView::setCellWidth: (%s) Argument out of range (%d)",
name( "unnamed" ), cellWidth );
return;
}
@@ -634,7 +634,7 @@ void TQtTableView::setCellHeight( int cellHeight )
return;
#if defined(QT_CHECK_RANGE)
if ( cellHeight < 0 || cellHeight > SHRT_MAX ) {
- qWarning( "TQtTableView::setCellHeight: (%s) Argument out of range (%d)",
+ tqWarning( "TQtTableView::setCellHeight: (%s) Argument out of range (%d)",
name( "unnamed" ), cellHeight );
return;
}
@@ -1578,7 +1578,7 @@ int TQtTableView::findRawRow( int yPos, int *cellMaxY, int *cellMinY,
if ( goOutsideView || yPos >= minViewY() && yPos <= maxViewY() ) {
if ( yPos < minViewY() ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQtTableView::findRawRow: (%s) internal error: "
+ tqWarning( "TQtTableView::findRawRow: (%s) internal error: "
"yPos < minViewY() && goOutsideView "
"not supported. (%d,%d)",
name( "unnamed" ), yPos, yOffs );
@@ -1625,7 +1625,7 @@ int TQtTableView::findRawCol( int xPos, int *cellMaxX, int *cellMinX ,
if ( goOutsideView || xPos >= minViewX() && xPos <= maxViewX() ) {
if ( xPos < minViewX() ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQtTableView::findRawCol: (%s) internal error: "
+ tqWarning( "TQtTableView::findRawCol: (%s) internal error: "
"xPos < minViewX() && goOutsideView "
"not supported. (%d,%d)",
name( "unnamed" ), xPos, xOffs );