7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #include "MTransaction"
29 explicit MTLogin(
const QString &ausername,
const QString &apassword,
const QString &ahostname,
const QString &ahostkey,QString iface);
42 QByteArray encodeData();
43 void decodeData(QByteArray);
45 virtual void endQuery();
53 static MTLogin query(
const QString &ausername,
const QString &apassword,
const QString &ahostname,
const QString &ahostkey,QString iface=
"MagicSmoke");
60 static MTLogin asyncQuery(
const QString &ausername,
const QString &apassword,
const QString &ahostname,
const QString &ahostkey,QString iface=
"MagicSmoke");
62 Q_SLOT Nullable<QString> getsessionid()
const;
64 Q_SLOT Nullable<qint64> getvalidtill()
const;
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTLogin.h:8
virtual bool canLogRequest() const
Definition: srcMTLogin.h:66
friend class MTLogin
Definition: srcMTLogin.cpp:15
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTLogin.cpp:12
Attempt to log into the server. Both the user and the host the user is using are verified. The login will fail if the authentication of either of them fails or the user does not have the righ to login from this host.
Definition: srcMTLogin.h:16