summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenobjectwithtextblocks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenobjectwithtextblocks.cpp')
-rw-r--r--umbrello/umbrello/codegenobjectwithtextblocks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codegenobjectwithtextblocks.cpp b/umbrello/umbrello/codegenobjectwithtextblocks.cpp
index 47cd27d3..839e82b4 100644
--- a/umbrello/umbrello/codegenobjectwithtextblocks.cpp
+++ b/umbrello/umbrello/codegenobjectwithtextblocks.cpp
@@ -96,7 +96,7 @@ bool CodeGenObjectWithTextBlocks::addTextBlock(TextBlock* add_object ) {
}
}
- if(m_textBlockTagMap.tqcontains(tag))
+ if(m_textBlockTagMap.contains(tag))
return false; // return false, we already have some object with this tag in the list
// if we get here, then the object is a "fresh" one, we havent
@@ -136,7 +136,7 @@ bool CodeGenObjectWithTextBlocks::removeTextBlock ( TextBlock * remove_object )
TextBlock * CodeGenObjectWithTextBlocks::findTextBlockByTag( const TQString &tag )
{
//if we already know to which file this class was written/should be written, just return it.
- if(m_textBlockTagMap.tqcontains(tag))
+ if(m_textBlockTagMap.contains(tag))
return m_textBlockTagMap[tag];
return (TextBlock*) NULL;