* 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:
drbob 2012-08-01 01:47:53 +00:00
parent c3ea5cbab6
commit 48683a19d5
13 changed files with 576 additions and 112 deletions

View file

@ -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;
};