#include <QtGui/qbrush.h> #ifndef QBRUSH_H class QGradient{ /* Some contents are skipped to improve readability */ public: void setColorAt(qreal pos, class QColor const & color); /* ... */ }; #endif // QBRUSH_H