2019-03-29 14:54:34 +00:00
|
|
|
#ifndef CORE_ACCOUNT_H
|
|
|
|
#define CORE_ACCOUNT_H
|
|
|
|
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
|
|
|
|
#include <qxmpp/QXmppClient.h>
|
|
|
|
|
|
|
|
namespace Core
|
|
|
|
{
|
|
|
|
|
|
|
|
class Account : public QObject
|
|
|
|
{
|
|
|
|
public:
|
2019-03-30 20:13:13 +00:00
|
|
|
Account(const QString& p_login, const QString& p_server, const QString& p_password, const QString& p_name, QObject* parent = 0);
|
2019-03-29 14:54:34 +00:00
|
|
|
~Account();
|
|
|
|
|
|
|
|
private:
|
2019-03-30 20:13:13 +00:00
|
|
|
QString name;
|
|
|
|
QString login;
|
|
|
|
QString server;
|
2019-03-29 14:54:34 +00:00
|
|
|
QString password;
|
|
|
|
QXmppClient client;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CORE_ACCOUNT_H
|