1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:34:58 +00:00
serenity/Userland/Applications/Browser/History/HistoryWidget.h
Ben Wiederhake b83cb09db1 Everywhere: Fix badly-formatted includes
In 7c5e30daaa, the focus was "only" on
Userland/Libraries/, whereas this commit cleans up the remaining
headers in the repo, and any new badly-formatted include.
2023-01-02 11:06:15 -05:00

35 lines
728 B
C++

/*
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "../History.h"
#include "HistoryModel.h"
#include <LibGUI/FilteringProxyModel.h>
#include <LibGUI/TextBox.h>
#include <LibGUI/Widget.h>
namespace Browser {
class HistoryWidget final : public GUI::Widget {
C_OBJECT(HistoryWidget);
public:
virtual ~HistoryWidget() override = default;
void set_history_entries(Vector<History::URLTitlePair> entries);
void clear_history_entries();
private:
HistoryWidget();
RefPtr<GUI::TableView> m_table_view;
RefPtr<GUI::TextBox> m_textbox;
RefPtr<HistoryModel> m_model;
RefPtr<GUI::FilteringProxyModel> m_filtering_model;
};
}