diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-10 12:13:27 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-10 12:13:27 -0500 |
commit | d296f1d337dabfeae5191955fdadb874965dbbe9 (patch) | |
tree | 1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/tools/designer/examples | |
parent | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff) | |
download | experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip |
rename the following methods:
tqparent parent
tqmask mask
Diffstat (limited to 'tqtinterface/qt4/tools/designer/examples')
17 files changed, 28 insertions, 28 deletions
diff --git a/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp b/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp index 2a0b52e..3a2afa3 100644 --- a/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp +++ b/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp @@ -2,9 +2,9 @@ #include <tqspinbox.h> #include "creditform.h" -CreditForm::CreditForm( TQWidget* tqparent, const char* name, +CreditForm::CreditForm( TQWidget* parent, const char* name, bool modal, WFlags fl ) - : CreditFormBase( tqparent, name, modal, fl ) + : CreditFormBase( parent, name, modal, fl ) { setAmount(); } diff --git a/tqtinterface/qt4/tools/designer/examples/credit/creditform.h b/tqtinterface/qt4/tools/designer/examples/credit/creditform.h index b8998a2..fb5b071 100644 --- a/tqtinterface/qt4/tools/designer/examples/credit/creditform.h +++ b/tqtinterface/qt4/tools/designer/examples/credit/creditform.h @@ -4,7 +4,7 @@ class CreditForm : public CreditFormBase { TQ_OBJECT public: - CreditForm( TQWidget* tqparent = 0, const char* name = 0, + CreditForm( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~CreditForm(); public Q_SLOTS: diff --git a/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.cpp b/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.cpp index 07543be..ab81bcb 100644 --- a/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.cpp +++ b/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.cpp @@ -32,14 +32,14 @@ static TQPixmap uic_load_pixmap_CreditFormBase( const TQString &name ) return pix; } /* - * Constructs a CreditFormBase which is a child of 'tqparent', with the + * Constructs a CreditFormBase which is a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -CreditFormBase::CreditFormBase( TQWidget* tqparent, const char* name, bool modal, WFlags fl ) - : TQDialog( tqparent, name, modal, fl ) +CreditFormBase::CreditFormBase( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : TQDialog( parent, name, modal, fl ) { if ( !name ) setName( "CreditFormBase" ); diff --git a/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.h b/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.h index 87c32d4..4c9ed51 100644 --- a/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.h +++ b/tqtinterface/qt4/tools/designer/examples/credit/creditformbase.h @@ -24,7 +24,7 @@ class CreditFormBase : public TQDialog TQ_OBJECT public: - CreditFormBase( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + CreditFormBase( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~CreditFormBase(); TQButtonGroup* creditButtonGroup; diff --git a/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.cpp b/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.cpp index f256dc9..9733437 100644 --- a/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.cpp +++ b/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.cpp @@ -46,10 +46,10 @@ TQStringList CustomWidgetPlugin::keys() const return list; } -TQWidget* CustomWidgetPlugin::create( const TQString &key, TQWidget* tqparent, const char* name ) +TQWidget* CustomWidgetPlugin::create( const TQString &key, TQWidget* parent, const char* name ) { if ( key == "FileChooser" ) - return new FileChooser( tqparent, name ); + return new FileChooser( parent, name ); return 0; } diff --git a/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.h b/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.h index e2bd12f..929cba2 100644 --- a/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.h +++ b/tqtinterface/qt4/tools/designer/examples/filechooser/plugin/plugin.h @@ -6,7 +6,7 @@ public: CustomWidgetPlugin(); TQStringList keys() 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; diff --git a/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.cpp b/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.cpp index f3f986b..ba39dc7 100644 --- a/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.cpp +++ b/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.cpp @@ -4,8 +4,8 @@ #include <tqfiledialog.h> #include <tqlayout.h> -FileChooser::FileChooser( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), md( File ) +FileChooser::FileChooser( TQWidget *parent, const char *name ) + : TQWidget( parent, name ), md( File ) { TQHBoxLayout *tqlayout = new TQHBoxLayout( this ); tqlayout->setMargin( 0 ); diff --git a/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.h b/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.h index 0062e5b..58d68ce 100644 --- a/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.h +++ b/tqtinterface/qt4/tools/designer/examples/filechooser/widget/filechooser.h @@ -21,7 +21,7 @@ class TQT_WIDGET_PLUGIN_EXPORT FileChooser : public TQWidget Q_PROPERTY( TQString fileName READ fileName WRITE setFileName ) public: - FileChooser( TQWidget *tqparent = 0, const char *name = 0); + FileChooser( TQWidget *parent = 0, const char *name = 0); enum Mode { File, Directory }; 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; diff --git a/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.cpp b/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.cpp index dd40459..2f6f115 100644 --- a/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.cpp +++ b/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.cpp @@ -2,9 +2,9 @@ #include <tqspinbox.h> #include "receiver.h" -void Receiver::setParent( TQDialog *tqparent ) +void Receiver::setParent( TQDialog *parent ) { - p = tqparent; + p = parent; setAmount(); } diff --git a/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.h b/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.h index 5d0867f..31572c2 100644 --- a/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.h +++ b/tqtinterface/qt4/tools/designer/examples/receiver2/receiver.h @@ -5,7 +5,7 @@ class Receiver : public TQObject { TQ_OBJECT public: - void setParent( TQDialog *tqparent ); + void setParent( TQDialog *parent ); public Q_SLOTS: void setAmount(); private: diff --git a/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.cpp b/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.cpp index 45c568e..1fe0252 100644 --- a/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.cpp +++ b/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.cpp @@ -2,8 +2,8 @@ #include <tqsettings.h> -SizeAware::SizeAware( TQDialog *tqparent, const char *name, bool modal ) - : TQDialog( tqparent, name, modal ) +SizeAware::SizeAware( TQDialog *parent, const char *name, bool modal ) + : TQDialog( parent, name, modal ) { if ( company().isEmpty() ) setCompany( "UnknownCompany" ); diff --git a/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.h b/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.h index 7cdca8f..9e943dc 100644 --- a/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.h +++ b/tqtinterface/qt4/tools/designer/examples/sizeaware/sizeaware.h @@ -8,7 +8,7 @@ class SizeAware : public TQDialog Q_PROPERTY( TQString company READ company WRITE setCompany ) Q_PROPERTY( TQString settingsFile READ settingsFile WRITE setSettingsFile ) public: - SizeAware( TQDialog *tqparent = 0, const char *name = 0, bool modal = FALSE ); + SizeAware( TQDialog *parent = 0, const char *name = 0, bool modal = FALSE ); ~SizeAware(); void setCompany( TQString company ) { m_company = company; } TQString company() const { return m_company; } diff --git a/tqtinterface/qt4/tools/designer/examples/vcr/vcr.cpp b/tqtinterface/qt4/tools/designer/examples/vcr/vcr.cpp index c22fb1d..da94367 100644 --- a/tqtinterface/qt4/tools/designer/examples/vcr/vcr.cpp +++ b/tqtinterface/qt4/tools/designer/examples/vcr/vcr.cpp @@ -91,8 +91,8 @@ static const char * stop_xpm[] = { "................"}; -Vcr::Vcr( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +Vcr::Vcr( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { TQHBoxLayout *tqlayout = new TQHBoxLayout( this ); tqlayout->setMargin( 0 ); diff --git a/tqtinterface/qt4/tools/designer/examples/vcr/vcr.h b/tqtinterface/qt4/tools/designer/examples/vcr/vcr.h index 1dccc8c..d3f6459 100644 --- a/tqtinterface/qt4/tools/designer/examples/vcr/vcr.h +++ b/tqtinterface/qt4/tools/designer/examples/vcr/vcr.h @@ -6,7 +6,7 @@ class Vcr : public TQWidget { TQ_OBJECT public: - Vcr( TQWidget *tqparent = 0, const char *name = 0 ); + Vcr( TQWidget *parent = 0, const char *name = 0 ); ~Vcr() {} Q_SIGNALS: void rewind(); |