summaryrefslogtreecommitdiffstats
path: root/pyuic2
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 22:18:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 22:18:57 -0600
commit752274609034af8c68c46d19bed586ea6ae348b8 (patch)
treee8e76ca1acfa09d45f399a88cb3ada51992ae574 /pyuic2
parentd2b09f66d0c8c8c26ec613b96d7c248e78a5c52f (diff)
downloadpytqt-752274609034af8c68c46d19bed586ea6ae348b8.tar.gz
pytqt-752274609034af8c68c46d19bed586ea6ae348b8.zip
Fix retquire
Diffstat (limited to 'pyuic2')
-rw-r--r--pyuic2/COPYING6
-rw-r--r--pyuic2/uic.cpp14
2 files changed, 10 insertions, 10 deletions
diff --git a/pyuic2/COPYING b/pyuic2/COPYING
index b30cb9b..871ace0 100644
--- a/pyuic2/COPYING
+++ b/pyuic2/COPYING
@@ -109,9 +109,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
- the Program is not retquired to print an announcement.)
+ the Program is not required to print an announcement.)
-These retquirements apply to the modified work as a whole. If
+These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
- 5. You are not retquired to accept this License, since you have not
+ 5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp
index fc470f3..2f445e5 100644
--- a/pyuic2/uic.cpp
+++ b/pyuic2/uic.cpp
@@ -260,11 +260,11 @@ void Uic::createFormImpl( const TQDomElement &e )
}
}
- // find out what images are retquired
- TQStringList retquiredImages;
+ // find out what images are required
+ TQStringList requiredImages;
nl = e.elementsByTagName( "pixmap" );
for ( int j = 0; j < (int) nl.length(); j++ ) {
- retquiredImages += nl.item(j).firstChild().toText().data();
+ requiredImages += nl.item(j).firstChild().toText().data();
}
TQStringList images;
@@ -277,7 +277,7 @@ void Uic::createFormImpl( const TQDomElement &e )
for ( i = 0; i < (int) nl.length(); i++ ) {
TQDomElement tmp = nl.item(i).firstChild().toElement();
TQString img = registerObject( tmp.firstChild().toText().data() );
- if ( !retquiredImages.contains( img ) )
+ if ( !requiredImages.contains( img ) )
continue;
tmp = tmp.nextSibling().toElement();
TQString format = tmp.attribute("format", "PNG" );
@@ -424,7 +424,7 @@ void Uic::createFormImpl( const TQDomElement &e )
}
- // 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() ) {
@@ -540,7 +540,7 @@ void Uic::createFormImpl( const TQDomElement &e )
// end of constructor
popIndent();
- // handle application font changes if retquired
+ // handle application font changes if required
nl = e.elementsByTagName( "widget" );
bool needEventHandler = FALSE;
for ( i = 0; i < (int) nl.length(); i++ ) {
@@ -734,7 +734,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
}
}
- // create all children, some widgets have special retquirements
+ // create all children, some widgets have special requirements
if ( objClass == "TQTabWidget" ) {
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {