forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user