title: Connect without object
body: <p>I want to connect some function as slot without class, can I do this:</p>
  
  <pre><code>void update() { }
  
  int main()
  {
    QTimer timer = ...;
    QObject::connect(timer, SIGNAL(timeout()), SLOT(update()));
    return 0;
  }
  </code></pre>
  
  <p>The compiler says, that without object it's impossible.</p>