#include <QtGui/qpalette.h> #ifndef QPALETTE_H class QPalette{ /* Some contents are skipped to improve readability */ public: static struct QMetaObject const staticMetaObject; /* ... */ }; #endif // QPALETTE_H