Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
registrationtypes.h
Go to the documentation of this file.
1
9#ifndef REGISTRATIONTYPES_H
10#define REGISTRATIONTYPES_H
11
12#include <QObject>
13
14
20class RegistrationTypes : public QObject
21{
22 Q_OBJECT
23
24public:
29 explicit RegistrationTypes(QObject *parent = nullptr);
30
35 Q_ENUM(Type)
36
37
42 static QString toString(Type type);
43
49 static Type fromString(const QString &str);
50};
51
52#endif // REGISTRATIONTYPES_H
The GuestRegistration class represents a registration for a guest attendee.
Definition guestregistration.h:22
The RegistrationTypes class represents the different types of registration.
Definition registrationtypes.h:21
static Type fromString(const QString &str)
Converts the given string representation to its corresponding registration type.
Definition registrationtypes.cpp:24
static QString toString(Type type)
Converts the given registration type to its string representation.
Definition registrationtypes.cpp:18
Type
The Type enumeration represents the different types of registration.
Definition registrationtypes.h:34
RegistrationTypes(QObject *parent=nullptr)
Constructs a RegistrationTypes object.
Definition registrationtypes.cpp:14
The StandardRegistration class represents a standard registration for an event.
Definition standardregistration.h:21
The StudentRegistration class represents a registration for a student attendee.
Definition studentregistration.h:23