diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/uic/subclassing.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/uic/subclassing.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tqtinterface/qt4/tools/designer/uic/subclassing.cpp b/tqtinterface/qt4/tools/designer/uic/subclassing.cpp index 3677b78..aaabee6 100644 --- a/tqtinterface/qt4/tools/designer/uic/subclassing.cpp +++ b/tqtinterface/qt4/tools/designer/uic/subclassing.cpp @@ -71,9 +71,9 @@ void Uic::createSubDecl( const TQDomElement &e, const TQString& subClass ) // constructor if ( objClass == "TQDialog" || objClass == "TQWizard" ) { - out << " " << subClass << "( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );" << endl; + out << " " << subClass << "( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );" << endl; } else { // standard TQWidget - out << " " << subClass << "( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );" << endl; + out << " " << subClass << "( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );" << endl; } // destructor @@ -212,21 +212,21 @@ void Uic::createSubImpl( const TQDomElement &e, const TQString& subClass ) // constructor if ( objClass == "TQDialog" || objClass == "TQWizard" ) { out << "/* " << endl; - out << " * Constructs a " << subClass << " which is a child of 'tqparent', with the " << endl; + out << " * Constructs a " << subClass << " which is 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 << subClass << "::" << subClass << "( TQWidget* tqparent, const char* name, bool modal, WFlags fl )" << endl; - out << " : " << nameOfClass << "( tqparent, name, modal, fl )" << endl; + out << subClass << "::" << subClass << "( TQWidget* parent, const char* name, bool modal, WFlags fl )" << endl; + out << " : " << nameOfClass << "( parent, name, modal, fl )" << endl; } else { // standard TQWidget out << "/* " << endl; - out << " * Constructs a " << subClass << " which is a child of 'tqparent', with the " << endl; + out << " * Constructs a " << subClass << " which is a child of 'parent', with the " << endl; out << " * name 'name' and widget flags set to 'f' " << endl; out << " */" << endl; - out << subClass << "::" << subClass << "( TQWidget* tqparent, const char* name, WFlags fl )" << endl; - out << " : " << nameOfClass << "( tqparent, name, fl )" << endl; + out << subClass << "::" << subClass << "( TQWidget* parent, const char* name, WFlags fl )" << endl; + out << " : " << nameOfClass << "( parent, name, fl )" << endl; } out << "{" << endl; out << "}" << endl; |