Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
RegistrationTypes Class Reference

The RegistrationTypes class represents the different types of registration. More...

#include <registrationtypes.h>

Inheritance diagram for RegistrationTypes:

Public Types

enum  Type { All , StandardRegistration , StudentRegistration , GuestRegistration }
 The Type enumeration represents the different types of registration.
 

Public Member Functions

 RegistrationTypes (QObject *parent=nullptr)
 Constructs a RegistrationTypes object.
 

Static Public Member Functions

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RegistrationTypes()

RegistrationTypes::RegistrationTypes ( QObject * parent = nullptr)
explicit

Constructs a RegistrationTypes object.

Parameters
parentThe parent object.

Member Function Documentation

◆ fromString()

RegistrationTypes::Type RegistrationTypes::fromString ( const QString & str)
static

Converts the given string representation to its corresponding registration type.

Parameters
strThe 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
typeThe registration type.
Returns
The string representation of the registration type.

The documentation for this class was generated from the following files: