Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
guestregistration.h
Go to the documentation of this file.
1
9#ifndef GUESTREGISTRATION_H
10#define GUESTREGISTRATION_H
11
12#include "registration.h"
13
14
22{
23 Q_OBJECT
24
25public:
32 GuestRegistration(const Person &attendee, const QDate &bookingDate = QDate::currentDate(), const QString &category = "");
33
37 virtual ~GuestRegistration() override = default;
38
43 virtual double calculateFee() const override;
44
49 virtual QString toString() const override;
50
55 QString getCategory() const;
56
57private:
58 QString m_Category;
59};
60
61#endif // GUESTREGISTRATION_H
The GuestRegistration class represents a registration for a guest attendee.
Definition guestregistration.h:22
virtual ~GuestRegistration() override=default
Default destructor for the GuestRegistration class.
QString getCategory() const
Gets the category of the guest registration.
Definition guestregistration.cpp:34
virtual QString toString() const override
Converts the guest registration details to a string format.
Definition guestregistration.cpp:26
virtual double calculateFee() const override
Calculates the registration fee for the guest registration.
Definition guestregistration.cpp:20
GuestRegistration(const Person &attendee, const QDate &bookingDate=QDate::currentDate(), const QString &category="")
Constructs a GuestRegistration object with the given attendee, booking date, and category.
Definition guestregistration.cpp:12
The Person class represents a person with a name, affiliation, and email.
Definition person.h:20
The Registration class represents a registration for an event.
Definition registration.h:24