Emergency 20 Dokumentation  4.2.0
ActionMetaclasses.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Qt definitions (MOC) ]
36  //[-------------------------------------------------------]
37  // Empty fake Q_OBJECT macro to silence the lupdate Qt tool ("Class '<x>' lacks Q_OBJECT macro" warnings)
38  #ifndef Q_OBJECT
39  #define Q_OBJECT
40  #define QSF_FAKE_Q_OBJECT
41  #endif
42  Q_OBJECT
43  #ifdef QSF_FAKE_Q_OBJECT
44  #undef Q_OBJECT
45  #undef QSF_FAKE_Q_OBJECT
46  #endif
47 
48 
49  //[-------------------------------------------------------]
50  //[ Friends ]
51  //[-------------------------------------------------------]
52  friend class Plugin;
53 
54 
55  //[-------------------------------------------------------]
56  //[ Private methods ]
57  //[-------------------------------------------------------]
58  private:
66  explicit ActionMetaclasses(qsf::Plugin& plugin);
67 
76 
81  void registerMetaclasses();
82 
83 
84  };
85 
86 
87 //[-------------------------------------------------------]
88 //[ Namespace ]
89 //[-------------------------------------------------------]
90 } // em5
Definition: ActionPriority.h:13
EMERGENCY 5 plugin implementation.
Definition: Plugin.h:54
Static CAMP action plugin metaclass collection class.
Definition: ActionMetaclasses.h:30
CAMP metaclass collection base class.
Definition: Metaclasses.h:56
Abstract plugin class.
Definition: Plugin.h:58
#define Q_OBJECT
Definition: ActionMetaclasses.h:39