Public Types |
| enum | FeedType {
photoFeed,
messageFeed,
commentFeed,
videoFeed,
audioFeed,
likeFeed,
tagFeed,
friendFeed
} |
| | List of supported feeds.
More...
|
Public Member Functions |
| | QEventFeed (QObject *parent=0) |
| | The default constructor.
|
| | QEventFeed (const QEventFeed &src) |
| | The copy constructor.
|
|
QEventFeed & | operator= (const QEventFeed &source) |
| QDomElement | toQDomElement (QDomDocument &doc) const |
| | Store feed data to XML format.
|
|
Photo | toPhoto () const |
Static Public Member Functions |
| static void | copyData (QEventFeed *dst, const QEventFeed *src) |
|
static void | storeFeed (const QEventFeedList &list, const FeedType type, QString accountId) |
|
static QEventFeedList | loadFeed (const QString accountId, FeedType type) |
|
static QString | getKey (const QString accountId, const FeedType type) |
| static QEventFeed | fromQDomElement (const QDomElement &fr, const QString &accountId, const FeedType type) |
| | Loads feed from XML struct.
|
|
static QString | typeToString (const FeedType type) |
Public Attributes |
|
QString | accountId |
| | The ID of account.
|
|
QString | ownerId |
| | The ID of event's author.
|
|
QString | ownerName |
| | The name of event's author.
|
|
QString | text |
| | The contents of the event or comment.
|
|
QDateTime | created |
| | The event time creation.
|
|
QAttachment | attach |
| | Attached object.
|
Class of event from a feed.