|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
|
+ * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -61,6 +61,9 @@ public:
|
|
|
|
|
|
Variant data(ModelRole = ModelRole::Display) const;
|
|
Variant data(ModelRole = ModelRole::Display) const;
|
|
|
|
|
|
|
|
+ ModelIndex sibling(int row, int column) const;
|
|
|
|
+ ModelIndex sibling_at_column(int column) const;
|
|
|
|
+
|
|
private:
|
|
private:
|
|
ModelIndex(const Model& model, int row, int column, void* internal_data)
|
|
ModelIndex(const Model& model, int row, int column, void* internal_data)
|
|
: m_model(&model)
|
|
: m_model(&model)
|