mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
Introduced a minimal version of RetroShare.
You can enable it in libretroshare.pro and RetroShare.pro by uncomment CONFIG += minimal This enables two new defines for stripping all not needed things - libretroshare: MINIMAL_LIBRS - GUI: MINIMAL_RSGUI and removes not needed files from build (see end of the files libretroshare.pro and RetroShare.pro). Beware: All data of the stripped services are lost git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b6b5fa5cd6
commit
8832f7dfc5
10 changed files with 225 additions and 27 deletions
|
@ -43,8 +43,10 @@ class MessengerWindow : public RWindow
|
|||
|
||||
public slots:
|
||||
void updateMessengerDisplay() ;
|
||||
#ifndef MINIMAL_RSGUI
|
||||
void updateAvatar();
|
||||
void loadmystatusmessage();
|
||||
#endif // MINIMAL_RSGUI
|
||||
|
||||
LogoBar & getLogoBar() const;
|
||||
|
||||
|
@ -60,19 +62,22 @@ private slots:
|
|||
/** Create the context popup menu and it's submenus */
|
||||
void messengertreeWidgetCostumPopupMenu( QPoint point );
|
||||
|
||||
#ifndef MINIMAL_RSGUI
|
||||
/** Add a new friend */
|
||||
void addFriend();
|
||||
/** Export friend */
|
||||
void exportfriend();
|
||||
/** Remove friend */
|
||||
void removefriend();
|
||||
#endif // MINIMAL_RSGUI
|
||||
/** start to connect to a friend **/
|
||||
void connectfriend();
|
||||
#ifndef MINIMAL_RSGUI
|
||||
/** start a chat with a friend **/
|
||||
void chatfriend(QTreeWidgetItem *pPeer);
|
||||
void chatfriendproxy();
|
||||
/** start Messages Composer **/
|
||||
void sendMessage();
|
||||
/** start to connect to a friend **/
|
||||
void connectfriend();
|
||||
/** show peers details for each friend **/
|
||||
void configurefriend();
|
||||
|
||||
|
@ -88,24 +93,25 @@ private slots:
|
|||
void changeAvatarClicked();
|
||||
|
||||
void savestatusmessage();
|
||||
#endif // MINIMAL_RSGUI
|
||||
|
||||
void on_actionSort_Peers_Descending_Order_activated();
|
||||
void on_actionSort_Peers_Ascending_Order_activated();
|
||||
void on_actionRoot_is_decorated_activated();
|
||||
|
||||
void displayMenu();
|
||||
|
||||
void filterRegExpChanged();
|
||||
void clearFilter();
|
||||
|
||||
signals:
|
||||
void friendsUpdated() ;
|
||||
|
||||
|
||||
private:
|
||||
static MessengerWindow *_instance;
|
||||
|
||||
void processSettings(bool bLoad);
|
||||
|
||||
void displayMenu();
|
||||
|
||||
/* Worker Functions */
|
||||
/* (1) Update Display */
|
||||
QTimer *timer;
|
||||
|
@ -128,4 +134,3 @@ private:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue