File indexing completed on 2024-04-28 05:38:42

0001 #include <QtCore/QObject>
0002 
0003 class B
0004 {
0005 public:
0006     enum BB {
0007 
0008     };
0009 };
0010 
0011 class A : public QObject
0012 {
0013 public:
0014     enum E {
0015 
0016     };
0017     Q_ENUMS(E) // Warning
0018 
0019     enum E2 {
0020 
0021     };
0022     Q_ENUM(E2)
0023 
0024     Q_ENUMS(B::BB) // OK
0025 
0026 };