diff options
Diffstat (limited to 'tqtinterface/qt4/src/opengl/tqgl.cpp')
-rw-r--r-- | tqtinterface/qt4/src/opengl/tqgl.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tqtinterface/qt4/src/opengl/tqgl.cpp b/tqtinterface/qt4/src/opengl/tqgl.cpp index 80e3658..7054e8e 100644 --- a/tqtinterface/qt4/src/opengl/tqgl.cpp +++ b/tqtinterface/qt4/src/opengl/tqgl.cpp @@ -79,7 +79,7 @@ static TQCleanupHandler<TQGLFormat> qgl_cleanup_format; own TQGLWidget subclass you can use the identifiers in the TQGL namespace without qualification. - However, you may occasionally tqfind yourself in situations where you + However, you may occasionally find yourself in situations where you need to refer to these identifiers from outside the TQGL namespace's scope, e.g. in static functions. In such cases, simply write e.g. \c TQGL::DoubleBuffer instead of just \c DoubleBuffer. @@ -149,7 +149,7 @@ static TQCleanupHandler<TQGLFormat> qgl_cleanup_format; MyGLWidget* myWidget = new MyGLWidget( f, ... ); \endcode - After the widget has been created, you can tqfind out which of the + After the widget has been created, you can find out which of the requested features the system was able to provide: \code TQGLFormat f; @@ -670,7 +670,7 @@ TQGLFormat TQGLFormat::defaultOverlayFormat() TQGLFormat::setDefaultOverlayFormat( f ); \endcode - As usual, you can tqfind out after widget creation whether the + As usual, you can find out after widget creation whether the underlying OpenGL system was able to provide the requested specification: @@ -1058,8 +1058,8 @@ bool TQGLContext::create( const TQGLContext* shareContext ) shareContext as closely as possible. On Windows, it calls the virtual function choosePixelFormat(), - which tqfinds a matching pixel format identifier. On X11, it calls - the virtual function chooseVisual() which tqfinds an appropriate X + which finds a matching pixel format identifier. On X11, it calls + the virtual function chooseVisual() which finds an appropriate X visual. On other platforms it may work differently. */ @@ -1277,10 +1277,10 @@ static TQGLWidgetPrivate * qgl_d( const TQGLWidget * w ) qgl_cleanup_d_ptr.set( &qgl_d_ptr ); qgl_d_ptr->setAutoDelete( TRUE ); } - TQGLWidgetPrivate * ret = qgl_d_ptr->tqfind( (void *) w ); + TQGLWidgetPrivate * ret = qgl_d_ptr->find( (void *) w ); if ( !ret ) { ret = new TQGLWidgetPrivate; - qgl_d_ptr->tqreplace( (void *) w, ret ); + qgl_d_ptr->replace( (void *) w, ret ); } return ret; } @@ -2019,9 +2019,9 @@ void TQGLWidget::qglColor( const TQColor& c ) const else if ( ctx->tqdevice() == context()->tqdevice() && !cmap.isEmpty() ) { // TQGLColormap in use? - int i = cmap.tqfind( c.rgb() ); + int i = cmap.find( c.rgb() ); if ( i < 0 ) - i = cmap.tqfindNearest( c.rgb() ); + i = cmap.findNearest( c.rgb() ); glIndexi( i ); } else glIndexi( ctx->colorIndex( c ) ); @@ -2045,9 +2045,9 @@ void TQGLWidget::qglClearColor( const TQColor& c ) const (GLfloat)c.blue() / 255.0, (GLfloat) 0.0 ); else if ( ctx->tqdevice() == context()->tqdevice() && !cmap.isEmpty() ) { // TQGLColormap in use? - int i = cmap.tqfind( c.rgb() ); + int i = cmap.find( c.rgb() ); if ( i < 0 ) - i = cmap.tqfindNearest( c.rgb() ); + i = cmap.findNearest( c.rgb() ); glClearIndex( i ); } else glClearIndex( ctx->colorIndex( c ) ); @@ -2166,7 +2166,7 @@ int TQGLWidget::displayListBase( const TQFont & fnt, int listBase ) TQString key = fnt.key() + TQString::number((int) regenerate); #endif - if ( !regenerate && (d->displayListCache.tqfind( key ) != d->displayListCache.end()) ) { + if ( !regenerate && (d->displayListCache.find( key ) != d->displayListCache.end()) ) { base = d->displayListCache[ key ]; } else { int maxBase = listBase - 256; |