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