#include <QtGui/qlcdnumber.h> #ifndef QLCDNUMBER_H #ifndef QT_NO_LCDNUMBER class QLCDNumber: public QFrame{ /* Some contents are skipped to improve readability */ public: enum SegmentStyle{ Outline = 0, Filled = 1, Flat = 2, }; /* ... */ }; #endif // QT_NO_LCDNUMBER #endif // QLCDNUMBER_H