diff options
author | Timothy Pearson <[email protected]> | 2011-08-10 12:13:27 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-08-10 12:13:27 -0500 |
commit | d296f1d337dabfeae5191955fdadb874965dbbe9 (patch) | |
tree | 1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/tools/designer/uic/subclassing.cpp | |
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/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; |