akonadi
20 #ifndef AKONADI_SOCIALUTILS_SOCIALFEEDITEM_H
21 #define AKONADI_SOCIALUTILS_SOCIALFEEDITEM_H
23 #include "libakonadisocialutils_export.h"
25 #include <QSharedPointer>
33 class SocialFeedItemPrivate;
53 QString networkString()
const;
60 void setNetworkString(
const QString &networkString );
65 QString postId()
const;
72 void setPostId(
const QString &postId );
77 QString postText()
const;
84 void setPostText(
const QString &text );
89 QUrl postLink()
const;
96 void setPostLink(
const QUrl &link );
101 QString postLinkTitle()
const;
108 void setPostLinkTitle(
const QString &linkTitle );
113 QUrl postImageUrl()
const;
121 void setPostImageUrl(
const QUrl &imageUrl );
126 QString userName()
const;
133 void setUserName(
const QString &userName );
138 QString userDisplayName()
const;
145 void setUserDisplayName(
const QString &userDisplayName );
150 QString userId()
const;
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;
186 QString postInfo()
const;
194 void setPostInfo(
const QString &postInfo );
199 bool isShared()
const;
206 void setShared(
bool shared );
211 QString sharedFrom()
const;
218 void setSharedFrom(
const QString &sharedFrom );
223 QString sharedFromId()
const;
230 void setSharedFromId(
const QString &sharedFromId );
237 void setLiked(
bool liked );
242 bool isLiked()
const;
247 QVariantMap itemSourceMap()
const;
257 void setItemSourceMap(
const QVariantMap &itemSourceMap );
262 QUrl avatarUrl()
const;
269 void setAvatarUrl(
const QUrl &url );
275 void setPostReplies(
const QList<SocialFeedItem> &replies );
280 QList<SocialFeedItem> postReplies()
const;
283 QSharedDataPointer<SocialFeedItemPrivate> d;
290 #endif // SOCIALFEEDITEM_H
Class representing one entry in the social feed.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.