summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/opengl/qgl.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r--src/opengl/qgl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index 612448d59..95cbae5d7 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -1165,7 +1165,7 @@ bool TQGLContext::create( const TQGLContext* shareContext )
\code
class MyGLDrawer : public TQGLWidget
{
- Q_OBJECT // must include this if you use TQt signals/slots
+ TQ_OBJECT // must include this if you use TQt signals/slots
public:
MyGLDrawer( TQWidget *parent, const char *name )
@@ -2220,7 +2220,7 @@ void TQGLWidget::renderText( int x, int y, const TQString & str, const TQFont &
glBitmap(0, 0, 0, 0, x, -y, NULL);
glListBase( displayListBase( fnt, listBase ) );
const char *cstr = str.latin1();
- glCallLists( qstrlen(cstr), GL_UNSIGNED_BYTE, cstr );
+ glCallLists( tqstrlen(cstr), GL_UNSIGNED_BYTE, cstr );
// restore the matrix stacks and GL state
glPopMatrix();
@@ -2246,7 +2246,7 @@ void TQGLWidget::renderText( double x, double y, double z, const TQString & str,
glPushAttrib( GL_LIST_BIT );
glListBase( displayListBase( fnt, listBase ) );
const char *cstr = str.latin1();
- glCallLists( qstrlen(cstr), GL_UNSIGNED_BYTE, cstr );
+ glCallLists( tqstrlen(cstr), GL_UNSIGNED_BYTE, cstr );
glPopAttrib();
}