mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 20:49:41 +00:00
22 lines
320 B
C++
22 lines
320 B
C++
|
|
||
|
#include <QObject>
|
||
|
|
||
|
#include "myinterface.h"
|
||
|
|
||
|
class MyObject : public QObject, MyInterface
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
Q_INTERFACES(MyInterface)
|
||
|
public:
|
||
|
explicit MyObject(QObject *parent = 0) : QObject(parent) { }
|
||
|
};
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
MyObject mo;
|
||
|
mo.objectName();
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
#include "main_gen_test.moc"
|