Fixed posted item serialisation (wrong way round)

cleaned up comments gui and added loading framework
correctly initialisaed posted items


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-11-22 22:40:31 +00:00
parent 4e63561473
commit ebbe967402
14 changed files with 456 additions and 290 deletions

View file

@ -47,17 +47,22 @@
PostedDialog::PostedDialog(QWidget *parent)
: MainPage(parent)
{
ui.setupUi(this);
ui.setupUi(this);
mPostedList = new PostedListDialog(NULL);
mPostedComments = new PostedComments(NULL);
mPostedList = new PostedListDialog(NULL);
mPostedComments = new PostedComments(NULL);
QString list("List");
ui.tabWidget->addTab(mPostedList, list);
QString comments("Comments");
ui.tabWidget->addTab(mPostedComments, comments);
QString list("List");
ui.tabWidget->addTab(mPostedList, list);
QString comments("Comments");
ui.tabWidget->addTab(mPostedComments, comments);
connect(mPostedList, SIGNAL(loadComments( std::string ) ), mPostedComments, SLOT(loadComments( std::string ) ) );
connect(mPostedList, SIGNAL(loadComments( std::string ) ), mPostedComments, SLOT(loadComments( std::string ) ) );
}
void PostedDialog::commentLoad(const RsGxsMessageId &msgId)
{
mPostedComments->loadComments(msgId);
}