mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Reworked MessageComposer
- Added To, Cc, Bcc and Recommend friends - Added group support - Show state of the friends in real time - Save state of the window in profile - Translated into german Added "Message group" to PeersDialog git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
baac505c15
commit
627b0ca54a
16 changed files with 2361 additions and 1447 deletions
|
@ -21,10 +21,11 @@
|
|||
|
||||
#include <QCoreApplication>
|
||||
#include <retroshare/rsstatus.h>
|
||||
#include <retroshare/rspeers.h>
|
||||
|
||||
#include "StatusDefs.h"
|
||||
|
||||
const QString StatusDefs::name(unsigned int status)
|
||||
const QString StatusDefs::name(const unsigned int status)
|
||||
{
|
||||
switch (status) {
|
||||
case RS_STATUS_OFFLINE:
|
||||
|
@ -43,7 +44,7 @@ const QString StatusDefs::name(unsigned int status)
|
|||
return "";
|
||||
}
|
||||
|
||||
const char *StatusDefs::imageIM(unsigned int status)
|
||||
const char *StatusDefs::imageIM(const unsigned int status)
|
||||
{
|
||||
switch (status) {
|
||||
case RS_STATUS_OFFLINE:
|
||||
|
@ -62,7 +63,7 @@ const char *StatusDefs::imageIM(unsigned int status)
|
|||
return "";
|
||||
}
|
||||
|
||||
const char *StatusDefs::imageUser(unsigned int status)
|
||||
const char *StatusDefs::imageUser(const unsigned int status)
|
||||
{
|
||||
switch (status) {
|
||||
case RS_STATUS_OFFLINE:
|
||||
|
@ -81,7 +82,7 @@ const char *StatusDefs::imageUser(unsigned int status)
|
|||
return "";
|
||||
}
|
||||
|
||||
const QString StatusDefs::tooltip(unsigned int status)
|
||||
const QString StatusDefs::tooltip(const unsigned int status)
|
||||
{
|
||||
switch (status) {
|
||||
case RS_STATUS_OFFLINE:
|
||||
|
@ -100,7 +101,7 @@ const QString StatusDefs::tooltip(unsigned int status)
|
|||
return "";
|
||||
}
|
||||
|
||||
const QColor StatusDefs::textColor(unsigned int status)
|
||||
const QColor StatusDefs::textColor(const unsigned int status)
|
||||
{
|
||||
switch (status) {
|
||||
case RS_STATUS_OFFLINE:
|
||||
|
@ -119,7 +120,7 @@ const QColor StatusDefs::textColor(unsigned int status)
|
|||
return Qt::black;
|
||||
}
|
||||
|
||||
const QFont StatusDefs::font(unsigned int status)
|
||||
const QFont StatusDefs::font(const unsigned int status)
|
||||
{
|
||||
QFont font;
|
||||
|
||||
|
|
|
@ -29,13 +29,13 @@
|
|||
class StatusDefs
|
||||
{
|
||||
public:
|
||||
static const QString name(unsigned int status);
|
||||
static const char* imageIM(unsigned int status);
|
||||
static const char* imageUser(unsigned int status);
|
||||
static const QString tooltip(unsigned int status);
|
||||
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 const QColor textColor(unsigned int status);
|
||||
static const QFont font(unsigned int status);
|
||||
static const QColor textColor(const unsigned int status);
|
||||
static const QFont font(const unsigned int status);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue