title: QAudioProbe progress bar connection
body: <p>I'm sorry if stupid question, but I am totally begginer in C++ an in QT creator and it's my first post here. I tried to search answer for my issue but can't find.</p>
  
  <p>I just want to understand how QAudioProbe class works. And I try to monitor of my QAudioRecorder and send it to progress bar to see it jumping when I'm recording something.</p>
  
  <p>I tried that code from <a href="http://doc.qt.io/qt-5/qaudioprobe.html#details" rel="nofollow noreferrer">http://doc.qt.io/qt-5/qaudioprobe.html#details</a> :</p>
  
  <pre><code>probka = new QAudioProbe;
  connect(probka, SIGNAL(audioBufferProbed(QAudioBuffer)), this, 
                             SLOT(processBuffer(QAudioBuffer)));
  
  probka-&gt;setSource(audioRecorder);
  </code></pre>
  
  <p>But I don't know what to do next? I tried something like that:</p>
  
  <pre><code>connect(probka, SIGNAL(audioBufferProbed(QAudioBuffer)), ui-&gt;progressBar, SLOT(setValue(int)));
  </code></pre>
  
  <p>but it doesn't work. Actually I've tried a lot of coding, I've been trying to solve my issue for two days. I also launched example project of QAudioRecorder and tried to analyze it, I even think I understand it a little bit, but still can't make that stupid connection of QAudioProbe with my progress bar.</p>
  
  <p>And I also have one question in little bit different topic. How to find the QT built in definitions of some functions. For example when I click right button on some function and select "Follow symbol under cursor" it goes to the declaration of function, but then I want to see what that function exactly does, how to find that? I tried "Switch header/source F4" but it works only for my own functions, but not with QT built in classes.</p>
  
  <p>For any help thanks in advance, and sorry for my English. :)</p>