mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-22 21:53:03 +03:00
refactor(browser,sidebar,ui): cleanup includes
This commit is contained in:
parent
ca45e0a8f9
commit
86f5350002
@ -26,9 +26,7 @@
|
||||
#include "searchtoolbar.h"
|
||||
#include "webview.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QKeyEvent>
|
||||
#include <QStyle>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWebFrame>
|
||||
#include <QWebHistory>
|
||||
|
@ -35,7 +35,9 @@
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
#include <QVector>
|
||||
#include <QWheelEvent>
|
||||
#include <QWebFrame>
|
||||
|
||||
using namespace Zeal::Browser;
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
#ifndef ZEAL_BROWSER_WEBVIEW_H
|
||||
#define ZEAL_BROWSER_WEBVIEW_H
|
||||
|
||||
#include <QVector>
|
||||
#include <QWebFrame>
|
||||
#include <QWebView>
|
||||
|
||||
namespace Zeal {
|
||||
|
@ -28,12 +28,9 @@
|
||||
#include <core/settings.h>
|
||||
#include <ui/widgets/layouthelper.h>
|
||||
|
||||
#include <QLabel>
|
||||
#include <QSplitter>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
using namespace Zeal;
|
||||
using namespace Zeal::Sidebar;
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#ifndef ZEAL_SIDEBAR_VIEWPROVIDER_H
|
||||
#define ZEAL_SIDEBAR_VIEWPROVIDER_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QObject>
|
||||
|
||||
namespace Zeal {
|
||||
namespace Sidebar {
|
||||
|
@ -36,10 +36,6 @@
|
||||
#include <browser/webcontrol.h>
|
||||
#include <core/application.h>
|
||||
#include <core/settings.h>
|
||||
#include <registry/docset.h>
|
||||
#include <registry/docsetregistry.h>
|
||||
#include <registry/searchmodel.h>
|
||||
#include <registry/searchquery.h>
|
||||
#include <sidebar/container.h>
|
||||
#include <sidebar/proxyview.h>
|
||||
|
||||
@ -52,7 +48,6 @@
|
||||
#include <QShortcut>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QTabBar>
|
||||
#include <QWebHistory>
|
||||
#include <QWebSettings>
|
||||
|
||||
using namespace Zeal;
|
||||
|
@ -35,7 +35,6 @@ namespace Zeal {
|
||||
|
||||
namespace Browser {
|
||||
class WebBridge;
|
||||
class WebControl;
|
||||
} // namespace Browser
|
||||
|
||||
namespace Core {
|
||||
|
@ -26,10 +26,9 @@
|
||||
#include <registry/searchquery.h>
|
||||
|
||||
#include <QCompleter>
|
||||
#include <QCoreApplication>
|
||||
#include <QKeyEvent>
|
||||
#include <QLabel>
|
||||
#include <QTreeView>
|
||||
#include <QStyle>
|
||||
|
||||
using namespace Zeal;
|
||||
using namespace Zeal::WidgetUi;
|
||||
|
Loading…
Reference in New Issue
Block a user