diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-12-10 13:09:44 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:33:16 -0500 |
| commit | a4624f239fe5d152ec8797c1a3f8c2b2aeaef1ba (patch) | |
| tree | 1371a463d11f9f7f66eae07daf898b4c1b7cc0c9 /src/datatab.h | |
| parent | e8027bfeaae9382c99b7e0a0503ec5eae774934f (diff) | |
split FileTreeModel, initial implementation, some stuff is broken
Diffstat (limited to 'src/datatab.h')
| -rw-r--r-- | src/datatab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/datatab.h b/src/datatab.h index 27d36936..8754c12d 100644 --- a/src/datatab.h +++ b/src/datatab.h @@ -8,6 +8,7 @@ namespace Ui { class MainWindow; } class OrganizerCore; class Settings; class PluginContainer; +class FileTreeModel; namespace MOShared { class DirectoryEntry; } @@ -36,7 +37,7 @@ private: struct DataTabUi { QPushButton* refresh; - QTreeWidget* tree; + QTreeView* tree; QCheckBox* conflicts; QCheckBox* archives; }; @@ -45,6 +46,7 @@ private: PluginContainer& m_pluginContainer; bool m_archives; QWidget* m_parent; + FileTreeModel* m_model; DataTabUi ui; std::vector<QTreeWidgetItem*> m_removeLater; |
