summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/textblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/textblock.cpp')
-rw-r--r--umbrello/umbrello/textblock.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/textblock.cpp b/umbrello/umbrello/textblock.cpp
index 1a66c113..6ae42c52 100644
--- a/umbrello/umbrello/textblock.cpp
+++ b/umbrello/umbrello/textblock.cpp
@@ -30,10 +30,10 @@
// Constructors/Destructors
//
-TextBlock::TextBlock ( CodeDocument * tqparent, const TQString & text )
- : TQObject ( (TQObject *)tqparent, "textBlock")
+TextBlock::TextBlock ( CodeDocument * parent, const TQString & text )
+ : TQObject ( (TQObject *)parent, "textBlock")
{
- initFields(tqparent);
+ initFields(parent);
setText(text);
}
@@ -49,7 +49,7 @@ TextBlock::~TextBlock ( ) { }
/**
- * Set the value of the tqparent code document
+ * Set the value of the parent code document
* @param new_var the new value of m_parentDocument
*/
void TextBlock::setParentDocument ( CodeDocument * new_var ) {
@@ -137,7 +137,7 @@ void TextBlock::setIndentationLevel ( int level ) {
}
/** Get how many times to indent this text block.
- * The amount of each indenatation is determined from the tqparent
+ * The amount of each indenatation is determined from the parent
* codedocument codegeneration policy.
*/
int TextBlock::getIndentationLevel ( ) {
@@ -308,10 +308,10 @@ TQString TextBlock::toString ( )
return "";
}
-void TextBlock::initFields ( CodeDocument * tqparent ) {
+void TextBlock::initFields ( CodeDocument * parent ) {
m_canDelete = true;
m_writeOutText = true;
- m_parentDocument = tqparent;
+ m_parentDocument = parent;
m_text = "";
m_tag = "";
m_indentationLevel = 0;