12#include "attica_export.h"
17#include <QSharedDataPointer>
30 typedef QList<Event> List;
219 QSharedDataPointer<Private> d;
Represents a single event.
Definition event.h:28
QUrl homepage() const
Gets the homepage of the Event.
void setEndDate(const QDate &endDate)
Sets the end date of the Event.
QString name() const
Gets the name of the Event.
void setUser(const QString &user)
Sets the id of the user bound to the Event.
QString country() const
Gets the country where the Event takes place.
Event()
Creates an empty Event.
void setLongitude(qreal longitude)
Sets the longitude of the position the Event takes place.
QString city() const
Gets the city where the Event takes place.
void setLatitude(qreal latitude)
Sets the latitude of the position the Event takes place.
QMap< QString, QString > extendedAttributes() const
Get all attributes that are not included in the basis set of attributes exposed by the Event class.
void setCountry(const QString &country)
Sets the country where the Event takes place.
qreal latitude() const
Gets the latitude of the position the Event takes place.
void setStartDate(const QDate &startDate)
Sets the start date of the Event.
void setCity(const QString &city)
Sets the city where the Event takes place.
Event & operator=(const Event &other)
Assignment operator.
QString extendedAttribute(const QString &key) const
Get an attribute that is not included in the basis set of attributes exposed by the Event class.
bool isValid() const
Checks whether this Event has an id.
Event(const Event &other)
Copy constructor.
void setId(const QString &id)
Sets the id of the Event.
QString user() const
Gets the id of the user bound to the Event.
QDate startDate() const
Gets the start date of the Event.
QDate endDate() const
Gets the start date of the Event.
QString id() const
Gets the id of the Event.
void addExtendedAttribute(const QString &key, const QString &value)
Add an attribute that is not included in the basis set of attributes exposed by the Event class.
void setHomepage(const QUrl &homepage)
Sets the homepage of the Event.
QString description() const
Gets the description of the Event.
void setDescription(const QString &description)
Sets the description of the Event.
void setName(const QString &name)
Sets the name of the Event.
qreal longitude() const
Gets the longitude of the position the Event takes place.
The Attica namespace,.
Definition activity.h:21