added to display avatars and author names for ForumMsgItem

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3984 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2011-01-26 09:34:48 +00:00
parent e57f8836e4
commit 9263710f9e
5 changed files with 208 additions and 53 deletions

View file

@ -32,10 +32,10 @@ class ForumMsgItem : public QWidget, private Ui::ForumMsgItem
Q_OBJECT
public:
/** Default Constructor */
ForumMsgItem(FeedHolder *parent, uint32_t feedId, std::string forumId, std::string postId, bool isHome);
/** Default Constructor */
ForumMsgItem(FeedHolder *parent, uint32_t feedId, std::string forumId, std::string postId, std::string gpgId, bool isHome);
/** Default Destructor */
/** Default Destructor */
void updateItemStatic();
void small();
@ -51,13 +51,17 @@ private slots:
void replyToPost();
void updateItem();
void updateAvatar(const QString &peer_id);
private:
void showAvatar(const std::string &peer_id);
FeedHolder *mParent;
uint32_t mFeedId;
std::string mForumId;
std::string mPostId;
std::string mGpgId;
bool mIsHome;
bool mIsTop;
};