title: How do I integrate a timed loop in pyqt
body: <p>I'm working on a pyqt-gui, which should have the possibility to refresh data loading every chosen time (for example every 2 minutes). During this loop, the gui should be able to respond to events etc. </p>
  
  <p>The code looks like this:</p>
  
  <pre><code>from PyQt4.QtCore import *
  from PyQt4.QtGui import *
  from PyQt4.uic import *
  class TeleModul (QMainWindow):
      def __init__(self, *args):
          QWidget.__init__(self, *args)
          loadUi ("telemodul.ui",self)
          .....
      def on_ButtonSuchen_clicked (self):
          QTimer.singleShot(60000, self.RefreshData())
      def RefreshData(self):
          ...do something ...
  </code></pre>
  
  <p>Clicking on ButtonSuchen evokes an error:</p>
  
  <blockquote>
    <p>TypeError: arguments did not match any overloaded call:<br>
    QTimer.singleShot(int, QObject, SLOT()): argument 2 has unexpected
    type 'NoneType'   QTimer.singleShot(int, callable): argument 2 has
    unexpected type 'NoneType'</p>
  </blockquote>
  
  <p>What's the fault or what's the best way to integrate this loop?</p>