Typica is a free program for professional coffee roasters. https://typica.us
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

clock.h 359B

1234567891011121314151617181920212223242526272829
  1. /*243:*/
  2. #line 24 "./clock.w"
  3. #include <QElapsedTimer>
  4. #include <QMutex>
  5. #include <QObject>
  6. #ifndef ClockHeader
  7. #define ClockHeader
  8. class Clock:public QObject
  9. {
  10. Q_OBJECT
  11. public:
  12. Clock();
  13. ~Clock();
  14. qint64 timestamp();
  15. public slots:
  16. void setEpoch();
  17. signals:
  18. void newTime(qint64 time);
  19. private:
  20. QElapsedTimer reference;
  21. QMutex guard;
  22. };
  23. #endif
  24. /*:243*/