1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibGUI: Convert GTreeView to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:06:43 +02:00
parent e7b55037f4
commit efb8f9d538
3 changed files with 4 additions and 3 deletions

View file

@ -5,12 +5,13 @@
class GTreeView : public GAbstractView {
C_OBJECT(GTreeView)
public:
explicit GTreeView(GWidget*);
virtual ~GTreeView() override;
virtual void scroll_into_view(const GModelIndex&, Orientation);
protected:
explicit GTreeView(GWidget*);
virtual void paint_event(GPaintEvent&) override;
virtual void mousedown_event(GMouseEvent&) override;
virtual void doubleclick_event(GMouseEvent&) override;