- Changes to MessageToaster - display Subject and Content of incoming messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
ruchijain 2010-06-13 10:21:46 +00:00
parent 52b8e37295
commit 39c6af6638

View File

@ -107,9 +107,17 @@ void MessageToaster::openmessageClicked()
MainWindow::showWindow (MainWindow::Messages); MainWindow::showWindow (MainWindow::Messages);
} }
void MessageToaster::setTitle(const QString & title)
{
subjectline->setText("Sub: " + title);
subjectline->setToolTip(title);
}
void MessageToaster::setMessage(const QString & message) void MessageToaster::setMessage(const QString & message)
{ {
messagelabel->setText(message); contentBrowser->setText(message);
contentBrowser->setToolTip(message);
} }
void MessageToaster::setName(const QString & name) void MessageToaster::setName(const QString & name)