summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/opengl/tqgl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/opengl/tqgl.cpp')
-rw-r--r--tqtinterface/qt4/src/opengl/tqgl.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/tqtinterface/qt4/src/opengl/tqgl.cpp b/tqtinterface/qt4/src/opengl/tqgl.cpp
index 7054e8e..77d4809 100644
--- a/tqtinterface/qt4/src/opengl/tqgl.cpp
+++ b/tqtinterface/qt4/src/opengl/tqgl.cpp
@@ -207,8 +207,8 @@ TQGLFormat::TQGLFormat()
\code
// The rendering in MyGLWidget depends on using
// stencil buffer and alpha channel
- MyGLWidget::MyGLWidget( TQWidget* tqparent, const char* name )
- : TQGLWidget( TQGLFormat( StencilBuffer | AlphaChannel ), tqparent, name )
+ MyGLWidget::MyGLWidget( TQWidget* parent, const char* name )
+ : TQGLWidget( TQGLFormat( StencilBuffer | AlphaChannel ), parent, name )
{
if ( !format().stencil() )
qWarning( "Could not get stencil buffer; results will be suboptimal" );
@@ -998,17 +998,17 @@ void TQGLContext::init( TQPaintDevice *dev )
\fn TQColor TQGLContext::overlayTransparentColor() const
If this context is a valid context in an overlay plane, returns
- the plane's transtqparent color. Otherwise returns an \link
+ the plane's transparent color. Otherwise returns an \link
TQColor::isValid() invalid \endlink color.
The returned color's \link TQColor::pixel() pixel \endlink value is
- the index of the transtqparent color in the colormap of the overlay
+ the index of the transparent color in the colormap of the overlay
plane. (Naturally, the color's RGB values are meaningless.)
The returned TQColor object will generally work as expected only
when passed as the argument to TQGLWidget::qglColor() or
TQGLWidget::qglClearColor(). Under certain circumstances it can
- also be used to draw transtqparent graphics with a TQPainter. See the
+ also be used to draw transparent graphics with a TQPainter. See the
examples/opengl/overlay_x11 example for details.
*/
@@ -1168,8 +1168,8 @@ bool TQGLContext::create( const TQGLContext* shareContext )
TQ_OBJECT // must include this if you use TQt Q_SIGNALS/Q_SLOTS
public:
- MyGLDrawer( TQWidget *tqparent, const char *name )
- : TQGLWidget(tqparent, name) {}
+ MyGLDrawer( TQWidget *parent, const char *name )
+ : TQGLWidget(parent, name) {}
protected:
@@ -1245,7 +1245,7 @@ bool TQGLContext::create( const TQGLContext* shareContext )
functions, except that they will be called when the overlay
context is made current. You can explicitly make the overlay
context current by using makeOverlayCurrent(), and you can access
- the overlay context directly (e.g. to ask for its transtqparent
+ the overlay context directly (e.g. to ask for its transparent
color) by calling overlayContext().
On X servers in which the default visual is in an overlay plane,
@@ -1292,13 +1292,13 @@ void qgl_delete_d( const TQGLWidget * w )
}
/*!
- Constructs an OpenGL widget with a \a tqparent widget and a \a name.
+ Constructs an OpenGL widget with a \a parent widget and a \a name.
The \link TQGLFormat::defaultFormat() default format\endlink is
used. The widget will be \link isValid() invalid\endlink if the
system has no \link TQGLFormat::hasOpenGL() OpenGL support\endlink.
- The \a tqparent, \a name and widget flag, \a f, arguments are passed
+ The \a parent, \a name and widget flag, \a f, arguments are passed
to the TQWidget constructor.
If the \a shareWidget parameter points to a valid TQGLWidget, this
@@ -1314,16 +1314,16 @@ void qgl_delete_d( const TQGLWidget * w )
\sa TQGLFormat::defaultFormat()
*/
-TQGLWidget::TQGLWidget( TQWidget *tqparent, const char *name,
+TQGLWidget::TQGLWidget( TQWidget *parent, const char *name,
const TQGLWidget* shareWidget, WFlags f )
- : TQWidget( tqparent, name, (WFlags)(f | TQt::WWinOwnDC | WNoAutoErase) )
+ : TQWidget( parent, name, (WFlags)(f | TQt::WWinOwnDC | WNoAutoErase) )
{
init( new TQGLContext(TQGLFormat::defaultFormat(), TQT_TQPAINTDEVICE(this)), shareWidget );
}
/*!
- Constructs an OpenGL widget with tqparent \a tqparent, called \a name.
+ Constructs an OpenGL widget with parent \a parent, called \a name.
The \a format argument specifies the desired \link TQGLFormat
rendering options \endlink. If the underlying OpenGL/Window system
@@ -1334,7 +1334,7 @@ TQGLWidget::TQGLWidget( TQWidget *tqparent, const char *name,
The widget will be \link isValid() invalid\endlink if the system
has no \link TQGLFormat::hasOpenGL() OpenGL support\endlink.
- The \a tqparent, \a name and widget flag, \a f, arguments are passed
+ The \a parent, \a name and widget flag, \a f, arguments are passed
to the TQWidget constructor.
If the \a shareWidget parameter points to a valid TQGLWidget, this
@@ -1350,16 +1350,16 @@ TQGLWidget::TQGLWidget( TQWidget *tqparent, const char *name,
\sa TQGLFormat::defaultFormat(), isValid()
*/
-TQGLWidget::TQGLWidget( const TQGLFormat &format, TQWidget *tqparent,
+TQGLWidget::TQGLWidget( const TQGLFormat &format, TQWidget *parent,
const char *name, const TQGLWidget* shareWidget,
WFlags f )
- : TQWidget( tqparent, name, f | (WFlags)(TQt::WWinOwnDC | WNoAutoErase) )
+ : TQWidget( parent, name, f | (WFlags)(TQt::WWinOwnDC | WNoAutoErase) )
{
init( new TQGLContext(format, TQT_TQPAINTDEVICE(this)), shareWidget );
}
/*!
- Constructs an OpenGL widget with tqparent \a tqparent, called \a name.
+ Constructs an OpenGL widget with parent \a parent, called \a name.
The \a context argument is a pointer to the TQGLContext that
you wish to be bound to this widget. This allows you to pass in
@@ -1368,7 +1368,7 @@ TQGLWidget::TQGLWidget( const TQGLFormat &format, TQWidget *tqparent,
The widget will be \link isValid() invalid\endlink if the system
has no \link TQGLFormat::hasOpenGL() OpenGL support\endlink.
- The \a tqparent, \a name and widget flag, \a f, arguments are passed
+ The \a parent, \a name and widget flag, \a f, arguments are passed
to the TQWidget constructor.
If the \a shareWidget parameter points to a valid TQGLWidget, this
@@ -1383,9 +1383,9 @@ TQGLWidget::TQGLWidget( const TQGLFormat &format, TQWidget *tqparent,
\sa TQGLFormat::defaultFormat(), isValid()
*/
-TQGLWidget::TQGLWidget( TQGLContext *context, TQWidget *tqparent,
+TQGLWidget::TQGLWidget( TQGLContext *context, TQWidget *parent,
const char *name, const TQGLWidget *shareWidget, WFlags f )
- : TQWidget( tqparent, name, (WFlags)(f | TQt::WWinOwnDC | WNoAutoErase) )
+ : TQWidget( parent, name, (WFlags)(f | TQt::WWinOwnDC | WNoAutoErase) )
{
init( context, shareWidget );
}