mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
Improved the notification model so that it uses Qt signals to avoid core dumps, and improved the gui to increase responsiveness (e.g. forum display, network discovery info, friends, msg deletion and selection)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
93fa052b58
commit
59cdaba9dc
25 changed files with 298 additions and 292 deletions
|
@ -35,21 +35,19 @@ public:
|
|||
/** Default Constructor */
|
||||
MessagesDialog(QWidget *parent = 0);
|
||||
/** Default Destructor */
|
||||
|
||||
|
||||
void insertMessages();
|
||||
void insertMsgTxtAndFiles();
|
||||
|
||||
|
||||
virtual void keyPressEvent(QKeyEvent *) ;
|
||||
|
||||
public slots:
|
||||
void insertMessages();
|
||||
private slots:
|
||||
|
||||
/** Create the context popup menu and it's submenus */
|
||||
void messageslistWidgetCostumPopupMenu( QPoint point );
|
||||
void msgfilelistWidgetCostumPopupMenu(QPoint);
|
||||
|
||||
void changeBox( int newrow );
|
||||
void updateMessages ( QTreeWidgetItem * item, int column );
|
||||
void changeBox( int newrow );
|
||||
void updateCurrentMessage ( QTreeWidgetItem * item, QTreeWidgetItem * item2 );
|
||||
|
||||
void newmessage();
|
||||
|
||||
|
@ -61,7 +59,6 @@ void updateMessages ( QTreeWidgetItem * item, int column );
|
|||
void printpreview();
|
||||
|
||||
void removemessage();
|
||||
void markMsgAsRead();
|
||||
|
||||
void getcurrentrecommended();
|
||||
void getallrecommended();
|
||||
|
@ -72,6 +69,7 @@ void updateMessages ( QTreeWidgetItem * item, int column );
|
|||
private:
|
||||
|
||||
bool getCurrentMsg(std::string &cid, std::string &mid);
|
||||
void setMsgAsRead(QTreeWidgetItem *);
|
||||
|
||||
std::string mCurrCertId;
|
||||
std::string mCurrMsgId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue