Thanks guys!
I found a solution and here it is:

QList<QPushButton *> L=progressDialog.findChildren<QPushButton *>();
L.at(0)->hide();
L.at(0)->show();

Best regards!