From f072772a092e289b7bfa5d0f8c5996334bf0799e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:07:15 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- src/gvcore/qxcfi.h | 4 ++-- src/imageutils/scale.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gvcore/qxcfi.h b/src/gvcore/qxcfi.h index 570ee53..031c008 100644 --- a/src/gvcore/qxcfi.h +++ b/src/gvcore/qxcfi.h @@ -69,7 +69,7 @@ public: return *this; } value = new char[len]; - Q_CHECK_PTR( value ); + TQ_CHECK_PTR( value ); if ( !value ) { mFailed=true; return *this; @@ -83,7 +83,7 @@ public: *this >> len; if (mFailed) return *this; data=new char[len]; - Q_CHECK_PTR( data ); + TQ_CHECK_PTR( data ); if ( !data ) { mFailed=true; return *this; diff --git a/src/imageutils/scale.cpp b/src/imageutils/scale.cpp index 733dc1a..3d331f0 100644 --- a/src/imageutils/scale.cpp +++ b/src/imageutils/scale.cpp @@ -631,7 +631,7 @@ static TQImage ResizeImage(const TQImage& image,const int columns, if (support < filtersupport) support=filtersupport; contribution=new ContributionInfo[ fasttolong( 2.0*Max(support,0.5)+3 ) ]; - Q_CHECK_PTR( contribution ); + TQ_CHECK_PTR( contribution ); /* Resize image. */ -- cgit v1.2.1