[Uml-devel] KDE/kdesdk/umbrello/umbrello/codegenerators
Andi Fischer
andi.fischer at hispeed.ch
Mon Mar 9 21:39:28 UTC 2009
SVN commit 937536 by fischer:
Some comments fixed.
M +4 -1 codeblock.cpp
M +0 -5 codeblock.h
M +4 -4 codedocument.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/codeblock.cpp #937535:937536
@@ -20,6 +20,9 @@
m_contentType = AutoGenerated;
}
+/**
+ * Empty Destructor
+ */
CodeBlock::~CodeBlock ( )
{
}
@@ -86,7 +89,7 @@
/**
* Set the class attributes of this object from
* the passed element node.
- * @param element the xmi element from which to load
+ * @param elem the xmi element from which to load
*/
void CodeBlock::setAttributesFromNode (QDomElement & elem)
{
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/codeblock.h #937535:937536
@@ -29,10 +29,6 @@
enum ContentType {AutoGenerated=0, UserGenerated };
explicit CodeBlock ( CodeDocument * parent, const QString & body = "");
-
- /**
- * Empty Destructor
- */
virtual ~CodeBlock ( );
void setContentType ( ContentType new_var );
@@ -42,7 +38,6 @@
static QString enumToString(const ContentType& val);
virtual void saveToXMI ( QDomDocument & doc, QDomElement & root );
-
virtual void loadFromXMI ( QDomElement & root );
virtual void setAttributesFromObject (TextBlock * obj);
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/codedocument.cpp #937535:937536
@@ -130,9 +130,9 @@
* Set the value of m_ID.
* @param new_id the new value of m_ID
*/
-void CodeDocument::setID ( const QString &new_var )
+void CodeDocument::setID ( const QString &new_id )
{
- m_ID = new_var;
+ m_ID = new_id;
}
/**
@@ -170,9 +170,9 @@
* Set a Header comment object.
* @param comment the comment for the header
*/
-void CodeDocument::setHeader ( CodeComment * header )
+void CodeDocument::setHeader ( CodeComment * comment )
{
- m_header = header;
+ m_header = comment;
}
/**
More information about the umbrello-devel
mailing list