mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 15:45:08 +00:00
LibGUI: Rename GTableModel => GModel.
This commit is contained in:
parent
9d4b4c2689
commit
994cf10b3e
23 changed files with 105 additions and 105 deletions
|
@ -1,12 +1,12 @@
|
|||
#include "DirectoryTableView.h"
|
||||
#include <LibGUI/GSortingProxyTableModel.h>
|
||||
#include <LibGUI/GSortingProxyModel.h>
|
||||
|
||||
DirectoryTableView::DirectoryTableView(GWidget* parent)
|
||||
: GTableView(parent)
|
||||
, m_model(DirectoryTableModel::create())
|
||||
, m_model(DirectoryModel::create())
|
||||
{
|
||||
set_model(GSortingProxyTableModel::create(m_model.copy_ref()));
|
||||
GTableView::model()->set_key_column_and_sort_order(DirectoryTableModel::Column::Name, GSortOrder::Ascending);
|
||||
set_model(GSortingProxyModel::create(m_model.copy_ref()));
|
||||
GTableView::model()->set_key_column_and_sort_order(DirectoryModel::Column::Name, GSortOrder::Ascending);
|
||||
}
|
||||
|
||||
DirectoryTableView::~DirectoryTableView()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue