diff options
Diffstat (limited to 'umbrello/umbrello/codeblockwithcomments.cpp')
-rw-r--r-- | umbrello/umbrello/codeblockwithcomments.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/umbrello/umbrello/codeblockwithcomments.cpp b/umbrello/umbrello/codeblockwithcomments.cpp index b4a92825..07709cf8 100644 --- a/umbrello/umbrello/codeblockwithcomments.cpp +++ b/umbrello/umbrello/codeblockwithcomments.cpp @@ -34,10 +34,10 @@ CodeBlockWithComments::CodeBlockWithComments ( HierarchicalCodeBlock * hb, const initFields(hb->getParentDocument(), comment); } -CodeBlockWithComments::CodeBlockWithComments ( CodeDocument * tqparent , const TQString & body, const TQString & comment) - : CodeBlock (tqparent, body) +CodeBlockWithComments::CodeBlockWithComments ( CodeDocument * parent , const TQString & body, const TQString & comment) + : CodeBlock (parent, body) { - initFields(tqparent, comment); + initFields(parent, comment); } CodeBlockWithComments::~CodeBlockWithComments ( ) { } @@ -171,9 +171,9 @@ void CodeBlockWithComments::setOverallIndentationLevel ( int level ) m_comment->setIndentationLevel(level); } -void CodeBlockWithComments::initFields(CodeDocument *tqparent, const TQString& comment) +void CodeBlockWithComments::initFields(CodeDocument *parent, const TQString& comment) { - CodeComment * codecomment = CodeGenFactory::newCodeComment(tqparent); + CodeComment * codecomment = CodeGenFactory::newCodeComment(parent); codecomment->setText(comment); m_comment = codecomment; } |