refactor: use snake_case field naming in qt client (#1262)

* refactor: use snake_case field naming in qt client

* fix: some missed symbols

* chore: make uncrustify happy

* fixup! refactor: use snake_case field naming in qt client
This commit is contained in:
Charles Kerr
2020-05-27 16:53:12 -05:00
committed by GitHub
parent 4893771a04
commit 070a7f2ffc
81 changed files with 3181 additions and 3237 deletions

View File

@@ -28,14 +28,14 @@ public:
FileTreeView(QWidget* parent = nullptr, bool editable = true);
void clear();
void update(FileList const& files, bool updateProperties = true);
void update(FileList const& files, bool update_properties = true);
void setEditable(bool editable);
signals:
void priorityChanged(QSet<int> const& fileIndices, int priority);
void wantedChanged(QSet<int> const& fileIndices, bool wanted);
void pathEdited(QString const& oldpath, QString const& newname);
void priorityChanged(QSet<int> const& file_indices, int priority);
void wantedChanged(QSet<int> const& file_indices, bool wanted);
void pathEdited(QString const& old_path, QString const& new_name);
void openRequested(QString const& path);
protected:
@@ -67,18 +67,18 @@ private:
static Qt::CheckState getCumulativeCheckState(QModelIndexList const& indices);
private:
FileTreeModel* myModel;
QSortFilterProxyModel* myProxy;
FileTreeDelegate* myDelegate;
FileTreeModel* model_ = {};
QSortFilterProxyModel* proxy_ = {};
FileTreeDelegate* delegate_ = {};
QMenu* myContextMenu = nullptr;
QMenu* myPriorityMenu = nullptr;
QAction* myCheckSelectedAction = nullptr;
QAction* myUncheckSelectedAction = nullptr;
QAction* myOnlyCheckSelectedAction = nullptr;
QAction* myHighPriorityAction = nullptr;
QAction* myNormalPriorityAction = nullptr;
QAction* myLowPriorityAction = nullptr;
QAction* myOpenAction = nullptr;
QAction* myRenameAction = nullptr;
QMenu* context_menu_ = {};
QMenu* priority_menu_ = {};
QAction* check_selected_action_ = {};
QAction* uncheck_selected_action_ = {};
QAction* only_check_selected_action_ = {};
QAction* high_priority_action_ = {};
QAction* normal_priority_action_ = {};
QAction* low_priority_action_ = {};
QAction* open_action_ = {};
QAction* rename_action_ = {};
};