mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
improvements MessagesDialog:
- new read/unread state - stored locally - show all recipients in Outbox, Sentbox and Draftbox git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2975 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
61e8d588a8
commit
cef2c1218f
10 changed files with 1619 additions and 1379 deletions
|
@ -22,12 +22,13 @@
|
|||
#include "MessagePage.h"
|
||||
#include "rshare.h"
|
||||
|
||||
#include "rsharesettings.h"
|
||||
|
||||
MessagePage::MessagePage(QWidget * parent, Qt::WFlags flags)
|
||||
: ConfigPage(parent, flags)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
setAttribute(Qt::WA_QuitOnClose, false);
|
||||
|
||||
}
|
||||
|
||||
MessagePage::~MessagePage()
|
||||
|
@ -40,18 +41,19 @@ MessagePage::closeEvent (QCloseEvent * event)
|
|||
QWidget::closeEvent(event);
|
||||
}
|
||||
|
||||
|
||||
/** Saves the changes on this page */
|
||||
bool
|
||||
MessagePage::save(QString &errmsg)
|
||||
{
|
||||
return true;
|
||||
Settings->setMsgSetToReadOnActivate(ui.setMsgToReadOnActivate->isChecked());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Loads the settings for this page */
|
||||
void
|
||||
MessagePage::load()
|
||||
{
|
||||
|
||||
ui.setMsgToReadOnActivate->setChecked(Settings->getMsgSetToReadOnActivate());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue