akonadi
akonadi_serializer_socialfeeditem.cpp
void setPostReplies(const QList< SocialFeedItem > &replies)
Sets replies/comments for this post.
Definition: socialfeeditem.cpp:238
void setUserDisplayName(const QString &userDisplayName)
Sets the name to be displayed to the user (full name usually)
Definition: socialfeeditem.cpp:168
void setSharedFrom(const QString &sharedFrom)
Sets the display name of the user which was the original author of this post.
Definition: socialfeeditem.cpp:188
QVariantMap itemSourceMap() const
Definition: socialfeeditem.cpp:203
void setPostLinkTitle(const QString &linkTitle)
Sets the link title the posts links to.
Definition: socialfeeditem.cpp:95
void setLiked(bool liked)
Sets if the user has liked/favorited the post or not.
Definition: socialfeeditem.cpp:228
QList< Key > keys() const
void append(const T &value)
QList< SocialFeedItem > postReplies() const
Definition: socialfeeditem.cpp:233
void setPostImageUrl(const QUrl &imageUrl)
Sets the URL of an image associated with this post, it can be an image thumb, link thumb etc...
Definition: socialfeeditem.cpp:105
QString userDisplayName() const
Definition: socialfeeditem.cpp:163
void setNetworkString(const QString &networkString)
Sets the network string for this item.
Definition: socialfeeditem.cpp:55
void setSharedFromId(const QString &sharedFromId)
Sets the user id of the user this was shared from.
Definition: socialfeeditem.cpp:198
virtual QSet< QByteArray > parts(const Item &item) const
Returns a list of available parts for the given item payload.
Definition: itemserializerplugin.cpp:33
QByteArray readAll()
void setPostLink(const QUrl &link)
Sets the link the posts links to.
Definition: socialfeeditem.cpp:85
void setItemSourceMap(const QVariantMap &itemSourceMap)
Sets the original data which was received from the network and then mapped to a QVariantMap.
Definition: socialfeeditem.cpp:208
QFuture< void > map(Sequence &sequence, MapFunction function)
void setPostTime(const QString &postTimeString, const QString &postTimeFormat)
Sets the time string which was received from the network together with the format which could be rece...
Definition: socialfeeditem.cpp:130
QString postLinkTitle() const
Definition: socialfeeditem.cpp:90
Class representing one entry in the social feed.
Definition: socialfeeditem.h:38
void setUserId(const QString &userId)
Sets the network user id associated with this post.
Definition: socialfeeditem.cpp:148
QMap< QString, QVariant > toMap() const
QString postTimeFormat() const
Definition: socialfeeditem.cpp:138
QString postTimeString() const
Definition: socialfeeditem.cpp:115
void setPostText(const QString &text)
Sets the post text to be displayed in the feed.
Definition: socialfeeditem.cpp:75
qint64 write(const char *data, qint64 maxSize)
iterator insert(const Key &key, const T &value)
QString networkString() const
This returns the service string such as "on Facebook", "on Twitter" It's used in the feed as the firs...
Definition: socialfeeditem.cpp:50
void setShared(bool shared)
Sets if this post was shared from other user.
Definition: socialfeeditem.cpp:178
void setPostInfo(const QString &postInfo)
Sets additional info for the post, like number of comments, likes, retweed from etc.
Definition: socialfeeditem.cpp:125
QString sharedFromId() const
Definition: socialfeeditem.cpp:193
void setUserName(const QString &userName)
Sets the network user name associated with this post.
Definition: socialfeeditem.cpp:158
const T value(const Key &key) const
void setAvatarUrl(const QUrl &url)
Sets the url of the avatar picture to be displayed next to the post in the feed.
Definition: socialfeeditem.cpp:218
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.