#include <QtGui/qbrush.h> #ifndef QBRUSH_H class QGradient{ /* Some contents are skipped to improve readability */ public: enum Type{ LinearGradient = 0, RadialGradient = 1, ConicalGradient = 2, NoGradient = 3, }; /* ... */ }; #endif // QBRUSH_H