2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2011-11-11 00:40:31 +04:00
|
|
|
#include "blub.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
class BlubBlub : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2016-05-16 17:34:04 +03:00
|
|
|
public:
|
|
|
|
BlubBlub()
|
|
|
|
: QObject()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
public slots:
|
|
|
|
int getValue() const { return 13; }
|
2011-11-11 00:40:31 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
Blub::Blub()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Blub::blubber()
|
|
|
|
{
|
|
|
|
BlubBlub bb;
|
|
|
|
printf("Blub blub %d ! \n", bb.getValue());
|
|
|
|
}
|
|
|
|
|
|
|
|
// test the case that the wrong moc-file is included, it should
|
|
|
|
// actually be "blub.moc"
|
|
|
|
#include "moc_blub.cpp"
|