codecomment.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "codecomment.h"
00017 #include "codedocument.h"
00018 #include <kdebug.h>
00019
00020
00021
00022
00023 CodeComment::CodeComment (CodeDocument * doc, const QString & comment )
00024 : TextBlock ( doc, comment )
00025 {
00026
00027 }
00028
00029 CodeComment::~CodeComment ( ) { }
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00046 void CodeComment::saveToXMI ( QDomDocument & doc, QDomElement & root ) {
00047 kDebug() << "CodeComment::saveToXMI is called!" << endl;
00048 QDomElement blockElement = doc.createElement( "codecomment" );
00049 setAttributesOnNode(doc, blockElement);
00050
00051 root.appendChild( blockElement );
00052 }
00053
00057 void CodeComment::loadFromXMI ( QDomElement & root ) {
00058 setAttributesFromNode(root);
00059 }
00060
00061
00062 #include "codecomment.moc"
This file is part of the documentation for umbrello Version 3.1.0.