mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -04:00
* Added first pass at Generic Comment Tree.
- Specific to Posted at the moment. * Modified Posted to load Comments when Post "comment" button is pressed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c3ea5cbab6
commit
48683a19d5
13 changed files with 576 additions and 112 deletions
|
@ -36,6 +36,8 @@ class PostedHolder
|
|||
public:
|
||||
virtual void deletePostedItem(PostedItem *, uint32_t ptype) = 0;
|
||||
virtual void notifySelection(PostedItem *item, int ptype) = 0;
|
||||
|
||||
virtual void requestComments(std::string threadId) = 0;
|
||||
};
|
||||
|
||||
class PostedItem : public QWidget, private Ui::PostedItem
|
||||
|
@ -55,9 +57,16 @@ public:
|
|||
protected:
|
||||
//void mousePressEvent(QMouseEvent *event);
|
||||
|
||||
private slots:
|
||||
void loadComments();
|
||||
|
||||
private:
|
||||
uint32_t mType;
|
||||
bool mSelected;
|
||||
|
||||
std::string mThreadId;
|
||||
PostedHolder *mParent;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue