Guitar
DeleteBranchDialog.h
Go to the documentation of this file.
1 #ifndef DELETEBRANCHDIALOG_H
2 #define DELETEBRANCHDIALOG_H
3 
4 #include <QDialog>
5 
6 namespace Ui {
8 }
9 
10 class DeleteBranchDialog : public QDialog {
11  Q_OBJECT
12 private:
13  struct Private;
15 public:
16  explicit DeleteBranchDialog(QWidget *parent, bool remote, QStringList const &all_local_branch_names, QStringList const &current_local_branch_names);
17  ~DeleteBranchDialog() override;
18 
19  QStringList selectedBranchNames() const;
20 private slots:
21  void on_checkBox_all_branches_toggled(bool checked);
22 
23 private:
24  Ui::DeleteBranchDialog *ui;
25  void updateList();
26  bool isRemote() const;
27 };
28 
29 #endif // DELETEBRANCHDIALOG_H
Definition: DeleteBranchDialog.h:10
~DeleteBranchDialog() override
Definition: DeleteBranchDialog.cpp:33
void updateList()
Definition: DeleteBranchDialog.cpp:44
Private * m
Definition: DeleteBranchDialog.h:13
Ui::DeleteBranchDialog * ui
Definition: DeleteBranchDialog.h:24
bool isRemote() const
Definition: DeleteBranchDialog.cpp:39
QStringList selectedBranchNames() const
Definition: DeleteBranchDialog.cpp:58
DeleteBranchDialog(QWidget *parent, bool remote, QStringList const &all_local_branch_names, QStringList const &current_local_branch_names)
Definition: DeleteBranchDialog.cpp:10
void on_checkBox_all_branches_toggled(bool checked)
Definition: DeleteBranchDialog.cpp:72
Definition: AboutDialog.h:6
Definition: DeleteBranchDialog.cpp:4