#include <QtGui/qdatetimeedit.h> #ifndef QDATETIMEEDIT_H #ifndef QT_NO_DATETIMEEDIT class QTimeEdit: public QDateTimeEdit{ /* Some contents are skipped to improve readability */ public: QTimeEdit(class QWidget* parent = 0); /* ... */ }; #endif // QT_NO_DATETIMEEDIT #endif // QDATETIMEEDIT_H