mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-15 01:49:35 -04:00
Added feed item for forum group and forum message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
06065ef623
commit
d70bb01b2e
15 changed files with 1915 additions and 79 deletions
|
@ -28,8 +28,6 @@
|
|||
|
||||
#include <retroshare/rsgxschannels.h>
|
||||
#include "gui/gxs/GxsFeedItem.h"
|
||||
#include <stdint.h>
|
||||
#include "util/HandleRichText.h"
|
||||
|
||||
namespace Ui {
|
||||
class GxsChannelPostItem;
|
||||
|
@ -53,8 +51,8 @@ public:
|
|||
|
||||
void setFileCleanUpWarning(uint32_t time_left);
|
||||
|
||||
const QString getTitleLabel() {return QString::fromUtf8(mPost.mMeta.mMsgName.c_str()); }
|
||||
const QString getMsgLabel() {return RsHtml().formatText(NULL, QString::fromUtf8(mPost.mMsg.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS); }
|
||||
QString getTitleLabel();
|
||||
QString getMsgLabel();
|
||||
const std::list<SubFileItem *> &getFileItems() {return mFileItems; }
|
||||
|
||||
/* FeedItem */
|
||||
|
@ -79,7 +77,6 @@ private slots:
|
|||
void loadComments();
|
||||
|
||||
void readToggled(bool checked);
|
||||
void channelMsgReadSatusChanged(const QString& channelId, const QString& msgId, int status);
|
||||
|
||||
void unsubscribeChannel();
|
||||
void updateItem();
|
||||
|
@ -97,6 +94,7 @@ private:
|
|||
|
||||
private:
|
||||
bool mInFill;
|
||||
bool mCloseOnRead;
|
||||
|
||||
RsGxsChannelGroup mGroup;
|
||||
RsGxsChannelPost mPost;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue