Projekt

Allgemein

Profil

Herunterladen als
Herunterladen (843 Bytes) Statistiken
| Zweig: | Revision:
b7446f4c Christian Ehringfeld
#include "pupil.h"

Pupil::Pupil() : Person() {

}

5c3d9487 Christian Ehringfeld
Pupil::Pupil(QString firstName, QString familyName, Gender gender,
b7446f4c Christian Ehringfeld
QString customPictureFileName, QString namePrefix, QString nickName,
da565582 Christian Ehringfeld
QDate birthday, QString legalGuardianNote, QObject *parent)
b7446f4c Christian Ehringfeld
: Person(firstName, familyName, gender, customPictureFileName, namePrefix,
nickName, birthday, parent) {
setFirstName(firstName);
setFamilyName(familyName);
setNamePrefix(namePrefix);
setNickName(nickName);
setBirthday(birthday);
setGender(gender);
setCustomPictureFileName(customPictureFileName);
da565582 Christian Ehringfeld
this->setLegalGuardianNote(legalGuardianNote);
b7446f4c Christian Ehringfeld
}

5c3d9487 Christian Ehringfeld
QString Pupil::getLegalGuardianNote() const {
return legalGuardianNote;
}

void Pupil::setLegalGuardianNote(const QString &value) {
legalGuardianNote = value;
}

abb9e8c5 Christian Ehringfeld