Move wizard list generating helper methods to IWizard.

They don't have anything to do specifically with file wizards.
This commit is contained in:
con
2009-05-11 13:34:58 +02:00
parent fc78ae272b
commit 8457bd6861
6 changed files with 77 additions and 43 deletions

View File

@@ -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