2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-12 11:51:15 +01:00
waf/demos/qt4/foo.cpp
Thomas Nagy dd4984aab0 #1095
2011-12-31 14:32:38 +01:00

26 lines
417 B
C++

// Thomas Nagy, 2011
#include "foo.h"
Foo::Foo() : QWidget(NULL) {
}
/* WARNING: do not declare private classes in .cpp files (put them in header files) */
class Bar_private : public QWidget {
Q_OBJECT
signals:
void test();
public:
Bar_private();
};
Bar_private::Bar_private() : QWidget(NULL) {
}
#if WAF
#include "foo.moc"
#include "foo.cpp.moc"
#endif