• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
enumliteral.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2003-2013 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef ENUMLITERAL_H
12 #define ENUMLITERAL_H
13 
14 #include "classifierlistitem.h"
15 
25 class UMLEnumLiteral : public UMLClassifierListItem
26 {
27 public:
28  UMLEnumLiteral(UMLObject* parent,
29  const QString& name, Uml::ID::Type id = Uml::ID::None);
30  explicit UMLEnumLiteral(UMLObject* parent);
31 
32  bool operator==(const UMLEnumLiteral &rhs) const;
33 
34  virtual void copyInto(UMLObject *lhs) const;
35 
36  virtual UMLObject* clone() const;
37 
38  virtual ~UMLEnumLiteral();
39 
40  virtual void saveToXMI(QDomDocument& qDoc, QDomElement& qElement);
41 
42  bool showPropertiesDialog(QWidget* parent);
43 
44 protected:
45  bool load(QDomElement& element);
46 
47 };
48 
49 #endif
UMLClassifierListItem
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others...
Definition: classifierlistitem.h:29
UMLEnumLiteral::clone
virtual UMLObject * clone() const
Make a clone of this object.
Definition: enumliteral.cpp:72
QWidget
UMLObject
This class is the non-graphical version of UMLWidget.
Definition: umlobject.h:41
UMLEnumLiteral::load
bool load(QDomElement &element)
Loads the XMI element (empty.)
Definition: enumliteral.cpp:92
UMLEnumLiteral
This class is used to set up information for an enum literal.
Definition: enumliteral.h:25
Uml::ID::Type
std::string Type
Definition: basictypes.h:317
UMLEnumLiteral::~UMLEnumLiteral
virtual ~UMLEnumLiteral()
Destructor.
Definition: enumliteral.cpp:42
UMLEnumLiteral::copyInto
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: enumliteral.cpp:64
UMLEnumLiteral::saveToXMI
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates the XMI element.
Definition: enumliteral.cpp:83
classifierlistitem.h
UMLEnumLiteral::showPropertiesDialog
bool showPropertiesDialog(QWidget *parent)
Display the properties configuration dialog for the enum literal.
Definition: enumliteral.cpp:101
UMLEnumLiteral::UMLEnumLiteral
UMLEnumLiteral(UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None)
Sets up an enum literal.
Definition: enumliteral.cpp:22
UMLObject::name
QString name() const
Returns a copy of m_name.
Definition: umlobject.cpp:185
UMLEnumLiteral::operator==
bool operator==(const UMLEnumLiteral &rhs) const
Overloaded '==' operator.
Definition: enumliteral.cpp:49
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:319
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal