forked from qt-creator/qt-creator
Rename IWizard::Kind --> IWizard::WizardKind, add some logic for which wizard kinds to collapse/expand.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#ifndef NEWDIALOG_H
|
||||
#define NEWDIALOG_H
|
||||
|
||||
#include "iwizard.h"
|
||||
|
||||
#include <QtGui/QDialog>
|
||||
#include <QtCore/QList>
|
||||
|
||||
@@ -41,8 +43,6 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
|
||||
class IWizard;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
namespace Ui {
|
||||
@@ -58,6 +58,7 @@ public:
|
||||
virtual ~NewDialog();
|
||||
|
||||
void setWizards(QList<IWizard*> wizards);
|
||||
void setPreferredWizardKinds(IWizard::WizardKinds kinds);
|
||||
|
||||
Core::IWizard *showDialog();
|
||||
|
||||
@@ -71,6 +72,7 @@ private:
|
||||
|
||||
Ui::NewDialog *m_ui;
|
||||
QPushButton *m_okButton;
|
||||
IWizard::WizardKinds m_preferredWizardKinds;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user