summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/rbuic/form.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
commit26abe38d0748c549f2458da57507614fad599d83 (patch)
tree02bc387417c25ba4cc5744f8addf7e3dacf24292 /qtruby/rubylib/designer/rbuic/form.cpp
parente1a0e352b6ead69ed6f55476272ace842fbbdf74 (diff)
downloadtdebindings-26abe38d0748c549f2458da57507614fad599d83.tar.gz
tdebindings-26abe38d0748c549f2458da57507614fad599d83.zip
Fix retquire
Diffstat (limited to 'qtruby/rubylib/designer/rbuic/form.cpp')
-rw-r--r--qtruby/rubylib/designer/rbuic/form.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp
index bbb0c7f6..42ec751f 100644
--- a/qtruby/rubylib/designer/rbuic/form.cpp
+++ b/qtruby/rubylib/designer/rbuic/form.cpp
@@ -95,12 +95,12 @@ void Uic::createFormImpl( const TQDomElement &e )
TQString objName = getObjectName( e );
if (hasKDEwidget) {
- out << indent << "retquire 'Korundum'" << endl << endl;
+ out << indent << "require 'Korundum'" << endl << endl;
} else {
- out << indent << "retquire 'Qt'" << endl << endl;
+ out << indent << "require 'Qt'" << endl << endl;
}
- // generate local and local includes retquired
+ // generate local and local includes required
TQStringList globalIncludes, localIncludes;
TQStringList::Iterator it;
TQStringList sqlClasses;
@@ -416,14 +416,14 @@ 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] );
for ( int j = 0; j < (int) nl.length(); j++ ) {
TQString img = "@";
- retquiredImages += (img + nl.item(j).firstChild().toText().data());
+ requiredImages += (img + nl.item(j).firstChild().toText().data());
}
}
@@ -444,7 +444,7 @@ void Uic::createFormImpl( const TQDomElement &e )
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" )
@@ -612,7 +612,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 == "TQt::Wizard" )
{
@@ -795,7 +795,7 @@ void Uic::createFormImpl( const TQDomElement &e )
- // handle application events if retquired
+ // handle application events if required
bool needFontEventHandler = false;
bool needSqlTableEventHandler = false;
bool needSqlDataBrowserEventHandler = false;