Herunterladen als
root/samples/example/models/pupil.h @ b7446f4c
b7446f4c | Christian Ehringfeld | #ifndef PUPIL_H
|
|
#define PUPIL_H
|
|||
#include "person.h"
|
|||
class Pupil : public Person {
|
|||
Q_OBJECT
|
|||
public:
|
|||
Q_INVOKABLE Pupil();
|
|||
Pupil(QString firstName, QString familyName, Gender gender = UNKNOWNGENDER,
|
|||
QString customPictureFileName = QString(), QString namePrefix = QString(),
|
|||
QString nickName = QString(), QDate birthday = QDate(),
|
|||
QString form = QString(), QObject *parent = 0);
|
|||
QString getForm() const;
|
|||
void setForm(const QString &value);
|
|||
protected:
|
|||
QString form;
|
|||
};
|
|||
#endif // PUPIL_H
|