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:
@@ -55,10 +55,6 @@ FileWizard::FileWizard()
|
||||
setDescription(FileWizard::tr(Constants::EN_PY_SOURCE_DESCRIPTION));
|
||||
}
|
||||
|
||||
FileWizard::~FileWizard()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief FileWizard::createWizardDialog
|
||||
* @param parent
|
||||
|
||||
@@ -40,14 +40,12 @@ class FileWizard : public Core::BaseFileWizard
|
||||
|
||||
public:
|
||||
FileWizard();
|
||||
~FileWizard();
|
||||
|
||||
protected:
|
||||
QWizard *createWizardDialog(QWidget *parent,
|
||||
const Core::WizardDialogParameters ¶ms) const;
|
||||
|
||||
Core::GeneratedFiles generateFiles( const QWizard *dialog,
|
||||
QString *errorMessage) const;
|
||||
Core::GeneratedFiles generateFiles( const QWizard *dialog, QString *errorMessage) const;
|
||||
};
|
||||
|
||||
} // namespace PythonEditor
|
||||
|
||||
Reference in New Issue
Block a user