#include <QtCore/qtimeline.h> #ifndef QTIMELINE_H class QTimeLine: public QObject{ /* Some contents are skipped to improve readability */ public: enum Direction{ /* ... */ Backward = 1, /* ... */ }; /* ... */ }; #endif