mirror of https://github.com/qTox/qTox.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
479 B
28 lines
479 B
#ifndef FRIEND_H |
|
#define FRIEND_H |
|
|
|
#include <QString> |
|
#include "widget/form/chatform.h" |
|
#include "status.h" |
|
|
|
class FriendWidget; |
|
|
|
struct Friend |
|
{ |
|
public: |
|
Friend(int FriendId, QString UserId); |
|
~Friend(); |
|
void setName(QString name); |
|
void setStatusMessage(QString message); |
|
QString getName(); |
|
|
|
public: |
|
FriendWidget* widget; |
|
int friendId; |
|
QString userId; |
|
ChatForm* chatForm; |
|
int hasNewMessages; |
|
Status friendStatus; |
|
}; |
|
|
|
#endif // FRIEND_H
|
|
|