Masterctrl/Sources/Contact.h
J-F Martel 2139293944 Dev...
2016-02-29 07:42:20 -05:00

30 lines
722 B
C++

#ifndef CCONTACT_H
#define CCONTACT_H
#include "GlobalDefine.h"
#include <QString>
#include <QPixmap>
class CContact
{
public:
CContact(QString ContactNbr, QString ContactName = "", QPixmap *Picture = 0);
CContact();
virtual ~CContact();
int SetContactImage(QString FilePath);
QString mContactName;
QPixmap mContactPicture;
QString mContactNumber, mRAWContactNbr;
CContact &operator=(const CContact source);
};
bool operator==(const CContact& left, const CContact& right);
bool operator!=(const CContact& left, const CContact& right);
QDataStream &operator<<(QDataStream &out, const CContact &source);
QDataStream &operator>>(QDataStream &in, CContact &dest);
#endif // CCONTACT_H