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