#include <QtGui/qcalendarwidget.h> #ifndef QCALENDARWIDGET_H #ifndef QT_NO_CALENDARWIDGET class QCalendarWidget: public QWidget{ /* Some contents are skipped to improve readability */ public: enum HorizontalHeaderFormat{ /* ... */ ShortDayNames = 2, /* ... */ }; /* ... */ }; #endif // QT_NO_CALENDARWIDGET #endif // QCALENDARWIDGET_H