Merge branch 'release-3.31'
[kiteware-cmake.git] / Tests / QtAutogen / Complex / blub.cpp
blob1c497e00f14f9bc49bcc0a5cd2db15bb88b53f68
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #include "blub.h"
5 #include <stdio.h>
7 class BlubBlub : public QObject
9 Q_OBJECT
10 public:
11 BlubBlub()
12 : QObject()
15 public slots:
16 int getValue() const { return 13; }
19 Blub::Blub()
23 void Blub::blubber()
25 BlubBlub bb;
26 printf("Blub blub %d ! \n", bb.getValue());
29 // test the case that the wrong moc-file is included, it should
30 // actually be "blub.moc"
31 #include "moc_blub.cpp"