1#ifndef PULLDLG_H
2#define PULLDLG_H
3
4#include <QDialog>
5
6namespace Ui
7{
8class PullDlg;
9}
10
11class GitBase;
12
13class PullDlg : public QDialog
14{
15 Q_OBJECT
16
17signals:
18 /*!
19 \brief Signal triggered when the user manually forces a refresh of the repository data.
20 */
21 void signalRepositoryUpdated();
22 /*!
23 * \brief Signal triggered when trying to pull and a conflict happens.
24 */
25 void signalPullConflict();
26
27public:
28 explicit PullDlg(QSharedPointer<GitBase> git, const QString &text, QWidget *parent = nullptr);
29 ~PullDlg() override;
30
31 void accept() override;
32
33private:
34 Ui::PullDlg *ui;
35 QSharedPointer<GitBase> mGit;
36};
37
38#endif // PULLDLG_H
39