MagicSmoke  $VERSION$
srcMTGetLanguage.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_MTGetLanguage
4 #define WOBGEN_MTGetLanguage
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 <MOServerFormat>
13 
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTGetLanguage_Private;
23  protected:
28  explicit MTGetLanguage(const QString &alanguage,const QString &aformat,QString iface);
29  public:
31  MTGetLanguage();
35  MTGetLanguage& operator=(const MTGetLanguage&);
37  virtual ~MTGetLanguage();
38  private:
39  void netquery();
40  void asyncnetquery();
41  QByteArray encodeData();
42  void decodeData(QByteArray);
43  protected:
44  virtual void endQuery();
45  public:
50  static MTGetLanguage query(const QString &alanguage,const QString &aformat,QString iface="MagicSmoke");
55  static MTGetLanguage asyncQuery(const QString &alanguage,const QString &aformat,QString iface="MagicSmoke");
57  Q_SLOT Nullable<QByteArray> getfile()const;
59  Q_SLOT Nullable<MOServerFormat> getformats()const;
61  Q_SLOT Nullable<QString> getstatusBarText()const;
62 };
63 
65 
66 //END OF AUTOMATICALLY GENERATED FILE
67 #endif
friend class MTGetLanguage
Definition: srcMTGetLanguage.cpp:15
This transaction returns basic language and formatting settings from the server - it must be used bef...
Definition: srcMTGetLanguage.h:17
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetLanguage.h:8
Definition: srcMTGetLanguage.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)