#include <QtGui/qpalette.h> #ifndef QPALETTE_H class QPalette{ /* Some contents are skipped to improve readability */ public: enum ColorRole{ /* ... */ Button = 1, /* ... */ }; /* ... */ }; #endif // QPALETTE_H