~ken-vandine/history-service/libphonenumber7

« back to all changes in this revision

Viewing changes to src/event_p.h

Request contact information for all known participants on history-daemon initialization, and use this cached information on the models.
Approved by: Tiago Salem Herrmann, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <QString>
27
27
#include <QStringList>
28
28
#include "types.h"
 
29
#include "participant.h"
29
30
 
30
31
#define HISTORY_EVENT_DECLARE_CLONE(Class) \
31
32
    virtual EventPrivate *clone() { return new Class##Private(*this); }
53
54
                       const QString &theSenderId,
54
55
                       const QDateTime &theTimestamp,
55
56
                       bool theNewEvent,
56
 
                       const QStringList &theParticipants);
 
57
                       const Participants &theParticipants);
57
58
    virtual ~EventPrivate();
58
59
 
59
60
    virtual EventType type() const { return EventTypeNull; }
66
67
    QString receiver;
67
68
    QDateTime timestamp;
68
69
    bool newEvent;
69
 
    QStringList participants;
 
70
    Participants participants;
70
71
 
71
72
    static const QSharedPointer<EventPrivate>& getD(const Event& other) { return other.d_ptr; }
72
73