mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
UI/Qt: Clean up some manual forward declarations
Several are unused, and there's certainly no need for the `using` declaration.
This commit is contained in:
parent
171937cc72
commit
95dca6c787
Notes:
github-actions[bot]
2025-09-11 18:25:36 +00:00
Author: https://github.com/trflynn89
Commit: 95dca6c787
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6062
3 changed files with 2 additions and 12 deletions
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
namespace Ladybird {
|
namespace Ladybird {
|
||||||
|
|
||||||
|
class Tab;
|
||||||
class WebContentView;
|
class WebContentView;
|
||||||
|
|
||||||
class BrowserWindow : public QMainWindow {
|
class BrowserWindow : public QMainWindow {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
namespace Ladybird {
|
namespace Ladybird {
|
||||||
|
|
||||||
|
class Tab;
|
||||||
class WebContentView;
|
class WebContentView;
|
||||||
|
|
||||||
class FindInPageWidget final : public QWidget {
|
class FindInPageWidget final : public QWidget {
|
||||||
|
|
|
@ -27,22 +27,10 @@
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
class QKeyEvent;
|
class QKeyEvent;
|
||||||
class QLineEdit;
|
|
||||||
class QSinglePointEvent;
|
class QSinglePointEvent;
|
||||||
class QTextEdit;
|
|
||||||
|
|
||||||
namespace WebView {
|
|
||||||
|
|
||||||
class WebContentClient;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
using WebView::WebContentClient;
|
|
||||||
|
|
||||||
namespace Ladybird {
|
namespace Ladybird {
|
||||||
|
|
||||||
class Tab;
|
|
||||||
|
|
||||||
struct WebContentViewInitialState {
|
struct WebContentViewInitialState {
|
||||||
double maximum_frames_per_second { 60.0 };
|
double maximum_frames_per_second { 60.0 };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue