• 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
stereotype.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 <[email protected]> *
9  ***************************************************************************/
10 
11 #ifndef STEREOTYPE_H
12 #define STEREOTYPE_H
13 
14 #include "umlobject.h"
15 
40 class UMLStereotype : public UMLObject
41 {
42 public:
43  explicit UMLStereotype(const QString &name, Uml::ID::Type id = Uml::ID::None);
44  UMLStereotype();
45 
46  virtual ~UMLStereotype();
47 
48  bool operator==(const UMLStereotype &rhs) const;
49 
50  virtual void copyInto(UMLObject *lhs) const;
51 
52  virtual UMLObject* clone() const;
53 
54  void incrRefCount();
55  void decrRefCount();
56 
57  int refCount() const;
58 
59  void saveToXMI(QDomDocument& qDoc, QDomElement& qElement);
60 
61  bool showPropertiesDialog(QWidget* parent);
62 
63 protected:
64  int m_refCount;
65 
66 };
67 
68 #endif
umlobject.h
UMLStereotype::incrRefCount
void incrRefCount()
Increments the reference count for this stereotype.
Definition: stereotype.cpp:122
UMLStereotype::decrRefCount
void decrRefCount()
Decrements the reference count for this stereotype.
Definition: stereotype.cpp:130
UMLStereotype::operator==
bool operator==(const UMLStereotype &rhs) const
Overloaded '==' operator.
Definition: stereotype.cpp:62
UMLStereotype::showPropertiesDialog
bool showPropertiesDialog(QWidget *parent)
Display the properties configuration dialog for the stereotype (just a line edit).
Definition: stereotype.cpp:109
QWidget
UMLStereotype::UMLStereotype
UMLStereotype()
Sets up a stereotype.
Definition: stereotype.cpp:45
UMLStereotype
This class is used to set up information for a stereotype.
Definition: stereotype.h:40
UMLObject
This class is the non-graphical version of UMLWidget.
Definition: umlobject.h:41
UMLStereotype::clone
virtual UMLObject * clone() const
Make a clone of this object.
Definition: stereotype.cpp:87
Uml::ID::Type
std::string Type
Definition: basictypes.h:317
UMLStereotype::copyInto
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: stereotype.cpp:79
UMLObject::name
QString name() const
Returns a copy of m_name.
Definition: umlobject.cpp:185
UMLStereotype::refCount
int refCount() const
Returns the reference count for this stereotype.
Definition: stereotype.cpp:138
UMLStereotype::m_refCount
int m_refCount
Definition: stereotype.h:64
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:319
UMLStereotype::~UMLStereotype
virtual ~UMLStereotype()
Destructor.
Definition: stereotype.cpp:55
UMLStereotype::saveToXMI
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the XMI element.
Definition: stereotype.cpp:98
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 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