コード例 #1
0
ファイル: pppstats.cpp プロジェクト: nzarko/kalgdial
PPPStats::PPPStats()
{
    clear();
    timer = new QTimer;
    ppp_connection_time = new QTime;
    setUnit(0);
    connect(timer, SIGNAL(timeout()), SLOT(timerClick()));
}
コード例 #2
0
/********************************************************************

  Declaration: Function "connected" to timer and called on every timer 
               tick. 
  Call: slotNextValue
  Input: 
  Returns: none
  30.05.2008 Initial coding / YS  
  
*********************************************************************/
void NotifyThread::slotNextValue()
{
  emit timerClick();
}