forked from qt-creator/qt-creator
genericprojectmanager: code cosmetic
White space, namespaces, include order, comments, literal style, remove unneded include/declarations etc. Change-Id: Ifcb4371699c5cde244be1610b67cf81915cad2b2 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -34,16 +34,7 @@
|
||||
#include <coreplugin/basefilewizard.h>
|
||||
#include <utils/wizard.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QFileInfo;
|
||||
class QDir;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
|
||||
class FileWizardPage;
|
||||
|
||||
} // namespace Utils
|
||||
namespace Utils { class FileWizardPage; }
|
||||
|
||||
namespace GenericProjectManager {
|
||||
namespace Internal {
|
||||
@@ -56,7 +47,6 @@ class GenericProjectWizardDialog : public Utils::Wizard
|
||||
|
||||
public:
|
||||
GenericProjectWizardDialog(QWidget *parent = 0);
|
||||
virtual ~GenericProjectWizardDialog();
|
||||
|
||||
QString path() const;
|
||||
void setPath(const QString &path);
|
||||
@@ -75,19 +65,15 @@ class GenericProjectWizard : public Core::BaseFileWizard
|
||||
|
||||
public:
|
||||
GenericProjectWizard();
|
||||
virtual ~GenericProjectWizard();
|
||||
virtual Core::FeatureSet requiredFeatures() const;
|
||||
Core::FeatureSet requiredFeatures() const;
|
||||
|
||||
static Core::BaseFileWizardParameters parameters();
|
||||
|
||||
protected:
|
||||
virtual QWizard *createWizardDialog(QWidget *parent,
|
||||
const Core::WizardDialogParameters &wizardDialogParameters) const;
|
||||
|
||||
virtual Core::GeneratedFiles generateFiles(const QWizard *w,
|
||||
QString *errorMessage) const;
|
||||
|
||||
virtual bool postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage);
|
||||
QWizard *createWizardDialog(QWidget *parent,
|
||||
const Core::WizardDialogParameters &wizardDialogParameters) const;
|
||||
Core::GeneratedFiles generateFiles(const QWizard *w, QString *errorMessage) const;
|
||||
bool postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user