summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/examples/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/examples/opengl')
-rw-r--r--tqtinterface/qt4/tools/designer/examples/opengl/glwidget.cpp4
-rw-r--r--tqtinterface/qt4/tools/designer/examples/opengl/glwidget.h2
-rw-r--r--tqtinterface/qt4/tools/designer/examples/opengl/main.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.cpp b/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.cpp
index 1109807..7cd1105 100644
--- a/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.cpp
+++ b/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.cpp
@@ -38,8 +38,8 @@
Create a GLWidget widget
*/
-GLWidget::GLWidget( TQWidget* tqparent, const char* name )
- : TQGLWidget( tqparent, name )
+GLWidget::GLWidget( TQWidget* parent, const char* name )
+ : TQGLWidget( parent, name )
{
xrot = yrot = zrot = 25; // default object rotation
scale_ = 1.25; // default object scale
diff --git a/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.h b/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.h
index 7efe658..53e62a4 100644
--- a/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.h
+++ b/tqtinterface/qt4/tools/designer/examples/opengl/glwidget.h
@@ -46,7 +46,7 @@ class GLWidget : public TQGLWidget
Q_PROPERTY( double scale READ scale WRITE setScale )
public:
- GLWidget( TQWidget* tqparent, const char* name );
+ GLWidget( TQWidget* parent, const char* name );
~GLWidget();
double xRot() const { return xrot; }
diff --git a/tqtinterface/qt4/tools/designer/examples/opengl/main.cpp b/tqtinterface/qt4/tools/designer/examples/opengl/main.cpp
index ec2ebbd..593e23b 100644
--- a/tqtinterface/qt4/tools/designer/examples/opengl/main.cpp
+++ b/tqtinterface/qt4/tools/designer/examples/opengl/main.cpp
@@ -206,7 +206,7 @@ public:
TQStringList featureList() const;
- TQWidget* create( const TQString &classname, TQWidget* tqparent = 0, const char* name = 0 );
+ TQWidget* create( const TQString &classname, TQWidget* parent = 0, const char* name = 0 );
TQString group( const TQString& ) const;
TQIconSet iconSet( const TQString& ) const;
TQString includeFile( const TQString& ) const;
@@ -231,12 +231,12 @@ TQStringList OpenGLWidgetInterface::featureList() const
return list;
}
-TQWidget* OpenGLWidgetInterface::create( const TQString &description, TQWidget* tqparent, const char* name )
+TQWidget* OpenGLWidgetInterface::create( const TQString &description, TQWidget* parent, const char* name )
{
TQWidget* w = 0;
if ( description == "GLWidget" )
- w = new GLWidget( tqparent, name );
+ w = new GLWidget( parent, name );
objects.add( w );
return w;