#include <QtGui/qcolormap.h> #ifndef QCOLORMAP_H class QColormap{ /* Some contents are skipped to improve readability */ public: int depth() const /* ... */ }; #endif // QCOLORMAP_H