mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
patch "chatdialog_allow_buttons_from_different_plugins_3" from electron. ChatDialog allows now Buttons from different Plugins.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6979 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0e134d0a92
commit
7b0a6afa56
9 changed files with 122 additions and 50 deletions
|
@ -55,7 +55,7 @@ class ftServer ;
|
|||
class ConfigPage ;
|
||||
class RsPQIService ;
|
||||
class RsAutoUpdatePage ;
|
||||
class PopupChatDialog ;
|
||||
class PopupChatDialog_WidgetsHolder ;
|
||||
class SoundEvents;
|
||||
class FeedNotify;
|
||||
|
||||
|
@ -143,9 +143,8 @@ class RsPlugin
|
|||
virtual std::string qt_transfers_tab_name()const { return "Tab" ; } // Tab name
|
||||
virtual void qt_sound_events(SoundEvents &/*events*/) const { } // Sound events
|
||||
|
||||
// Any derived class of PopupChatDialog to be used for chat.
|
||||
//
|
||||
virtual PopupChatDialog *qt_allocate_new_popup_chat_dialog() const { return NULL ; }
|
||||
// provide buttons for the PopupChatDialog
|
||||
virtual PopupChatDialog_WidgetsHolder *qt_allocate_new_popup_chat_dialog_widgets() const { return NULL ; }
|
||||
|
||||
virtual QTranslator *qt_translator(QApplication * /* app */, const QString& /* languageCode */, const QString& /* externalDir */ ) const { return NULL ; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue