1 | #ifndef PULLDLG_H |
2 | #define PULLDLG_H |
3 | |
4 | #include <QDialog> |
5 | |
6 | namespace Ui |
7 | { |
8 | class PullDlg; |
9 | } |
10 | |
11 | class GitBase; |
12 | |
13 | class PullDlg : public QDialog |
14 | { |
15 | Q_OBJECT |
16 | |
17 | signals: |
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 | |
27 | public: |
28 | explicit PullDlg(QSharedPointer<GitBase> git, const QString &text, QWidget *parent = nullptr); |
29 | ~PullDlg() override; |
30 | |
31 | void accept() override; |
32 | |
33 | private: |
34 | Ui::PullDlg *ui; |
35 | QSharedPointer<GitBase> mGit; |
36 | }; |
37 | |
38 | #endif // PULLDLG_H |
39 | |