#ifndef TIMECOUNTERUTIL_H #define TIMECOUNTERUTIL_H #include <QObject> #include <QTimer> class TimeCounterUtil : public QObject { public: ~TimeCounterUtil() {}; TimeCounterUtil(const TimeCounterUtil&)=delete; TimeCounterUtil& operator=(const TimeCounterUtil&)=delete; static TimeCounterUtil& getInstance() { static TimeCounterUtil instance; return instance; } QTimer * faceCapCounter; QTimer * irisCapCounter; QTimer * clockCounter; QTimer * videoCounter; // show video images on main window private: TimeCounterUtil(); }; #endif // TIMECOUNTERUTIL_H