102
* \qmltype StreamModel
103
* \inqmlmodule Friends 0.1
106
* \brief A model of the user's Friends feeds.
108
* The SteamsModel is a model based on the model provided by the Friends
109
* service, conveniently sorted with pre-defined filters. By default,
110
* the model contains everything except comments. You can filter
111
* based on stream, account or service.
115
* 1. Model of the complete Friends feed:
125
* delegate: Text { text: "message: " + column_9 }
131
* 2. Model of the Friends feed, limited to facebook:
137
* service: "facebook"
142
* delegate: Text { text: "message: " + column_9 }
147
* 3. Model of the Friends feed, limited to a single account:
153
* account: 1 // The account ID provided but Ubuntu.OnlineAccounts
158
* delegate: Text { text: "message: " + column_9 }
163
* 4. Model of the Friends feed, limited to a thread of comments:
169
* stream: "reply_to/"+msg_id // The message ID found in column_2
174
* delegate: Text { text: "message: " + column_9 }
179
* 5. Model of the Friends feed, limited to a specific stream, like private messages:
190
* delegate: Text { text: "message: " + column_9 }
101
196
StreamModel::StreamModel(DeeListModel *parent) :
102
197
DeeListModel(parent),
103
198
d_ptr(new StreamModelPrivate(this))
166
* \qmlproperty string StreamModel::account
261
* \qmlproperty uint StreamModel::account
167
262
* If set, the model will include only this account
169
264
uint StreamModel::account() const