Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
standardregistration.h
Go to the documentation of this file.
1
9#ifndef STANDARDREGISTRATION_H
10#define STANDARDREGISTRATION_H
11
12#include "registration.h"
13
14
21{
22 Q_OBJECT
23
24public:
30 StandardRegistration(const Person &attendee, const QDate &bookingDate = QDate::currentDate());
31
35 virtual ~StandardRegistration() override = default;
36
41 virtual double calculateFee() const override;
42
47 virtual QString toString() const override;
48};
49
50#endif // STANDARDREGISTRATION_H
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
The StandardRegistration class represents a standard registration for an event.
Definition standardregistration.h:21
virtual QString toString() const override
Returns a string representation of the StandardRegistration object.
Definition standardregistration.cpp:25
virtual ~StandardRegistration() override=default
Destroys the StandardRegistration object.
virtual double calculateFee() const override
Calculates the fee for the standard registration.
Definition standardregistration.cpp:19
StandardRegistration(const Person &attendee, const QDate &bookingDate=QDate::currentDate())
Constructs a StandardRegistration object with the given attendee and booking date.
Definition standardregistration.cpp:12