ladybird/Userland/DevTools/HackStudio/ToDoEntriesWidget.h
Lennon Donaghy 6076deae1d HackStudio: Clear ToDo entries upon opening new project
The ToDoEntries and ToDoEntriesWidget classes now have methods for
clearing the entries, before entries would stay permanently, even after
switching to a new project.
2021-08-22 10:30:06 +02:00

30 lines
493 B
C++

/*
* Copyright (c) 2021, Federico Guerinoni <guerinoni.federico@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/TableView.h>
#include <LibGUI/Widget.h>
namespace HackStudio {
class ToDoEntriesWidget final : public GUI::Widget {
C_OBJECT(ToDoEntriesWidget)
public:
virtual ~ToDoEntriesWidget() override { }
void refresh();
void clear();
private:
explicit ToDoEntriesWidget();
RefPtr<GUI::TableView> m_result_view;
};
}