MagicSmoke  $VERSION$
srcMTChangeMyPassword.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_MTChangeMyPassword
4 #define WOBGEN_MTChangeMyPassword
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 
14 
17 {
18  Q_OBJECT
19  private:
22  protected:
27  explicit MTChangeMyPassword(const QString &aoldpassword,const QString &anewpassword,QString iface);
28  public:
34  MTChangeMyPassword& operator=(const MTChangeMyPassword&);
36  virtual ~MTChangeMyPassword();
37  private:
38  void netquery();
39  void asyncnetquery();
40  QByteArray encodeData();
41  void decodeData(QByteArray);
42  protected:
43  virtual void endQuery();
44  public:
49  static MTChangeMyPassword query(const QString &aoldpassword,const QString &anewpassword,QString iface="MagicSmoke");
54  static MTChangeMyPassword asyncQuery(const QString &aoldpassword,const QString &anewpassword,QString iface="MagicSmoke");
55  protected:
56  virtual bool canLogRequest()const{return false;}
57 };
58 
60 
61 //END OF AUTOMATICALLY GENERATED FILE
62 #endif
Changes the password of the user of the current session. This may fail if the old password does not m...
Definition: srcMTChangeMyPassword.h:16
virtual bool canLogRequest() const
Definition: srcMTChangeMyPassword.h:56
Definition: transaction.h:25
friend class MTChangeMyPassword
Definition: srcMTChangeMyPassword.cpp:15
Definition: srcMTChangeMyPassword.cpp:12
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeMyPassword.h:8