29 Author(
const QString &firstName,
const QString &lastName);
The Author class represents an author of a book. Authors have a first name and a last name.
Definition author.h:21
QString getLastName() const
Returns the last name of the author.
Definition author.cpp:24
QString toString() const
Returns a string representation of the author in the format "LASTNAME, FIRSTNAME".
Definition author.cpp:29
QString getFirstName() const
Returns the first name of the author.
Definition author.cpp:19
Author(const QString &firstName, const QString &lastName)
Construct a new Author object.
Definition author.cpp:13