umbrello API Documentation

usecase.cpp

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2002-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #include "usecase.h"
00013 
00014 UMLUseCase::UMLUseCase(const QString & name, Uml::IDType id)
00015         : UMLCanvasObject(name, id) {
00016     init();
00017 }
00018 
00019 UMLUseCase::~UMLUseCase() {}
00020 
00021 void UMLUseCase::init() {
00022     m_BaseType = Uml::ot_UseCase;
00023 }
00024 
00025 UMLObject* UMLUseCase::clone() const {
00026     UMLUseCase *clone = new UMLUseCase();
00027     UMLObject::copyInto(clone);
00028     return clone;
00029 }
00030 
00031 void UMLUseCase::saveToXMI(QDomDocument& qDoc, QDomElement& qElement) {
00032     QDomElement usecaseElement = UMLObject::save("UML:UseCase", qDoc);
00033     qElement.appendChild(usecaseElement);
00034 }
00035 
00036 bool UMLUseCase::load(QDomElement& ) {
00037     return true;
00038 }
00039 
00040 
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:02 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003