summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/tools/designer/uic
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commit03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch)
treecaabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/tools/designer/uic
parent0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff)
downloadtde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz
tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/uic')
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/uic/embed.cpp4
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/uic/form.cpp36
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/uic/object.cpp26
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/uic/subclassing.cpp4
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/uic/uic.cpp40
5 files changed, 55 insertions, 55 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/uic/embed.cpp b/experimental/tqtinterface/qt4/tools/designer/uic/embed.cpp
index f6b2f028e..2ef80b5a1 100644
--- a/experimental/tqtinterface/qt4/tools/designer/uic/embed.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/uic/embed.cpp
@@ -230,7 +230,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
#endif
out << "\n"
- "static TQImage uic_tqfindImage( const TQString& name )\n"
+ "static TQImage uic_findImage( const TQString& name )\n"
"{\n"
" for ( int i=0; embed_image_vec[i].data; i++ ) {\n"
" if ( TQString::fromUtf8(embed_image_vec[i].name) == name ) {\n"
@@ -273,7 +273,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
out << " const TQMimeSource* data( const TQString& abs_name ) const {\n";
out << "\tconst TQMimeSource* d = TQMimeSourceFactory::data( abs_name );\n";
out << "\tif ( d || abs_name.isNull() ) return d;\n";
- out << "\tTQImage img = uic_tqfindImage( abs_name );\n";
+ out << "\tTQImage img = uic_findImage( abs_name );\n";
out << "\tif ( !img.isNull() )\n";
out << "\t ((TQMimeSourceFactory*)this)->setImage( abs_name, img );\n";
out << "\treturn TQMimeSourceFactory::data( abs_name );\n";
diff --git a/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp b/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
index 11a0a6929..728a1fdf7 100644
--- a/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/uic/form.cpp
@@ -192,7 +192,7 @@ void Uic::createFormDecl( const TQDomElement &e )
// register the object and unify its name
objName = registerObject( objName );
TQString protector = objName.upper() + "_H";
- protector.tqreplace( "::", "_" );
+ protector.replace( "::", "_" );
out << "#ifndef " << protector << endl;
out << "#define " << protector << endl;
out << endl;
@@ -204,7 +204,7 @@ void Uic::createFormDecl( const TQDomElement &e )
TQStringList globalIncludes, localIncludes;
int wid = WidgetDatabase::idFromClassName( objClass );
{
- TQMap<TQString, CustomInclude>::Iterator it = customWidgetIncludes.tqfind( objClass );
+ TQMap<TQString, CustomInclude>::Iterator it = customWidgetIncludes.find( objClass );
if ( it != customWidgetIncludes.end() ) {
if ( ( *it ).location == "global" )
globalIncludes += (*it).header;
@@ -230,7 +230,7 @@ void Uic::createFormDecl( const TQDomElement &e )
TQDomElement n2 = nl.item(i).toElement();
TQString s = n2.firstChild().toText().data();
if ( n2.attribute( "impldecl", "in implementation" ) == "in declaration" &&
- n2.attribute( "location" ) == "local" &&!globalIncludes.tqcontains( s ) ) {
+ n2.attribute( "location" ) == "local" &&!globalIncludes.contains( s ) ) {
if ( s.right( 5 ) == ".ui.h" )
continue;
localIncludes += s;
@@ -292,7 +292,7 @@ void Uic::createFormDecl( const TQDomElement &e )
continue; // hide qlayoutwidgets
if ( s == "Line" )
s = "TQFrame";
- if ( !(nofwd && customWidgets.tqcontains(s)) )
+ if ( !(nofwd && customWidgets.contains(s)) )
forwardDecl += s;
if ( s.mid( 2 ) == "ListBox" || s.mid( 2 ) == "ListView" || s.mid( 2 ) == "IconView" )
forwardDecl += "TQ" + s.mid( 2 ) + "Item";
@@ -325,7 +325,7 @@ void Uic::createFormDecl( const TQDomElement &e )
TQDomElement n2 = nl.item(i).toElement();
TQString s = n2.firstChild().toText().data();
if ( n2.attribute( "impldecl", "in implementation" ) == "in declaration" &&
- n2.attribute( "location" ) == "local" &&!globalIncludes.tqcontains( s ) )
+ n2.attribute( "location" ) == "local" &&!globalIncludes.contains( s ) )
localIncludes += s;
}
nl = e.parentNode().toElement().elementsByTagName( "exportmacro" );
@@ -547,7 +547,7 @@ void Uic::createFormDecl( const TQDomElement &e )
writeFunctionsDecl( publicSlots, publicSlotTypes, publicSlotSpecifier );
}
- // tqfind Q_SIGNALS
+ // find Q_SIGNALS
TQStringList extraSignals;
nl = e.parentNode().toElement().elementsByTagName( "signal" );
for ( i = 0; i < (int) nl.length(); i++ ) {
@@ -644,9 +644,9 @@ void Uic::writeFunctionsDecl( const TQStringList &fuLst, const TQStringList &typ
if ( *it3 == "pure virtual" || *it3 == "pureVirtual" )
pure = " = 0";
}
- type.tqreplace( ">>", "> >" );
- if ( !signature.tqcontains("operator") )
- signature.tqreplace( ">>", "> >" );
+ type.replace( ">>", "> >" );
+ if ( !signature.contains("operator") )
+ signature.replace( ">>", "> >" );
out << " " << specifier << type << " " << signature << pure << ";" << endl;
}
out << endl;
@@ -673,7 +673,7 @@ void Uic::createFormImpl( const TQDomElement &e )
TQMap<TQString, CustomInclude> customWidgetIncludes;
- // tqfind additional Q_SLOTS and functions
+ // find additional Q_SLOTS and functions
TQStringList extraFuncts;
TQStringList extraFunctTyp;
TQStringList extraFunctSpecifier;
@@ -778,7 +778,7 @@ void Uic::createFormImpl( const TQDomElement &e )
for ( i = 0; i < (int) nl.length(); i++ ) {
TQDomElement n2 = nl.item(i).toElement();
TQString s = n2.firstChild().toText().data();
- if ( n2.attribute( "location" ) == "local" &&!globalIncludes.tqcontains( s ) ) {
+ if ( n2.attribute( "location" ) == "local" &&!globalIncludes.contains( s ) ) {
if ( s.right( 5 ) == ".ui.h" && !TQFile::exists( s ) )
continue;
if ( n2.attribute( "impldecl", "in implementation" ) != "in implementation" )
@@ -812,7 +812,7 @@ void Uic::createFormImpl( const TQDomElement &e )
globalIncludes += "tqheader.h";
if ( name != objClass ) {
int wid = WidgetDatabase::idFromClassName( name );
- TQMap<TQString, CustomInclude>::Iterator it = customWidgetIncludes.tqfind( name );
+ TQMap<TQString, CustomInclude>::Iterator it = customWidgetIncludes.find( name );
if ( it == customWidgetIncludes.end() )
globalIncludes += WidgetDatabase::includeFile( wid );
}
@@ -837,7 +837,7 @@ void Uic::createFormImpl( const TQDomElement &e )
out << "#include <tqtoolbar.h>" << endl;
}
- // tqfind out what images are required
+ // find out what images are required
TQStringList requiredImages;
static const char *imgTags[] = { "pixmap", "iconset", 0 };
for ( i = 0; imgTags[i] != 0; i++ ) {
@@ -885,7 +885,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 ( !requiredImages.tqcontains( img ) )
+ if ( !requiredImages.contains( img ) )
continue;
TQDomElement tmp = nl.item(i).firstChild().toElement();
if ( tmp.tagName() != "data" )
@@ -1047,7 +1047,7 @@ void Uic::createFormImpl( const TQDomElement &e )
if ( objClass == "TQWizard" ) {
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) ) {
+ if ( tags.contains( n.tagName() ) ) {
TQString page = createObjectImpl( n, objClass, "this" );
TQString comment;
TQString label = DomTool::readAttribute( n, "title", "", comment ).toString();
@@ -1068,7 +1068,7 @@ void Uic::createFormImpl( const TQDomElement &e )
}
} else { // standard widgets
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) )
+ if ( tags.contains( n.tagName() ) )
createObjectImpl( n, objName, "this" );
}
}
@@ -1213,7 +1213,7 @@ void Uic::createFormImpl( const TQDomElement &e )
}
}
- if ( extraFuncts.tqfind( "init()" ) != extraFuncts.end() )
+ if ( extraFuncts.find( "init()" ) != extraFuncts.end() )
out << indent << "init();" << endl;
// end of constructor
@@ -1226,7 +1226,7 @@ void Uic::createFormImpl( const TQDomElement &e )
out << " */" << endl;
out << nameOfClass << "::~" << bareNameOfClass << "()" << endl;
out << "{" << endl;
- if ( extraFuncts.tqfind( "destroy()" ) != extraFuncts.end() )
+ if ( extraFuncts.find( "destroy()" ) != extraFuncts.end() )
out << indent << "destroy();" << endl;
out << indent << "// no need to delete child widgets, TQt does it all for us" << endl;
out << "}" << endl;
diff --git a/experimental/tqtinterface/qt4/tools/designer/uic/object.cpp b/experimental/tqtinterface/qt4/tools/designer/uic/object.cpp
index 1ce89b813..77ca635d9 100644
--- a/experimental/tqtinterface/qt4/tools/designer/uic/object.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/uic/object.cpp
@@ -105,7 +105,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
int numColumns = 0;
int numRows = 0;
- if ( layouts.tqcontains( e.tagName() ) )
+ if ( layouts.contains( e.tagName() ) )
return createLayoutImpl( e, parentClass, tqparent, tqlayout );
objClass = getClassName( e );
@@ -137,7 +137,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
// the tqlayout widget is not necessary, hide it by creating its child in the tqparent
TQString result;
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if (tags.tqcontains( n.tagName() ) )
+ if (tags.contains( n.tagName() ) )
result = createObjectImpl( n, parentClass, tqparent, tqlayout );
}
return result;
@@ -227,28 +227,28 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
TQString call;
TQString value;
- if ( objClass.tqcontains( "ListBox" ) ) {
+ if ( objClass.contains( "ListBox" ) ) {
call = createListBoxItemImpl( n, objName );
if ( !call.isEmpty() ) {
if ( numItems == 0 )
trout << indent << objName << "->clear();" << endl;
trout << indent << call << endl;
}
- } else if ( objClass.tqcontains( "ComboBox" ) ) {
+ } else if ( objClass.contains( "ComboBox" ) ) {
call = createListBoxItemImpl( n, objName, &value );
if ( !call.isEmpty() ) {
if ( numItems == 0 )
trout << indent << objName << "->clear();" << endl;
trout << indent << call << endl;
}
- } else if ( objClass.tqcontains( "IconView" ) ) {
+ } else if ( objClass.contains( "IconView" ) ) {
call = createIconViewItemImpl( n, objName );
if ( !call.isEmpty() ) {
if ( numItems == 0 )
trout << indent << objName << "->clear();" << endl;
trout << indent << call << endl;
}
- } else if ( objClass.tqcontains( "ListView" ) ) {
+ } else if ( objClass.contains( "ListView" ) ) {
call = createListViewItemImpl( n, objName, TQString() );
if ( !call.isEmpty() ) {
if ( numItems == 0 )
@@ -262,7 +262,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
TQString call;
TQString value;
- if ( objClass.tqcontains( "ListView" ) ) {
+ if ( objClass.contains( "ListView" ) ) {
call = createListViewColumnImpl( n, objName, &value );
if ( !call.isEmpty() ) {
out << call;
@@ -288,7 +288,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
if ( objClass == "TQTabWidget" ) {
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) ) {
+ if ( tags.contains( n.tagName() ) ) {
TQString page = createObjectImpl( n, objClass, objName );
TQString comment;
TQString label = DomTool::readAttribute( n, "title", "", comment ).toString();
@@ -299,7 +299,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
}
} else if ( objClass == "TQWidgetStack" ) {
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) ) {
+ if ( tags.contains( n.tagName() ) ) {
TQString page = createObjectImpl( n, objClass, objName );
int id = DomTool::readAttribute( n, "id", "" ).toInt();
out << indent << objName << "->addWidget( " << page << ", " << id << " );" << endl;
@@ -307,7 +307,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
}
} else if ( objClass == "TQToolBox" ) {
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) ) {
+ if ( tags.contains( n.tagName() ) ) {
TQString page = createObjectImpl( n, objClass, objName );
TQString comment;
TQString label = DomTool::readAttribute( n, "label", "", comment ).toString();
@@ -328,7 +328,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
if ( iface2 ) {
bool supportsPages = iface2->supportsPages( objClass );
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) ) {
+ if ( tags.contains( n.tagName() ) ) {
if ( supportsPages ) {
TQString page = createObjectImpl( n, objClass, objName );
TQString comment;
@@ -345,7 +345,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
} else {
#endif
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
- if ( tags.tqcontains( n.tagName() ) )
+ if ( tags.contains( n.tagName() ) )
createObjectImpl( n, objClass, objName );
}
#ifdef TQT_CONTAINER_CUSTOM_WIDGETS
@@ -582,7 +582,7 @@ TQString Uic::setObjectProperty( const TQString& objClass, const TQString& obj,
v = "int( ";
TQStringList::Iterator it = lst.begin();
while ( it != lst.end() ) {
- if (((*it).tqfind("Align", 0, TRUE) == 0)
+ if (((*it).find("Align", 0, TRUE) == 0)
|| ((*it) == "WordBreak")) {
v += "TQt::" + *it;
}
diff --git a/experimental/tqtinterface/qt4/tools/designer/uic/subclassing.cpp b/experimental/tqtinterface/qt4/tools/designer/uic/subclassing.cpp
index 895c7f8f2..3677b7800 100644
--- a/experimental/tqtinterface/qt4/tools/designer/uic/subclassing.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/uic/subclassing.cpp
@@ -80,7 +80,7 @@ void Uic::createSubDecl( const TQDomElement &e, const TQString& subClass )
out << " ~" << subClass << "();" << endl;
out << endl;
- // tqfind additional functions
+ // find additional functions
TQStringList publicSlots, protectedSlots, privateSlots;
TQStringList publicSlotTypes, protectedSlotTypes, privateSlotTypes;
TQStringList publicSlotSpecifier, protectedSlotSpecifier, privateSlotSpecifier;
@@ -243,7 +243,7 @@ void Uic::createSubImpl( const TQDomElement &e, const TQString& subClass )
out << endl;
- // tqfind additional functions
+ // find additional functions
TQStringList publicSlots, protectedSlots, privateSlots;
TQStringList publicSlotTypes, protectedSlotTypes, privateSlotTypes;
TQStringList publicSlotSpecifier, protectedSlotSpecifier, privateSlotSpecifier;
diff --git a/experimental/tqtinterface/qt4/tools/designer/uic/uic.cpp b/experimental/tqtinterface/qt4/tools/designer/uic/uic.cpp
index 5eed17534..7a71eaf62 100644
--- a/experimental/tqtinterface/qt4/tools/designer/uic/uic.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/uic/uic.cpp
@@ -77,10 +77,10 @@ TQString Uic::fixString( const TQString &str, bool encode )
TQString s;
if ( !encode ) {
s = str;
- s.tqreplace( "\\", "\\\\" );
- s.tqreplace( "\"", "\\\"" );
- s.tqreplace( "\r", "" );
- s.tqreplace( "\n", "\\n\"\n\"" );
+ s.replace( "\\", "\\\\" );
+ s.replace( "\"", "\\\"" );
+ s.replace( "\r", "" );
+ s.replace( "\n", "\\n\"\n\"" );
} else {
TQCString utf8 = str.utf8();
const int l = utf8.length();
@@ -236,7 +236,7 @@ TQString Uic::getFormClassName( const TQDomElement& e )
if ( n.tagName() == "class" ) {
TQString s = n.firstChild().toText().data();
int i;
- while ( ( i = s.tqfind(' ' )) != -1 )
+ while ( ( i = s.find(' ' )) != -1 )
s[i] = '_';
cn = s;
}
@@ -315,7 +315,7 @@ TQString Uic::getDatabaseInfo( const TQDomElement& e, const TQString& tag )
return TQString();
n = getObjectProperty( e, "database" );
if ( n.firstChild().toElement().tagName() == "stringlist" ) {
- // tqfind correct stringlist entry
+ // find correct stringlist entry
TQDomElement n1 = n.firstChild().firstChild().toElement();
for ( int i = 0; i < child && !n1.isNull(); ++i )
n1 = n1.nextSibling().toElement();
@@ -329,7 +329,7 @@ TQString Uic::getDatabaseInfo( const TQDomElement& e, const TQString& tag )
void Uic::registerLayouts( const TQDomElement &e )
{
- if ( layouts.tqcontains(e.tagName())) {
+ if ( layouts.contains(e.tagName())) {
createObjectDecl(e);
TQString t = e.tagName();
if ( t == "vbox" || t == "hbox" || t == "grid" )
@@ -512,10 +512,10 @@ void Uic::createMenuBarImpl( const TQDomElement &n, const TQString &parentClass,
out << indent << itemName << " = new TQPopupMenu( this );" << endl;
createPopupMenuImpl( c, parentClass, itemName );
out << indent << objName << "->insertItem( TQString(\"\"), " << itemName << ", " << i << " );" << endl;
- TQString tqfindItem(objName + "->tqfindItem(%1)");
- tqfindItem = tqfindItem.arg(i);
- trout << indent << "if (" << tqfindItem << ")" << endl;
- trout << indent << indent << tqfindItem << "->setText( " << trcall( c.attribute( "text" ) ) << " );" << endl;
+ TQString findItem(objName + "->findItem(%1)");
+ findItem = findItem.arg(i);
+ trout << indent << "if (" << findItem << ")" << endl;
+ trout << indent << indent << findItem << "->setText( " << trcall( c.attribute( "text" ) ) << " );" << endl;
} else if ( c.tagName() == "separator" ) {
out << endl;
out << indent << objName << "->insertSeparator( " << i << " );" << endl;
@@ -854,7 +854,7 @@ TQString Uic::createLayoutImpl( const TQDomElement &e, const TQString& parentCla
if ( n.tagName() == "spacer" ) {
TQString child = createSpacerImpl( n, parentClass, tqparent, objName );
out << indent << objName << "->addItem( static_cast<TQLayoutItem*>(static_cast<QLayoutItem*>( " << child << " )) );" << endl;
- } else if ( tags.tqcontains( n.tagName() ) ) {
+ } else if ( tags.contains( n.tagName() ) ) {
TQString child = createObjectImpl( n, parentClass, tqparent, objName );
if ( isLayout( child ) )
out << indent << objName << "->addLayout( static_cast<TQLayout*>(static_cast<QLayout*>( " << child << " )) );" << endl;
@@ -881,7 +881,7 @@ TQString Uic::createLayoutImpl( const TQDomElement &e, const TQString& parentCla
else
out << indent << objName << "->addItem( " << child << ", "
<< row << ", " << col << " );" << endl;
- } else if ( tags.tqcontains( n.tagName() ) ) {
+ } else if ( tags.contains( n.tagName() ) ) {
TQString child = createObjectImpl( n, parentClass, tqparent, objName );
out << endl;
TQString o = "Widget";
@@ -1052,13 +1052,13 @@ TQString Uic::registerObject( const TQString& name )
TQString result = name;
int i;
- while ( ( i = result.tqfind(' ' )) != -1 ) {
+ while ( ( i = result.find(' ' )) != -1 ) {
result[i] = '_';
}
- if ( objectNames.tqcontains( result ) ) {
+ if ( objectNames.contains( result ) ) {
int i = 2;
- while ( objectNames.tqcontains( result + "_" + TQString::number(i) ) )
+ while ( objectNames.contains( result + "_" + TQString::number(i) ) )
i++;
result += "_";
result += TQString::number(i);
@@ -1076,7 +1076,7 @@ TQString Uic::registerObject( const TQString& name )
*/
TQString Uic::registeredName( const TQString& name )
{
- if ( !objectMapper.tqcontains( name ) )
+ if ( !objectMapper.contains( name ) )
return name;
return objectMapper[name];
}
@@ -1086,7 +1086,7 @@ TQString Uic::registeredName( const TQString& name )
*/
bool Uic::isObjectRegistered( const TQString& name )
{
- return objectMapper.tqcontains( name );
+ return objectMapper.contains( name );
}
@@ -1100,7 +1100,7 @@ TQStringList Uic::unique( const TQStringList& list )
TQStringList result;
for ( TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it ) {
- if ( !result.tqcontains(*it) )
+ if ( !result.contains(*it) )
result += *it;
}
return result;
@@ -1122,7 +1122,7 @@ TQString Uic::createObjectInstance( const TQString& objClass, const TQString& tq
bool Uic::isLayout( const TQString& name ) const
{
- return layoutObjects.tqcontains( name );
+ return layoutObjects.contains( name );
}