#include <QtGui/qbrush.h> #ifndef QBRUSH_H class QGradient{ /* Some contents are skipped to improve readability */ public: enum Spread{ PadSpread = 0, ReflectSpread = 1, RepeatSpread = 2, }; /* ... */ }; #endif // QBRUSH_H