umbrello: Uml::RoleType Namespace Reference

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

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.