You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/playground/qt4/foo.cpp

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