#include <QtGui/qcolor.h> #ifndef QCOLOR_H class QColor{ /* Some contents are skipped to improve readability */ public: enum Spec{ Invalid = 0, Rgb = 1, Hsv = 2, Cmyk = 3, }; /* ... */ }; #endif // QCOLOR_H