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:
thunder2 2011-01-06 18:26:39 +00:00
parent 13ab90e14b
commit dd55b2bf74
10 changed files with 313 additions and 196 deletions

View file

@ -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