mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Moved strings of RsPeerDetails::autoconnect for translation to the GUI side and added integer constants for it.
Fixed sorting of available friends in MessengerWindow. Recompile of the GUI needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3952 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
13ab90e14b
commit
dd55b2bf74
10 changed files with 313 additions and 196 deletions
|
@ -26,16 +26,21 @@
|
|||
#include <QColor>
|
||||
#include <QFont>
|
||||
|
||||
class RsPeerDetails;
|
||||
|
||||
class StatusDefs
|
||||
{
|
||||
public:
|
||||
static const QString name(const unsigned int status);
|
||||
static const char* imageIM(const unsigned int status);
|
||||
static const char* imageUser(const unsigned int status);
|
||||
static const QString tooltip(const unsigned int status);
|
||||
static QString name(unsigned int status);
|
||||
static const char* imageIM(unsigned int status);
|
||||
static const char* imageUser(unsigned int status);
|
||||
static QString tooltip(unsigned int status);
|
||||
|
||||
static const QColor textColor(const unsigned int status);
|
||||
static const QFont font(const unsigned int status);
|
||||
static QColor textColor(unsigned int status);
|
||||
static QFont font(unsigned int status);
|
||||
|
||||
static QString peerStateString(int peerState);
|
||||
static QString connectStateString(RsPeerDetails &details);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue