~ci-train-bot/history-service/history-service-ubuntu-yakkety-landing-052

« back to all changes in this revision

Viewing changes to plugins/sqlite/sqlitehistoryplugin.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:
41
41
public:
42
42
    explicit SQLiteHistoryPlugin(QObject *parent = 0);
43
43
 
 
44
    bool initialised();
 
45
 
44
46
    // Reader part of the plugin
45
47
    History::PluginThreadView* queryThreads(History::EventType type,
46
48
                                            const History::Sort &sort = History::Sort(),
84
86
 
85
87
    QString filterToString(const History::Filter &filter, QVariantMap &bindValues, const QString &propertyPrefix = QString::null) const;
86
88
    QString escapeFilterValue(const QString &value) const;
 
89
 
 
90
    void generateContactCache();
 
91
 
87
92
private:
88
93
    bool lessThan(const QVariantMap &left, const QVariantMap &right) const;
89
94
    void updateGroupedThreadsCache();