Commit 8e7651db authored by Tobias Hunger's avatar Tobias Hunger

VcsBase: Export CheckoutWizardDialog

Change-Id: Ic6f0622d2f2ff100d1023ed94b461feb16fbb871
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 776eb92f
......@@ -68,7 +68,7 @@ public:
BaseCheckoutWizardPrivate() : dialog(0) {}
void clear();
Internal::CheckoutWizardDialog *dialog;
CheckoutWizardDialog *dialog;
QList<QWizardPage *> parameterPages;
QString checkoutPath;
QString progressTitle;
......@@ -106,7 +106,7 @@ void BaseCheckoutWizardFactory::runWizard(const QString &path, QWidget *parent,
Q_UNUSED(extraValues);
// Create dialog and launch
d->parameterPages = createParameterPages(path);
Internal::CheckoutWizardDialog dialog(d->parameterPages, parent);
CheckoutWizardDialog dialog(d->parameterPages, parent);
if (!d->progressTitle.isEmpty())
dialog.setTitle(d->progressTitle);
if (!d->startedStatus.isEmpty())
......
......@@ -43,12 +43,11 @@
*/
namespace VcsBase {
namespace Internal {
CheckoutWizardDialog::CheckoutWizardDialog(const QList<QWizardPage *> &parameterPages,
QWidget *parent) :
Utils::Wizard(parent),
m_progressPage(new CheckoutProgressWizardPage),
m_progressPage(new Internal::CheckoutProgressWizardPage),
m_progressPageId(-1)
{
foreach (QWizardPage *wp, parameterPages)
......@@ -98,5 +97,4 @@ void CheckoutWizardDialog::reject()
QWizard::reject();
}
} // namespace Internal
} // namespace VcsBase
......@@ -30,17 +30,17 @@
#ifndef CHECKOUTWIZARDDIALOG_H
#define CHECKOUTWIZARDDIALOG_H
#include <QSharedPointer>
#include "vcsbase_global.h"
#include <QList>
#include <utils/wizard.h>
namespace VcsBase {
class Command;
namespace Internal {
class CheckoutProgressWizardPage;
namespace Internal { class CheckoutProgressWizardPage; }
class CheckoutWizardDialog : public Utils::Wizard
class VCSBASE_EXPORT CheckoutWizardDialog : public Utils::Wizard
{
Q_OBJECT
......@@ -61,11 +61,10 @@ private slots:
virtual void reject();
private:
CheckoutProgressWizardPage *m_progressPage;
Internal::CheckoutProgressWizardPage *m_progressPage;
int m_progressPageId;
};
} // namespace Internal
} // namespace VcsBase
#endif // CHECKOUTWIZARDDIALOG_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment