mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 08:41:26 -04:00
Moved the tag feature in messages from the gui to the libretroshare.
Changed rsmsg interface and item classes so need full recompile. Created new notifier for tag changes - NOTIFY_LIST_MESSAGE_TAGS. Changed serialiser tests for message items. After that all tags are reset to standard and all assigned tags to messages are lost. Please delete the file msg_locale.cfg in your profile directory. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3381 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
340982b996
commit
52183a0c75
18 changed files with 708 additions and 515 deletions
|
@ -35,8 +35,6 @@
|
|||
|
||||
#include "settings/NewTag.h"
|
||||
|
||||
class RSettings;
|
||||
|
||||
class MessagesDialog : public MainPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -47,16 +45,12 @@ public:
|
|||
/** Default Destructor */
|
||||
~MessagesDialog();
|
||||
|
||||
static void initStandardTagItems(std::map<int, TagItem> &Items);
|
||||
void getTagItems(std::map<int, TagItem> &Items);
|
||||
void setTagItems(std::map<int, TagItem> &Items);
|
||||
|
||||
// replaced by shortcut
|
||||
// virtual void keyPressEvent(QKeyEvent *) ;
|
||||
|
||||
public slots:
|
||||
void insertMessages();
|
||||
|
||||
void messagesTagsChanged();
|
||||
|
||||
private slots:
|
||||
|
||||
|
@ -118,6 +112,8 @@ private:
|
|||
LockUpdate (MessagesDialog *pDialog, bool bUpdate);
|
||||
~LockUpdate ();
|
||||
|
||||
void setUpdate(bool bUpdate);
|
||||
|
||||
private:
|
||||
MessagesDialog *m_pDialog;
|
||||
bool m_bUpdate;
|
||||
|
@ -155,7 +151,6 @@ private:
|
|||
|
||||
QString fileName;
|
||||
QFont mFont;
|
||||
RSettings *m_pConfig;
|
||||
|
||||
// timer and index for showing message
|
||||
QTimer *timer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue