title: error: QMetaObject::indexOfSignal: signal doubleClicked(QModelIndex) from QTreeView redefined
body: <p>I have the declaration of signal in "tree.h":</p>
  
  <pre><code>...
  signals:
  void doubleClicked(const QModelIndex &amp; index);
  ...
  </code></pre>
  
  <p>then in constructor I connect:</p>
  
  <pre><code>connect(this, SIGNAL(doubleClicked(const QModelIndex&amp;)), SLOT(sm(const QModelIndex&amp;)));
  </code></pre>
  
  <p>Nothing works and I get runtime message:</p>
  
  <pre><code>QMetaObject::indexOfSignal: signal doubleClicked(QModelIndex) from QTreeView redefined in Tree...
  </code></pre>
  
  <p>I'm trying to solve it for several hours but in vain!</p>
  
  <p>Thanx in advance!!!</p>