MagicSmoke  $VERSION$
srcMTCreateUser.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MTCreateUser
4 #define WOBGEN_MTCreateUser
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 #include <MOUser>
13 
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTCreateUser_Private;
23  protected:
29  explicit MTCreateUser(const QString &ausername,const QString &apassword,const QString &adescription,QString iface);
30  public:
32  MTCreateUser();
34  MTCreateUser(const MTCreateUser&);
36  MTCreateUser& operator=(const MTCreateUser&);
38  virtual ~MTCreateUser();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
52  static MTCreateUser query(const QString &ausername,const QString &apassword,const QString &adescription,QString iface="MagicSmoke");
58  static MTCreateUser asyncQuery(const QString &ausername,const QString &apassword,const QString &adescription,QString iface="MagicSmoke");
60  Q_SLOT Nullable<MOUser> getuser()const;
61  protected:
62  virtual bool canLogRequest()const{return false;}
63 };
64 
66 
67 //END OF AUTOMATICALLY GENERATED FILE
68 #endif
friend class MTCreateUser
Definition: srcMTCreateUser.cpp:15
Definition: srcMTCreateUser.cpp:12
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateUser.h:8
Attempts to create a new user. This may fail if the user already exists.
Definition: srcMTCreateUser.h:17
Q_DECLARE_METATYPE(QDomNode)
virtual bool canLogRequest() const
Definition: srcMTCreateUser.h:62