title: How to pass a QTextEdit to signal/slot mechanism
body: <p>I have read some topics here about signals and slots and its parameters but found nothing about following problem:
  I am working with Qt 5.7</p>
  
  <p>I simply have 2 classes, inside 1st, I want to emit signal with string <strong>message</strong> and <strong>location</strong>(or specific object) where to display it.</p>
  
  <p><strong>Now it is like this: I have 1st class where I emit signal :</strong></p>
  
  <pre><code>    emit signalWriteToTextEdit("hallo","textEdit_3");
  </code></pre>
  
  <p>What I want to do is somehow pass as the second argument an object like textEdit. No QString as its now. </p>
  
  <p><strong>Inside 2nd class is the slot:</strong></p>
  
  <pre><code>void writeToTextEdit(QString info, QString where){   
      where.append(info); //I would like to do something like this
  }
  </code></pre>
  
  <p>Just dont know how to consider that second parameter "where" as accessible object for example textEdit, so I could change its content.</p>
  
  <p>I am thinking also if this is possible:</p>
  
  <ol>
  <li>Is there some method for Ui object like finding elements by name?</li>
  <li>Is it possible to go with foreach over all elements in ui and check their names...? I tried but dont know how to go through that.</li>
  </ol>
  
  <p>If its not clear, I will explain more</p>