title: How do I set a QDate to the current date?
body: <p>I have a <code>Registration</code> class that includes a <code>QDate</code> member. How do I initialize it to the current date?</p>
  
  <pre><code>#include &lt;QDate&gt;
  
  class Registration {
  private:
    Person m_Attendee;
    QDate m_BookingDate; // how do I initialze this?
  public:
    Registration(Person a);
  };
  
  Registration::Registration(Person a): m_Attendee(a) {}
  </code></pre>