8#ifndef ATTICA_ACTIVITY_H
9#define ATTICA_ACTIVITY_H
12#include <QSharedDataPointer>
15#include "attica_export.h"
30 typedef QList<Activity> List;
126 QSharedDataPointer<Private> d;
Represents a single news item (also known as activity)
Definition activity.h:28
void setMessage(const QString &message)
Sets the message of the Activity.
void setLink(const QUrl &link)
Sets the link to further information about this Activity.
Activity()
Creates an empty Activity.
QString message() const
Gets the message of the Activity.
QDateTime timestamp() const
Gets the timestamp the Activity has been published.
void setAssociatedPerson(const Person &associatedPerson)
Sets the user bound to the Activity.
QUrl link() const
Gets the link to further information about this Activity.
QString id() const
Gets the id of the Activity.
Activity(const Activity &other)
Copy constructor.
void setId(const QString &id)
Sets the id of the Activity.
Activity & operator=(const Activity &other)
Assignment operator.
void setTimestamp(const QDateTime ×tamp)
Sets the timestamp the Activity has been published.
Person associatedPerson() const
Gets the user bound to the Activity.
bool isValid() const
Checks whether this Activity has an id.
Represents a person.
Definition person.h:29
The Attica namespace,.
Definition activity.h:21