mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 10:18:51 +00:00
We can't grab at the ProcessTableModel directly anymore since we have a sorting proxy model in the middle now.
24 lines
498 B
C++
24 lines
498 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GTableView.h>
|
|
#include <AK/Function.h>
|
|
#include <unistd.h>
|
|
|
|
class ProcessTableModel;
|
|
|
|
class ProcessTableView final : public GTableView {
|
|
public:
|
|
explicit ProcessTableView(GWidget* parent);
|
|
virtual ~ProcessTableView() override;
|
|
|
|
pid_t selected_pid() const;
|
|
|
|
Function<void(String)> on_status_message;
|
|
|
|
protected:
|
|
virtual void model_notification(const GModelNotification&) override;
|
|
|
|
private:
|
|
virtual void timer_event(GTimerEvent&) override;
|
|
};
|
|
|