summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/uic/form.cpp')
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/uic/form.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp b/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
index 728a1fdf7..30b56af0f 100644
--- a/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
@@ -381,14 +381,14 @@ void Uic::createFormDecl( const TQDomElement &e )
// constructor
if ( objClass == "TQDialog" || objClass == "TQWizard" ) {
- out << " " << bareNameOfClass << "( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );" << endl;
+ out << " " << bareNameOfClass << "( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );" << endl;
} else if ( objClass == "TQWidget" ) {
- out << " " << bareNameOfClass << "( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );" << endl;
+ out << " " << bareNameOfClass << "( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );" << endl;
} else if ( objClass == "TQMainWindow" ) {
- out << " " << bareNameOfClass << "( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = (WFlags)TQt::WType_TopLevel );" << endl;
+ out << " " << bareNameOfClass << "( TQWidget* parent = 0, const char* name = 0, WFlags fl = (WFlags)TQt::WType_TopLevel );" << endl;
isMainWindow = TRUE;
} else {
- out << " " << bareNameOfClass << "( TQWidget* tqparent = 0, const char* name = 0 );" << endl;
+ out << " " << bareNameOfClass << "( TQWidget* parent = 0, const char* name = 0 );" << endl;
}
// destructor
@@ -945,37 +945,37 @@ void Uic::createFormImpl( const TQDomElement &e )
// constructor
if ( objClass == "TQDialog" || objClass == "TQWizard" ) {
out << "/*" << endl;
- out << " * Constructs a " << nameOfClass << " as a child of 'tqparent', with the" << endl;
+ out << " * Constructs a " << nameOfClass << " as a child of 'parent', with the" << endl;
out << " * name 'name' and widget flags set to 'f'." << endl;
out << " *" << endl;
out << " * The " << objClass.mid(2).lower() << " will by default be modeless, unless you set 'modal' to" << endl;
out << " * TRUE to construct a modal " << objClass.mid(2).lower() << "." << endl;
out << " */" << endl;
- out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* tqparent, const char* name, bool modal, WFlags fl )" << endl;
- out << " : " << objClass << "( tqparent, name, modal, fl )";
+ out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* parent, const char* name, bool modal, WFlags fl )" << endl;
+ out << " : " << objClass << "( parent, name, modal, fl )";
} else if ( objClass == "TQWidget" ) {
out << "/*" << endl;
- out << " * Constructs a " << nameOfClass << " as a child of 'tqparent', with the" << endl;
+ out << " * Constructs a " << nameOfClass << " as a child of 'parent', with the" << endl;
out << " * name 'name' and widget flags set to 'f'." << endl;
out << " */" << endl;
- out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* tqparent, const char* name, WFlags fl )" << endl;
- out << " : " << objClass << "( tqparent, name, fl )";
+ out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* parent, const char* name, WFlags fl )" << endl;
+ out << " : " << objClass << "( parent, name, fl )";
} else if ( objClass == "TQMainWindow" ) {
out << "/*" << endl;
- out << " * Constructs a " << nameOfClass << " as a child of 'tqparent', with the" << endl;
+ out << " * Constructs a " << nameOfClass << " as a child of 'parent', with the" << endl;
out << " * name 'name' and widget flags set to 'f'." << endl;
out << " *" << endl;
out << " */" << endl;
- out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* tqparent, const char* name, WFlags fl )" << endl;
- out << " : " << objClass << "( tqparent, name, fl )";
+ out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* parent, const char* name, WFlags fl )" << endl;
+ out << " : " << objClass << "( parent, name, fl )";
isMainWindow = TRUE;
} else {
out << "/*" << endl;
- out << " * Constructs a " << nameOfClass << " which is a child of 'tqparent', with the" << endl;
+ out << " * Constructs a " << nameOfClass << " which is a child of 'parent', with the" << endl;
out << " * name 'name'.' " << endl;
out << " */" << endl;
- out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* tqparent, const char* name )" << endl;
- out << " : " << objClass << "( tqparent, name )";
+ out << nameOfClass << "::" << bareNameOfClass << "( TQWidget* parent, const char* name )" << endl;
+ out << " : " << objClass << "( parent, name )";
}
// create pixmaps for all images