9#ifndef STUDENTREGISTRATION_H
10#define STUDENTREGISTRATION_H
33 StudentRegistration(
const Person &attendee,
const QDate &bookingDate = QDate::currentDate(),
const QString &qualification =
"");
50 virtual QString
toString()
const override;
59 QString m_Qualification;
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 StudentRegistration class represents a registration for a student attendee.
Definition studentregistration.h:23
QString getQualification() const
Gets the qualification of the student.
Definition studentregistration.cpp:36
virtual ~StudentRegistration() override=default
Default destructor for the StudentRegistration class.
virtual QString toString() const override
Converts the StudentRegistration object to a string representation.
Definition studentregistration.cpp:26
virtual double calculateFee() const override
Calculates the fee for the student registration.
Definition studentregistration.cpp:20
StudentRegistration(const Person &attendee, const QDate &bookingDate=QDate::currentDate(), const QString &qualification="")
Constructs a StudentRegistration object with the given attendee, booking date, and qualification.
Definition studentregistration.cpp:12