File indexing completed on 2024-05-05 05:41:37
0001 #include <QtCore/QObject> 0002 #include <QtCore/QFile> 0003 0004 0005 0006 0007 0008 0009 0010 0011 class MissingMacro : public QObject 0012 { 0013 public: // Warning 0014 }; 0015 0016 class HasMacro : public QObject 0017 { 0018 Q_OBJECT 0019 public: 0020 }; 0021 0022 class Derived1 : public HasMacro 0023 { 0024 public: // Warning 0025 }; 0026 0027 class QFile; 0028 class FwdDecl; 0029 0030 template <typename T> class DerivedTemplate : public Derived1 0031 { // OK, moc doesn't accept Q_OBJECT in template classes 0032 public: 0033 };