BaseFileWizard: Get rid of addWizardPage.

Removing the addWizardPage function makes the code easier to follow.

The old implementation did always name the CustomWizardPage as "Details",
which is just wrong. Getting rid of this makes the page use its title as
the progress text, which is what we want in general anyway.

Change-Id: Iaf44f467c45952ad881154f31f62521f4f562658
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Remove IWizardFactory::Data

It makes the code more complicated in one place just to make it harder
to follow in another...

Remove CustomWizardParameters::toString() while at it: It would need some
extending to work with this change and I do not think it is worth it, considering
that it is only used when the CustomWizard is set to verbose.

Change-Id: Ice14b197ed2fe98c54bc9c1c55ece3ed2222fbbf
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
s/struct/class/

Change-Id: I2813babc838d5dd14e4b341954d6ce0d53bfcda7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Rename ICustomWizardFactory to ICustomWizardMetaFactory

Also rename CustomWizardFactory to CustomWizardMetaFactory. These factories
are used to generate the actual factories that are visible in File->New, so
they are kind of Meta:-)

CustomWizardClassFactory was my first attempt, but since there are project-
and classwizards that are generated by this meta-factory that is not a good
name.

Get rid of a useless typedef while at it.

Change-Id: I3dc2cce3f52999af7e59d5f2ad5509153056ea49
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
CppEditor: Extract CppEditorDocument

This one will get some more functionality.

Change-Id: Ifba410e32f98c28cbfbb5a72493906ab3d681225
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Make private class internal

Get rid of a couple of useless Internal:: namespace prefixes

Change-Id: I99f44082a2ba0ec39b51d3f89db6697834414a99
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
s/struct/class/ for private class of filewizardpage

Change-Id: Ie7b96b0309e1291f4bb002a1f01e0473b8e15239
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Add helper method to Utils::Wizard

Add method to Utils::Wizard that allows to retrieve the first page
of a given type.

Change-Id: Id92496d09bf89cee6f6e8ef584409125b218ec83
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Utils: Remove FileWizard class altogether

This fixes the regression where two Location pages were added
before.

Change-Id: Ic3241d707ad8dcf6fc3063bb4613dce49001e196
Reviewed-by: Orgad Shaneh <orgads@gmail.com>