umbrello: Uml::RoleType Namespace Reference

umbrello 2.39.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Enumerations | Functions
Uml::RoleType Namespace Reference

## Enumerations
enum | Enum { A , B }

## Functions
QString | toString (Enum item)
Enum | fromString (const QString &item)
Enum | fromInt (int item)

## Detailed Description

Constants used for indexing the roles of associations.

## Enumeration Type Documentation

## ◆ Enum

enum Uml::RoleType::Enum

Enumerator
A |
B |

## Function Documentation

## ◆ fromInt()

Enum Uml::RoleType::fromInt | ( | int | item | ) |

Convert an integer item into RoleType representation.

Parameters

  item | integer value to convert

Returns
  RoleType enum

## ◆ fromString()

Enum Uml::RoleType::fromString | ( | const QString & | item | ) |

Return RoleType corresponding to the given string.

## ◆ toString()

QString Uml::RoleType::toString | ( | Enum | item | ) |

Return string corresponding to the given RoleType.