diff options
Diffstat (limited to 'pyuic3/form.cpp')
-rw-r--r-- | pyuic3/form.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pyuic3/form.cpp b/pyuic3/form.cpp index 31785ac..427aa66 100644 --- a/pyuic3/form.cpp +++ b/pyuic3/form.cpp @@ -118,7 +118,7 @@ void Uic::createFormImpl( const TQDomElement &e ) return; TQString objName = getObjectName( e ); - // generate local and local includes retquired + // generate local and local includes required TQStringList globalIncludes; TQStringList::Iterator it; TQStringList sqlClasses; @@ -319,8 +319,8 @@ void Uic::createFormImpl( const TQDomElement &e ) out << endl; - // find out what images are retquired - TQStringList retquiredImages; + // find out what images are required + TQStringList requiredImages; static const char *imgTags[] = { "pixmap", "iconset", 0 }; for ( i = 0; imgTags[i] != 0; i++ ) { nl = e.parentNode().toElement().elementsByTagName( imgTags[i] ); @@ -329,7 +329,7 @@ void Uic::createFormImpl( const TQDomElement &e ) while ( nn.parentNode() != e.parentNode() ) nn = nn.parentNode(); if ( nn.nodeName() != "customwidgets" ) - retquiredImages += nl.item(j).firstChild().toText().data(); + requiredImages += nl.item(j).firstChild().toText().data(); } } @@ -345,7 +345,7 @@ void Uic::createFormImpl( const TQDomElement &e ) nl = n.elementsByTagName( "image" ); for ( i = 0; i < (int) nl.length(); i++ ) { TQString img = registerObject( nl.item(i).toElement().attribute( "name" ) ); - if ( !retquiredImages.contains( img ) ) + if ( !requiredImages.contains( img ) ) continue; TQDomElement tmp = nl.item(i).firstChild().toElement(); if ( tmp.tagName() != "data" ) @@ -508,7 +508,7 @@ void Uic::createFormImpl( const TQDomElement &e ) out << endl; - // create all children, some forms have special retquirements + // create all children, some forms have special requirements if ( objClass == "TQWizard" ) { for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) { @@ -723,7 +723,7 @@ void Uic::createFormImpl( const TQDomElement &e ) --indent; } - // handle application events if retquired + // handle application events if required bool needFontEventHandler = FALSE; bool needSqlTableEventHandler = FALSE; bool needSqlDataBrowserEventHandler = FALSE; |