#include <QtGui/qlcdnumber.h> #ifndef QLCDNUMBER_H #ifndef QT_NO_LCDNUMBER class QLCDNumber: public QFrame{ /* Some contents are skipped to improve readability */ public: enum Mode{ Hex = 0, Dec = 1, Oct = 2, Bin = 3, }; /* ... */ }; #endif // QT_NO_LCDNUMBER #endif // QLCDNUMBER_H