forked from qt-creator/qt-creator
Move wizard list generating helper methods to IWizard.
They don't have anything to do specifically with file wizards.
This commit is contained in:
@@ -62,6 +62,11 @@ public:
|
||||
virtual QString trCategory() const = 0;
|
||||
|
||||
virtual QStringList runWizard(const QString &path, QWidget *parent) = 0;
|
||||
|
||||
// Utility to find all registered wizards
|
||||
static QList<IWizard*> allWizards();
|
||||
// Utility to find all registered wizards of a certain kind
|
||||
static QList<IWizard*> wizardsOfKind(Kind kind);
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user