QTimer使用

 1 头文件
 2 QTimer m_timer;
 3 void SlotTimer();
 4 
 5 源文件
 6 connect(&m_timer, SIGNAL(timeout()), this, SLOT(SlotTimer()));
 7 void VideoControl::SlotTimer()
 8 {
 9 
10 }

 

posted @ 2022-01-11 14:34  阳光下的小土豆  阅读(51)  评论(0编辑  收藏  举报