From de9d8cc0ba19ab7232f1335394465827aae44c02 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 22 May 2013 19:58:58 -0700 Subject: [PATCH] Header cleanup cont. --- src/frontends/qt4/GuiTexinfo.h | 1 - src/frontends/qt4/GuiThesaurus.h | 2 -- src/frontends/qt4/GuiToc.h | 4 ---- src/frontends/qt4/GuiToolbar.cpp | 1 + src/frontends/qt4/GuiToolbar.h | 2 -- src/frontends/qt4/GuiView.cpp | 1 + src/frontends/qt4/GuiViewSource.h | 2 -- src/frontends/qt4/GuiWorkArea.h | 2 -- src/frontends/qt4/GuiWorkArea_Private.h | 2 -- src/frontends/qt4/InsetParamsDialog.h | 2 -- src/frontends/qt4/TocModel.cpp | 3 +++ src/frontends/qt4/TocModel.h | 3 --- 12 files changed, 5 insertions(+), 20 deletions(-) diff --git a/src/frontends/qt4/GuiTexinfo.h b/src/frontends/qt4/GuiTexinfo.h index 8d9116a1dc..f1fd6cf280 100644 --- a/src/frontends/qt4/GuiTexinfo.h +++ b/src/frontends/qt4/GuiTexinfo.h @@ -15,7 +15,6 @@ #include "GuiDialog.h" #include "ui_TexinfoUi.h" -#include "qt_helpers.h" namespace lyx { diff --git a/src/frontends/qt4/GuiThesaurus.h b/src/frontends/qt4/GuiThesaurus.h index 3cc45f0993..5fab7f6978 100644 --- a/src/frontends/qt4/GuiThesaurus.h +++ b/src/frontends/qt4/GuiThesaurus.h @@ -16,8 +16,6 @@ #include "Thesaurus.h" #include "ui_ThesaurusUi.h" -#include "WordLangTuple.h" - class QTreeWidgetItem; namespace lyx { diff --git a/src/frontends/qt4/GuiToc.h b/src/frontends/qt4/GuiToc.h index 1e73832cf4..6c7db9dae7 100644 --- a/src/frontends/qt4/GuiToc.h +++ b/src/frontends/qt4/GuiToc.h @@ -17,10 +17,6 @@ #include "DockView.h" -#include "insets/InsetCommandParams.h" - -#include "TocBackend.h" - namespace lyx { namespace frontend { diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 507e847ad3..a80accdddc 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -32,6 +32,7 @@ #include "KeyMap.h" #include "LyX.h" #include "LyXRC.h" +#include "Session.h" #include "support/debug.h" #include "support/gettext.h" diff --git a/src/frontends/qt4/GuiToolbar.h b/src/frontends/qt4/GuiToolbar.h index 394b9d8a34..37ebd8c294 100644 --- a/src/frontends/qt4/GuiToolbar.h +++ b/src/frontends/qt4/GuiToolbar.h @@ -16,8 +16,6 @@ #ifndef GUITOOLBAR_H #define GUITOOLBAR_H -#include "Session.h" - #include #include #include diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index f3cd9a58b5..993e830036 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -59,6 +59,7 @@ #include "LyXVC.h" #include "Paragraph.h" #include "SpellChecker.h" +#include "Session.h" #include "TexRow.h" #include "TextClass.h" #include "Text.h" diff --git a/src/frontends/qt4/GuiViewSource.h b/src/frontends/qt4/GuiViewSource.h index 5e19fe2520..c60026945a 100644 --- a/src/frontends/qt4/GuiViewSource.h +++ b/src/frontends/qt4/GuiViewSource.h @@ -17,8 +17,6 @@ #include "ui_ViewSourceUi.h" #include "DockView.h" -#include "GuiView.h" -#include "qt_helpers.h" #include #include diff --git a/src/frontends/qt4/GuiWorkArea.h b/src/frontends/qt4/GuiWorkArea.h index f9727f9507..e5c488f6a8 100644 --- a/src/frontends/qt4/GuiWorkArea.h +++ b/src/frontends/qt4/GuiWorkArea.h @@ -15,8 +15,6 @@ #include "frontends/WorkArea.h" -#include "support/docstring.h" - #include #include #include diff --git a/src/frontends/qt4/GuiWorkArea_Private.h b/src/frontends/qt4/GuiWorkArea_Private.h index 8b34ede1ad..6d180dd175 100644 --- a/src/frontends/qt4/GuiWorkArea_Private.h +++ b/src/frontends/qt4/GuiWorkArea_Private.h @@ -13,10 +13,8 @@ #define WORKAREA_PRIVATE_H #include "FuncRequest.h" -#include "qt_helpers.h" #include "LyXRC.h" -#include "support/docstring.h" #include "support/Timeout.h" #include diff --git a/src/frontends/qt4/InsetParamsDialog.h b/src/frontends/qt4/InsetParamsDialog.h index 571aa50781..ddb912674d 100644 --- a/src/frontends/qt4/InsetParamsDialog.h +++ b/src/frontends/qt4/InsetParamsDialog.h @@ -15,8 +15,6 @@ #include "DialogView.h" #include "ui_InsetParamsUi.h" -#include "qt_i18n.h" - namespace lyx { class Inset; diff --git a/src/frontends/qt4/TocModel.cpp b/src/frontends/qt4/TocModel.cpp index 15d8bb73ad..cd1189b49b 100644 --- a/src/frontends/qt4/TocModel.cpp +++ b/src/frontends/qt4/TocModel.cpp @@ -19,12 +19,15 @@ #include "DocIterator.h" #include "FuncRequest.h" #include "LyX.h" +#include "qt_helpers.h" #include "TocBackend.h" #include "support/debug.h" #include "support/lassert.h" #include +#include + #include diff --git a/src/frontends/qt4/TocModel.h b/src/frontends/qt4/TocModel.h index 77ada21f4b..83e957b4a9 100644 --- a/src/frontends/qt4/TocModel.h +++ b/src/frontends/qt4/TocModel.h @@ -12,11 +12,8 @@ #ifndef TOCMODEL_H #define TOCMODEL_H -#include "qt_helpers.h" - #include #include -#include namespace lyx {