The RegistrationTypes class represents the different types of registration.
More...
#include <registrationtypes.h>
|
enum | Type { All
, StandardRegistration
, StudentRegistration
, GuestRegistration
} |
| The Type enumeration represents the different types of registration.
|
|
|
static QString | toString (Type type) |
| Converts the given registration type to its string representation.
|
|
static Type | fromString (const QString &str) |
| Converts the given string representation to its corresponding registration type.
|
|
The RegistrationTypes class represents the different types of registration.
This class is derived from QObject and provides an enumeration of registration types. It also provides static methods to convert between the enumeration values and their string representations.
◆ RegistrationTypes()
RegistrationTypes::RegistrationTypes |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ fromString()
Converts the given string representation to its corresponding registration type.
- Parameters
-
str | The string representation of the registration type. |
- Returns
- The registration type.
◆ toString()
QString RegistrationTypes::toString |
( |
Type | type | ) |
|
|
static |
Converts the given registration type to its string representation.
- Parameters
-
type | The registration type. |
- Returns
- The string representation of the registration type.
The documentation for this class was generated from the following files: