umbrello  2.38.5
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Enumerations | Functions
Uml::Region Namespace Reference

Enumerations

enum  Enum {
  Error = 0, West, North, East,
  South, NorthWest, NorthEast, SouthEast,
  SouthWest, Center
}
 

Functions

QString toString (Enum item)
 
Enum fromString (const QString &item)
 
Enum fromInt (int item)
 

Detailed Description

Enumeration used for stating where a line is on a widget.

Note
Do not change this ordering, as we use these values in for loop.
See also associationwidget.h.

Enumeration Type Documentation

Enumerator
Error 
West 
North 
East 
South 
NorthWest 
NorthEast 
SouthEast 
SouthWest 
Center 

Function Documentation

Enum Uml::Region::fromInt ( int  item)

Convert an integer item into Region representation.

Parameters
iteminteger value to convert
Returns
Region enum
Enum Uml::Region::fromString ( const QString &  item)

Return Region corresponding to the given string.

QString Uml::Region::toString ( Enum  item)

Return string corresponding to the given Region.