title: Qt How to kill a timer started using startTimer() API?
body: <p>I update a count down timer using <code>timerEvent(QTimerEvent *e)</code> once I am done I call the <code>killTimer(timerID)</code> but the <code>timerEvent()</code> is still being called.
  So what's the proper way to kill it?</p>
  
  <p><strong>The Code:</strong></p>
  
  <pre><code>void MainWindow::timerEvent(QTimerEvent *e)
  {
      Q_UNUSED(e);
  
      static uint16_t u16RemTime = MAX_WARMUP_TIME_IN_SECS;
       if((true == isWarmUpStarted) &amp;&amp; (u16RemTime &gt; 0))
       {
  
           u16RemTime--;
           objptrSplashScreen-&gt;SetTime(u16RemTime);
       }
       else
       {
           //Still running
           qWarning("\n\n\n\n\n WARM UP TIMER RUNNING \n\n\n\n\n");
           killTimer(warmUpTimerID);
       }
  }
  </code></pre>
  
  <hr>
  
  <p>If it helps. I have two such timers running in two different classes in the same GUI thread. How would I go about killing it?</p>