added to check if attachments is ready for send Message

added for every new Message/Reply or Forward setWindowTitle beginning with always "Compose: " 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2106 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-21 16:35:00 +00:00
parent daee15776c
commit 9df7ac473f
3 changed files with 54 additions and 6 deletions

View file

@ -121,7 +121,7 @@ MessagesDialog::MessagesDialog(QWidget *parent)
ui.printbutton->setIcon(QIcon(QString(":/images/print24.png")));
ui.forwardmessageButton->setToolTip(tr("Forward selected Message"));
ui.replyallmessageButton->setToolTip(tr("Replay to All"));
ui.replyallmessageButton->setToolTip(tr("Reply to All"));
QMenu * printmenu = new QMenu();
printmenu->addAction(ui.actionPrint);
@ -260,7 +260,7 @@ void MessagesDialog::replytomessage()
nMsgDialog->insertTitleText( (QString("Re: ") + QString::fromStdWString(msgInfo.title)).toStdString()) ;
}
nMsgDialog->setWindowTitle(tr("Re: ") + QString::fromStdWString(msgInfo.title) ) ;
nMsgDialog->setWindowTitle( tr ("Compose: ") + tr("Re: ") + QString::fromStdWString(msgInfo.title) ) ;
QTextDocument doc ;
@ -305,7 +305,7 @@ void MessagesDialog::replyallmessage()
{
nMsgDialog->insertTitleText( (QString("Re: ") + QString::fromStdWString(msgInfo.title)).toStdString()) ;
}
nMsgDialog->setWindowTitle(tr("Re: ") + QString::fromStdWString(msgInfo.title) ) ;
nMsgDialog->setWindowTitle( tr ("Compose: ") + tr("Re: ") + QString::fromStdWString(msgInfo.title) ) ;
QTextDocument doc ;
@ -361,7 +361,7 @@ void MessagesDialog::forwardmessage()
nMsgDialog->insertTitleText( (QString("Fwd: ") + QString::fromStdWString(msgInfo.title)).toStdString()) ;
}
nMsgDialog->setWindowTitle(tr("Fwd: ") + QString::fromStdWString(msgInfo.title) ) ;
nMsgDialog->setWindowTitle( tr ("Compose: ") + tr("Fwd: ") + QString::fromStdWString(msgInfo.title) ) ;
QTextDocument doc ;