component.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef COMPONENT_H
00013 #define COMPONENT_H
00014
00015 #include "package.h"
00016
00017 class IDChangeLog;
00018
00031 class UMLComponent : public UMLPackage {
00032 Q_OBJECT
00033 public:
00040 explicit UMLComponent(const QString & name = "", Uml::IDType id = Uml::id_None);
00041
00045 virtual ~UMLComponent();
00046
00050 virtual void init();
00051
00055 virtual UMLObject* clone() const;
00056
00061 void saveToXMI( QDomDocument & qDoc, QDomElement & qElement );
00062
00066 void setExecutable(bool executable);
00067
00071 bool getExecutable();
00072
00073 protected:
00078 bool load( QDomElement & element );
00079
00080 private:
00084 bool m_executable;
00085 };
00086
00087 #endif
This file is part of the documentation for umbrello Version 3.1.0.