summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.cpp
diff options
context:
space:
mode:
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();
}