mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 18:15:07 +00:00
LibGUI: Put all classes in the GUI namespace and remove the leading G
This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
parent
2d39da5405
commit
c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions
|
@ -45,12 +45,12 @@ DevicesModel::~DevicesModel()
|
|||
{
|
||||
}
|
||||
|
||||
int DevicesModel::row_count(const GModelIndex&) const
|
||||
int DevicesModel::row_count(const GUI::ModelIndex&) const
|
||||
{
|
||||
return m_devices.size();
|
||||
}
|
||||
|
||||
int DevicesModel::column_count(const GModelIndex&) const
|
||||
int DevicesModel::column_count(const GUI::ModelIndex&) const
|
||||
{
|
||||
return Column::__Count;
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ String DevicesModel::column_name(int column) const
|
|||
}
|
||||
}
|
||||
|
||||
GModel::ColumnMetadata DevicesModel::column_metadata(int column) const
|
||||
GUI::Model::ColumnMetadata DevicesModel::column_metadata(int column) const
|
||||
{
|
||||
switch (column) {
|
||||
case Column::Device:
|
||||
|
@ -91,7 +91,7 @@ GModel::ColumnMetadata DevicesModel::column_metadata(int column) const
|
|||
}
|
||||
}
|
||||
|
||||
GVariant DevicesModel::data(const GModelIndex& index, Role) const
|
||||
GUI::Variant DevicesModel::data(const GUI::ModelIndex& index, Role) const
|
||||
{
|
||||
ASSERT(is_valid(index));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue