mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
6076deae1d
The ToDoEntries and ToDoEntriesWidget classes now have methods for clearing the entries, before entries would stay permanently, even after switching to a new project.
30 lines
493 B
C++
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;
|
|
};
|
|
|
|
}
|