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;
14  Private *m;
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
DeleteBranchDialog::Private::remote
bool remote
Definition: DeleteBranchDialog.cpp:7
DeleteBranchDialog::Private::all_local_branch_names
QStringList all_local_branch_names
Definition: DeleteBranchDialog.cpp:5
DeleteBranchDialog::selectedBranchNames
QStringList selectedBranchNames() const
Definition: DeleteBranchDialog.cpp:58
DeleteBranchDialog::isRemote
bool isRemote() const
Definition: DeleteBranchDialog.cpp:39
DeleteBranchDialog::Private
Definition: DeleteBranchDialog.cpp:4
DeleteBranchDialog::DeleteBranchDialog
DeleteBranchDialog(QWidget *parent, bool remote, QStringList const &all_local_branch_names, QStringList const &current_local_branch_names)
Definition: DeleteBranchDialog.cpp:10
DeleteBranchDialog::m
Private * m
Definition: DeleteBranchDialog.h:13
DeleteBranchDialog.h
DeleteBranchDialog::on_checkBox_all_branches_toggled
void on_checkBox_all_branches_toggled(bool checked)
Definition: DeleteBranchDialog.cpp:72
Ui
Definition: AboutDialog.h:6
DeleteBranchDialog
Definition: DeleteBranchDialog.h:10
DeleteBranchDialog::~DeleteBranchDialog
~DeleteBranchDialog() override
Definition: DeleteBranchDialog.cpp:33
DeleteBranchDialog::Private::current_local_branch_names
QStringList current_local_branch_names
Definition: DeleteBranchDialog.cpp:6
DeleteBranchDialog::updateList
void updateList()
Definition: DeleteBranchDialog.cpp:44
DeleteBranchDialog::ui
Ui::DeleteBranchDialog * ui
Definition: DeleteBranchDialog.h:24