summaryrefslogtreecommitdiffstats
path: root/parts/classview/classviewwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/classviewwidget.cpp')
-rw-r--r--parts/classview/classviewwidget.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index 1eccf136..a06948ab 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -116,7 +116,7 @@ template <class ModelType, class ListItemType>
if( c ) {
KSharedPtr<ModelType> d( c );
- typename TQMap<KSharedPtr<ModelType>, ListItemType*>::ConstIterator it = map.tqfind(d);
+ typename TQMap<KSharedPtr<ModelType>, ListItemType*>::ConstIterator it = map.find(d);
if( it != map.end() ) {
( *it )->select();
return true;
@@ -482,13 +482,13 @@ void FolderBrowserItem::processFile( FileDom file, TQStringList& path, bool remo
TQString current = path.front();
path.pop_front();
- FolderBrowserItem* item = m_folders.tqcontains( current ) ? m_folders[ current ] : 0;
+ FolderBrowserItem* item = m_folders.contains( current ) ? m_folders[ current ] : 0;
if( !item ){
if( remove )
return;
item = new FolderBrowserItem( m_widget, this, current );
- if( listView()->removedText.tqcontains(current) )
+ if( listView()->removedText.contains(current) )
item->setOpen( true );
m_folders.insert( current, item );
}
@@ -507,13 +507,13 @@ void FolderBrowserItem::processFile( FileDom file, TQStringList& path, bool remo
void FolderBrowserItem::processNamespace( NamespaceDom ns, bool remove )
{
- NamespaceDomBrowserItem* item = m_namespaces.tqcontains( ns->name() ) ? m_namespaces[ ns->name() ] : 0;
+ NamespaceDomBrowserItem* item = m_namespaces.contains( ns->name() ) ? m_namespaces[ ns->name() ] : 0;
if( !item ){
if( remove )
return;
item = new NamespaceDomBrowserItem( this, ns );
- if( listView()->removedText.tqcontains(ns->name()) )
+ if( listView()->removedText.contains(ns->name()) )
item->setOpen( true );
m_namespaces.insert( ns->name(), item );
}
@@ -547,13 +547,13 @@ void FolderBrowserItem::processNamespace( NamespaceDom ns, bool remove )
void FolderBrowserItem::processClass( ClassDom klass, bool remove )
{
- ClassDomBrowserItem* item = m_classes.tqcontains( klass ) ? m_classes[ klass ] : 0;
+ ClassDomBrowserItem* item = m_classes.contains( klass ) ? m_classes[ klass ] : 0;
if( !item ){
if( remove )
return;
item = new ClassDomBrowserItem( this, klass );
- if( listView()->removedText.tqcontains(klass->name()) )
+ if( listView()->removedText.contains(klass->name()) )
item->setOpen( true );
m_classes.insert( klass, item );
}
@@ -584,13 +584,13 @@ void FolderBrowserItem::processClass( ClassDom klass, bool remove )
void FolderBrowserItem::processTypeAlias( TypeAliasDom typeAlias, bool remove )
{
- TypeAliasDomBrowserItem* item = m_typeAliases.tqcontains( typeAlias ) ? m_typeAliases[ typeAlias ] : 0;
+ TypeAliasDomBrowserItem* item = m_typeAliases.contains( typeAlias ) ? m_typeAliases[ typeAlias ] : 0;
if( !item ){
if( remove )
return;
item = new TypeAliasDomBrowserItem( this, typeAlias );
- if( listView()->removedText.tqcontains(typeAlias->name()) )
+ if( listView()->removedText.contains(typeAlias->name()) )
item->setOpen( true );
m_typeAliases.insert( typeAlias, item );
}
@@ -607,7 +607,7 @@ void FolderBrowserItem::processTypeAlias( TypeAliasDom typeAlias, bool remove )
void FolderBrowserItem::processFunction( FunctionDom fun, bool remove )
{
- FunctionDomBrowserItem* item = m_functions.tqcontains( fun ) ? m_functions[ fun ] : 0;
+ FunctionDomBrowserItem* item = m_functions.contains( fun ) ? m_functions[ fun ] : 0;
if( !item ){
if( remove )
return;
@@ -625,7 +625,7 @@ void FolderBrowserItem::processFunction( FunctionDom fun, bool remove )
void FolderBrowserItem::processVariable( VariableDom var, bool remove )
{
- VariableDomBrowserItem* item = m_variables.tqcontains( var ) ? m_variables[ var ] : 0;
+ VariableDomBrowserItem* item = m_variables.contains( var ) ? m_variables[ var ] : 0;
if( !item ){
if( remove )
return;
@@ -679,13 +679,13 @@ bool NamespaceDomBrowserItem::selectItem( ItemDom item)
void NamespaceDomBrowserItem::processNamespace( NamespaceDom ns, bool remove )
{
- NamespaceDomBrowserItem* item = m_namespaces.tqcontains( ns->name() ) ? m_namespaces[ ns->name() ] : 0;
+ NamespaceDomBrowserItem* item = m_namespaces.contains( ns->name() ) ? m_namespaces[ ns->name() ] : 0;
if( !item ){
if( remove )
return;
item = new NamespaceDomBrowserItem( this, ns );
- if( listView()->removedText.tqcontains(ns->name()) )
+ if( listView()->removedText.contains(ns->name()) )
item->setOpen( true );
m_namespaces.insert( ns->name(), item );
}
@@ -719,13 +719,13 @@ void NamespaceDomBrowserItem::processNamespace( NamespaceDom ns, bool remove )
void NamespaceDomBrowserItem::processClass( ClassDom klass, bool remove )
{
- ClassDomBrowserItem* item = m_classes.tqcontains( klass ) ? m_classes[ klass ] : 0;
+ ClassDomBrowserItem* item = m_classes.contains( klass ) ? m_classes[ klass ] : 0;
if( !item ){
if( remove )
return;
item = new ClassDomBrowserItem( this, klass );
- if( listView()->removedText.tqcontains(klass->name()) )
+ if( listView()->removedText.contains(klass->name()) )
item->setOpen( true );
m_classes.insert( klass, item );
}
@@ -756,13 +756,13 @@ void NamespaceDomBrowserItem::processClass( ClassDom klass, bool remove )
void NamespaceDomBrowserItem::processTypeAlias( TypeAliasDom typeAlias, bool remove )
{
- TypeAliasDomBrowserItem* item = m_typeAliases.tqcontains( typeAlias ) ? m_typeAliases[ typeAlias ] : 0;
+ TypeAliasDomBrowserItem* item = m_typeAliases.contains( typeAlias ) ? m_typeAliases[ typeAlias ] : 0;
if( !item ){
if( remove )
return;
item = new TypeAliasDomBrowserItem( this, typeAlias );
- if( listView()->removedText.tqcontains(typeAlias->name()) )
+ if( listView()->removedText.contains(typeAlias->name()) )
item->setOpen( true );
m_typeAliases.insert( typeAlias, item );
}
@@ -779,7 +779,7 @@ void NamespaceDomBrowserItem::processTypeAlias( TypeAliasDom typeAlias, bool rem
void NamespaceDomBrowserItem::processFunction( FunctionDom fun, bool remove )
{
- FunctionDomBrowserItem* item = m_functions.tqcontains( fun ) ? m_functions[ fun ] : 0;
+ FunctionDomBrowserItem* item = m_functions.contains( fun ) ? m_functions[ fun ] : 0;
if( !item ){
if( remove )
return;
@@ -797,7 +797,7 @@ void NamespaceDomBrowserItem::processFunction( FunctionDom fun, bool remove )
void NamespaceDomBrowserItem::processVariable( VariableDom var, bool remove )
{
- VariableDomBrowserItem* item = m_variables.tqcontains( var ) ? m_variables[ var ] : 0;
+ VariableDomBrowserItem* item = m_variables.contains( var ) ? m_variables[ var ] : 0;
if( !item ){
if( remove )
return;
@@ -844,13 +844,13 @@ bool ClassDomBrowserItem::selectItem(ItemDom item)
void ClassDomBrowserItem::processClass( ClassDom klass, bool remove )
{
- ClassDomBrowserItem* item = m_classes.tqcontains( klass ) ? m_classes[ klass ] : 0;
+ ClassDomBrowserItem* item = m_classes.contains( klass ) ? m_classes[ klass ] : 0;
if( !item ){
if( remove )
return;
item = new ClassDomBrowserItem( this, klass );
- if( listView()->removedText.tqcontains(klass->name()) )
+ if( listView()->removedText.contains(klass->name()) )
item->setOpen( true );
m_classes.insert( klass, item );
}
@@ -881,13 +881,13 @@ void ClassDomBrowserItem::processClass( ClassDom klass, bool remove )
void ClassDomBrowserItem::processTypeAlias( TypeAliasDom typeAlias, bool remove )
{
- TypeAliasDomBrowserItem* item = m_typeAliases.tqcontains( typeAlias ) ? m_typeAliases[ typeAlias ] : 0;
+ TypeAliasDomBrowserItem* item = m_typeAliases.contains( typeAlias ) ? m_typeAliases[ typeAlias ] : 0;
if( !item ){
if( remove )
return;
item = new TypeAliasDomBrowserItem( this, typeAlias );
- if( listView()->removedText.tqcontains(typeAlias->name()) )
+ if( listView()->removedText.contains(typeAlias->name()) )
item->setOpen( true );
m_typeAliases.insert( typeAlias, item );
}
@@ -904,7 +904,7 @@ void ClassDomBrowserItem::processTypeAlias( TypeAliasDom typeAlias, bool remove
void ClassDomBrowserItem::processFunction( FunctionDom fun, bool remove )
{
- FunctionDomBrowserItem* item = m_functions.tqcontains( fun ) ? m_functions[ fun ] : 0;
+ FunctionDomBrowserItem* item = m_functions.contains( fun ) ? m_functions[ fun ] : 0;
if( !item ){
if( remove )
return;
@@ -922,7 +922,7 @@ void ClassDomBrowserItem::processFunction( FunctionDom fun, bool remove )
void ClassDomBrowserItem::processVariable( VariableDom var, bool remove )
{
- VariableDomBrowserItem* item = m_variables.tqcontains( var ) ? m_variables[ var ] : 0;
+ VariableDomBrowserItem* item = m_variables.contains( var ) ? m_variables[ var ] : 0;
if( !item ){
if( remove )
return;