Added posted comment creation

contextMnurequested does not seem to be working....may have to use an old fashioned non-derived treewidget.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-11-25 21:50:45 +00:00
parent 744a78b140
commit 8cef4da896
18 changed files with 357 additions and 202 deletions

View file

@ -49,7 +49,7 @@ PostedDialog::PostedDialog(QWidget *parent)
{
ui.setupUi(this);
mPostedList = new PostedListDialog(NULL);
mPostedList = new PostedListDialog(this, NULL);
mPostedComments = new PostedComments(NULL);
QString list("List");
@ -60,9 +60,10 @@ PostedDialog::PostedDialog(QWidget *parent)
connect(mPostedList, SIGNAL(loadComments( std::string ) ), mPostedComments, SLOT(loadComments( std::string ) ) );
}
void PostedDialog::commentLoad(const RsGxsMessageId &msgId)
void PostedDialog::commentLoad(const RsPostedPost &post)
{
mPostedComments->loadComments(msgId);
mPostedComments->loadComments(post);
ui.tabWidget->setCurrentWidget(mPostedComments);
}