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