umbrello/umbrello
Uml::Visibility Namespace Reference
Enumerations | |
enum | Enum { Public, Private, Protected, Implementation, FromParent = 3 } |
Functions | |
Enum | fromInt (int item) |
Enum | fromString (const QString &item) |
QString | toString (Enum item, bool mnemonic) |
Detailed Description
The visibility enum defines the visibility of attributes and operations.
Enumeration Type Documentation
Enumerator | |
---|---|
Public | |
Private | |
Protected | |
Implementation | |
FromParent |
Definition at line 56 of file basictypes.h.
Function Documentation
Enum Uml::Visibility::fromInt | ( | int | item | ) |
Convert a integer item into Visibility representation.
- Parameters
-
item integer value to convert
- Returns
- Visibility enum
Definition at line 142 of file basictypes.cpp.
Convert a string item into Visibility representation.
- Parameters
-
item item to convert
- Returns
- Visibility enum
Definition at line 119 of file basictypes.cpp.
QString Uml::Visibility::toString | ( | Enum | item, |
bool | mnemonic | ||
) |
Convert Visibility item into QString representation.
- Parameters
-
item item to convert mnemonic if true then return a single character: "+" for public, "-" for private, "#" for protected or "~" for implementation
- Returns
- QString representation of Visibility
Definition at line 99 of file basictypes.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.