mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
added ability for plugins to return their own PopupChatDialog class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4988 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
63cd9d65f2
commit
96fd780502
6 changed files with 32 additions and 4 deletions
|
@ -48,6 +48,7 @@ class ftServer ;
|
|||
class ConfigPage ;
|
||||
class RsPQIService ;
|
||||
class RsAutoUpdatePage ;
|
||||
class PopupChatDialog ;
|
||||
|
||||
// Used for the status of plugins.
|
||||
//
|
||||
|
@ -114,6 +115,10 @@ class RsPlugin
|
|||
virtual RsAutoUpdatePage *qt_transfers_tab() const { return NULL ; } // Tab to add in transfers, after turtle statistics.
|
||||
virtual std::string qt_transfers_tab_name()const { return "Tab" ; } // Tab name
|
||||
|
||||
// Any derived class of PopupChatDialog to be used for chat.
|
||||
//
|
||||
virtual PopupChatDialog *qt_allocate_new_popup_chat_dialog() const { return NULL ; }
|
||||
|
||||
virtual QTranslator *qt_translator(QApplication * /* app */, const QString& /* languageCode */ ) const { return NULL ; }
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue