summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocOsMacros/TestClass.hpp
blob: 53000aa79c7fc4d2574f37597fd64fc532bd8239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef TestClass_hpp
#define TestClass_hpp

#include <QObject>
#include <QtGlobal>

class TestClass : public QObject
{
  Q_OBJECT
public Q_SLOTS:

// -- Mac
#ifndef Q_OS_MAC
  void MacNotDef();
#else
  void MacNotDefElse();
#endif

#ifdef Q_OS_MAC
  void MacDef();
#else
  void MacDefElse();
#endif

// -- Unix
#ifndef Q_OS_UNIX
  void UnixNotDef();
#else
  void UnixNotDefElse();
#endif

#ifdef Q_OS_UNIX
  void UnixDef();
#else
  void UnixDefElse();
#endif

// -- Windows
#ifndef Q_OS_WIN
  void WindowsNotDef();
#else
  void WindowsNotDefElse();
#endif

#ifdef Q_OS_WIN
  void WindowsDef();
#else
  void WindowsDefElse();
#endif
};

#endif /* TestClass_hpp */