1
Fork 0
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:
Andreas Kling 2019-09-21 18:17:23 +02:00
parent f4b51a63ec
commit f57cc5873c
7 changed files with 23 additions and 16 deletions

View file

@ -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);
};