mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 17:25:07 +00:00
SystemMonitor: Remove all remaining naked "new" usage
This commit is contained in:
parent
f4b51a63ec
commit
f57cc5873c
7 changed files with 23 additions and 16 deletions
|
@ -8,8 +8,8 @@ class GraphWidget;
|
|||
class ProcessModel;
|
||||
|
||||
class ProcessTableView final : public GTableView {
|
||||
C_OBJECT(ProcessTableView)
|
||||
public:
|
||||
ProcessTableView(GraphWidget&, GWidget* parent);
|
||||
virtual ~ProcessTableView() override;
|
||||
|
||||
pid_t selected_pid() const;
|
||||
|
@ -17,4 +17,7 @@ public:
|
|||
void refresh();
|
||||
|
||||
Function<void(pid_t)> on_process_selected;
|
||||
|
||||
private:
|
||||
ProcessTableView(GraphWidget&, GWidget* parent);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue