MagicSmoke  $VERSION$
srcMTSetFlag.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_MTSetFlag
4 #define WOBGEN_MTSetFlag
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 <MOFlag>
13 
14 class MTSetFlag_Private;
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTSetFlag_Private;
23  protected:
27  explicit MTSetFlag(const MOFlag &aflag,QString iface);
28  public:
30  MTSetFlag();
32  MTSetFlag(const MTSetFlag&);
34  MTSetFlag& operator=(const MTSetFlag&);
36  virtual ~MTSetFlag();
37  private:
38  void netquery();
39  void asyncnetquery();
40  QByteArray encodeData();
41  void decodeData(QByteArray);
42  protected:
43  virtual void endQuery();
44  public:
48  static MTSetFlag query(const MOFlag &aflag,QString iface="MagicSmoke");
52  static MTSetFlag asyncQuery(const MOFlag &aflag,QString iface="MagicSmoke");
53 };
54 
56 
57 //END OF AUTOMATICALLY GENERATED FILE
58 #endif
Definition: srcMTSetFlag.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
changes/creates a flag; warning: if the flag is used this may change behavior
Definition: srcMTSetFlag.h:17
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTSetFlag.h:8
Transport class for flags and their descriptions. They are actually stored in the config table...
Definition: srcMOFlag.h:15
friend class MTSetFlag
Definition: srcMTSetFlag.cpp:15