refactor(browser,sidebar,ui): cleanup includes

This commit is contained in:
Oleg Shparber 2019-11-24 16:03:42 -05:00
parent ca45e0a8f9
commit 86f5350002
8 changed files with 4 additions and 16 deletions

View File

@ -26,9 +26,7 @@
#include "searchtoolbar.h"
#include "webview.h"
#include <QCoreApplication>
#include <QKeyEvent>
#include <QStyle>
#include <QVBoxLayout>
#include <QWebFrame>
#include <QWebHistory>

View File

@ -35,7 +35,9 @@
#include <QMenu>
#include <QMessageBox>
#include <QPushButton>
#include <QVector>
#include <QWheelEvent>
#include <QWebFrame>
using namespace Zeal::Browser;

View File

@ -24,8 +24,6 @@
#ifndef ZEAL_BROWSER_WEBVIEW_H
#define ZEAL_BROWSER_WEBVIEW_H
#include <QVector>
#include <QWebFrame>
#include <QWebView>
namespace Zeal {

View File

@ -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;

View File

@ -23,7 +23,7 @@
#ifndef ZEAL_SIDEBAR_VIEWPROVIDER_H
#define ZEAL_SIDEBAR_VIEWPROVIDER_H
#include <QWidget>
#include <QObject>
namespace Zeal {
namespace Sidebar {

View File

@ -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;

View File

@ -35,7 +35,6 @@ namespace Zeal {
namespace Browser {
class WebBridge;
class WebControl;
} // namespace Browser
namespace Core {

View File

@ -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;