12345678910111213141516171819202122232425262728293031 |
- #include "blub.h"
- #include <stdio.h>
- class BlubBlub : public QObject
- {
- Q_OBJECT
- public:
- BlubBlub()
- : QObject()
- {
- }
- public slots:
- int getValue() const { return 13; }
- };
- Blub::Blub()
- {
- }
- void Blub::blubber()
- {
- BlubBlub bb;
- printf("Blub blub %d ! \n", bb.getValue());
- }
- #include "moc_blub.cpp"
|