IWizard and derived classes: Code cleanups

There should be no functional changes, just removal of unnecessary
code. This includes:

* Removal of unused QObject *parent = 0 parameters to constructors
* Removal of unnecessary explicits
* Removal of unnecessary virtuals
* Removal of unnecessary constructors/destructors

Some explicits were added though where those were missing.

Change-Id: Iab570349ea950dad0a2d01af17bc6175f70832f1
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Tobias Hunger
2014-02-13 14:56:14 +01:00
parent 12b0fedcfc
commit 424b9a0036
26 changed files with 53 additions and 125 deletions

View File

@@ -175,17 +175,6 @@ void WizardEventLoop::rejected()
\sa Core::Internal::WizardEventLoop
*/
BaseFileWizard::BaseFileWizard(QObject *parent) :
IWizard(parent)
{
}
BaseFileWizard::~BaseFileWizard()
{
}
BaseFileWizard::ExtensionList BaseFileWizard::selectExtensions()
{
return ExtensionSystem::PluginManager::getObjects<IFileWizardExtension>();
@@ -532,11 +521,6 @@ QString BaseFileWizard::preferredSuffix(const QString &mimeType)
Creates the files with the \a name under the \a path.
*/
StandardFileWizard::StandardFileWizard(QObject *parent) :
BaseFileWizard(parent)
{
}
/*!
Creates a Utils::FileWizardDialog.
*/