title: Sending HTTP Header Info with Qt QNetworkAccessManager
body: <p>I have the following code, and I would like to add some HTTP header info along with the call.  Anyway that I can do that? </p>
  
  <pre><code>void NeoAPI::call(QString apiCall) {
      if (this-&gt;ApiCall.contains(apiCall)) {
          QNetworkAccessManager* manager = new QNetworkAccessManager(0);
          connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(netReplyFinished(QNetworkReply*)));
          QUrl url = this-&gt;ApiCall[apiCall];
          url.addQueryItem("memberid","76710"); // Set for backdoor debugging
          manager-&gt;get(QNetworkRequest(url));
      } else {
          this-&gt;requestResultText = QString("Call %1 doesn't exist").arg(apiCall);
      }
  }
  
  void NeoAPI::netReplyFinished(QNetworkReply *netReply) {
      if (netReply-&gt;error() == QNetworkReply::NoError) {
          this-&gt;requestResultText = netReply-&gt;readAll();
      } else {
          this-&gt;requestResultText = "API Call Failed";
      }
      QMessageBox messageBox;
      messageBox.setText(this-&gt;requestResultText);
      messageBox.exec();
      //delete netReply;
  }
  </code></pre>
  
  <p>Also, if I wasn't using these inside a class, what would the <code>this</code> in the <code>connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(netReplyFinished(QNetworkReply*)));</code> be?</p>
  
  <p>Thanks!</p>