added ability for plugins to return their own PopupChatDialog class

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4988 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-25 12:17:36 +00:00
parent 63cd9d65f2
commit 96fd780502
6 changed files with 32 additions and 4 deletions

View file

@ -123,6 +123,11 @@ ChatWidget::~ChatWidget()
delete ui;
}
void ChatWidget::addChatButton(QPushButton *button)
{
ui->chatButtonLayout->addWidget(button) ;
}
void ChatWidget::init(const std::string &peerId, const QString &title)
{
this->peerId = peerId;