mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Modified the patch from electron.
Moved the calls to the plugin to ChatWidget for use with all types of chats (private chat, chat lobby and distant chat). Recompile needed git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7b0a6afa56
commit
92fabf4c56
15 changed files with 222 additions and 237 deletions
|
@ -55,9 +55,10 @@ class ftServer ;
|
|||
class ConfigPage ;
|
||||
class RsPQIService ;
|
||||
class RsAutoUpdatePage ;
|
||||
class PopupChatDialog_WidgetsHolder ;
|
||||
class SoundEvents;
|
||||
class FeedNotify;
|
||||
class ChatWidget;
|
||||
class ChatWidgetHolder;
|
||||
|
||||
// Plugin API version. Not used yet, but will be in the future the
|
||||
// main value that decides for compatibility.
|
||||
|
@ -143,8 +144,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
|
||||
|
||||
// provide buttons for the PopupChatDialog
|
||||
virtual PopupChatDialog_WidgetsHolder *qt_allocate_new_popup_chat_dialog_widgets() const { return NULL ; }
|
||||
// Provide buttons for the ChatWidget
|
||||
virtual ChatWidgetHolder *qt_get_chat_widget_holder(ChatWidget */*chatWidget*/) 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