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