mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:35:09 +00:00
ProcessManager: Move ProcessTableModel class to its own files.
This commit is contained in:
parent
a202ed88f6
commit
6e571b66f1
5 changed files with 204 additions and 163 deletions
|
@ -17,4 +17,9 @@ public:
|
|||
virtual void set_selected_index(GModelIndex) { }
|
||||
virtual GModelIndex selected_index() const { return GModelIndex(); }
|
||||
virtual void update() = 0;
|
||||
|
||||
bool is_valid(GModelIndex index) const
|
||||
{
|
||||
return index.row() >= 0 && index.row() < row_count() && index.column() >= 0 && index.column() < column_count();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue