VCSBase: Add common functionality, make checkout use page lists.

Move GitClient::filterUntrackedFilesOfProject into submit editor.
Make checkout wizards use page lists for greater flexibility.
This commit is contained in:
Friedemann Kleint
2009-07-21 11:14:48 +02:00
parent 8908c33398
commit 9e2f12c737
13 changed files with 71 additions and 61 deletions

View File

@@ -31,6 +31,7 @@
#define CHECKOUTWIZARDDIALOG_H
#include <QtCore/QSharedPointer>
#include <QtCore/QList>
#include <QtGui/QWizard>
namespace VCSBase {
@@ -46,11 +47,10 @@ class CheckoutProgressWizardPage;
class CheckoutWizardDialog : public QWizard {
Q_OBJECT
public:
CheckoutWizardDialog(QWizardPage *parameterPage,
CheckoutWizardDialog(const QList<QWizardPage *> &parameterPages,
QWidget *parent = 0);
void start(const QSharedPointer<AbstractCheckoutJob> &job);
const QWizardPage *parameterPage() const;
signals:
void progressPageShown();
@@ -62,6 +62,7 @@ private slots:
private:
CheckoutProgressWizardPage *m_progressPage;
int m_progressPageId;
};
} // namespace Internal