akonadi
20 #ifndef AKONADI_SOCIALUTILS_SOCIALFEEDITEM_H
21 #define AKONADI_SOCIALUTILS_SOCIALFEEDITEM_H
23 #include "libakonadisocialutils_export.h"
25 #include <QSharedPointer>
33 class SocialFeedItemPrivate;
60 void setNetworkString(
const QString &networkString );
72 void setPostId(
const QString &postId );
84 void setPostText(
const QString &text );
89 QUrl postLink()
const;
96 void setPostLink(
const QUrl &link );
108 void setPostLinkTitle(
const QString &linkTitle );
113 QUrl postImageUrl()
const;
121 void setPostImageUrl(
const QUrl &imageUrl );
133 void setUserName(
const QString &userName );
138 QString userDisplayName()
const;
145 void setUserDisplayName(
const QString &userDisplayName );
157 void setUserId(
const QString &userId );
162 KDateTime postTime()
const;
171 void setPostTime(
const QString &postTimeString,
const QString &postTimeFormat );
176 QString postTimeFormat()
const;
181 QString postTimeString()
const;
194 void setPostInfo(
const QString &postInfo );
199 bool isShared()
const;
206 void setShared(
bool shared );
218 void setSharedFrom(
const QString &sharedFrom );
230 void setSharedFromId(
const QString &sharedFromId );
237 void setLiked(
bool liked );
242 bool isLiked()
const;
257 void setItemSourceMap(
const QVariantMap &itemSourceMap );
262 QUrl avatarUrl()
const;
269 void setAvatarUrl(
const QUrl &url );
290 #endif // SOCIALFEEDITEM_H
Class representing one entry in the social feed.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.