Using QObject::parent() instead of QMap , performance improvment.