QWizard: give all buttons an objectName
authorMarc Mutz <marc.mutz@kdab.com>
Tue, 8 Oct 2013 11:31:19 +0000 (13:31 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 28 Oct 2013 11:05:22 +0000 (12:05 +0100)
commit1ea191276ea49ce2334d21b1f4a2c66ee8889466
treee054557748a50bdb61daca5e2678faf5e6351bd1
parent862a8d46c3cb0b59100e4fa9bb1e34b517df78ee
QWizard: give all buttons an objectName

Only Commit, Finish and Cancel didn't have an object name, yet.
Also Extract Method on the switch statement, add a test, and
use QStringBuilder.

Task-number: QTBUG-29924
Reported-by: Leo Arias
Change-Id: I8c29606bc53e9d4caab631da2089e971a9da2d75
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/widgets/dialogs/qwizard.cpp
tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp