~tiagosh/history-service/use-libphonenumber

« back to all changes in this revision

Viewing changes to Ubuntu/History/historymodel.h

  • Committer: CI Train Bot
  • Author(s): Tiago Salem Herrmann
  • Date: 2015-02-10 19:22:39 UTC
  • mfrom: (185.1.2 history-service)
  • Revision ID: ci-train-bot@canonical.com-20150210192239-j6yuuo3puaxu8b8r
- Add support for writing events from qml.
- Iterate over attachments when qdbus_cast fails. Fixes: #1417353
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    Q_ENUMS(MessageType)
44
44
    Q_ENUMS(MatchFlag)
45
45
    Q_ENUMS(MessageStatus)
 
46
    Q_ENUMS(AttachmentFlag)
46
47
    Q_ENUMS(Role)
47
48
 
48
49
public:
76
77
        MessageStatusPending = History::MessageStatusPending // pending attachment download
77
78
    };
78
79
 
 
80
    enum AttachmentFlag
 
81
    {
 
82
        AttachmentDownloaded = History::AttachmentDownloaded,
 
83
        AttachmentPending = History::AttachmentPending,
 
84
        AttachmentError = History::AttachmentError
 
85
    };
 
86
 
79
87
    enum Role {
80
88
        AccountIdRole = Qt::UserRole,
81
89
        ThreadIdRole,