[LyX/master] Move GuiView.h from DockView.h

Pavel Sanda sanda at lyx.org
Wed Oct 14 12:01:24 UTC 2020


commit 61824e057e95874fee4741f7498ea485b1f16603
Author: Pavel Sanda <sanda at lyx.org>
Date:   Wed Oct 14 14:28:47 2020 +0200

    Move GuiView.h from DockView.h
---
 src/frontends/qt/DockView.cpp        |    1 +
 src/frontends/qt/DockView.h          |    1 -
 src/frontends/qt/GuiSpellchecker.cpp |    1 +
 src/frontends/qt/GuiToc.h            |    5 +++++
 src/frontends/qt/GuiViewSource.cpp   |    1 +
 5 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/DockView.cpp b/src/frontends/qt/DockView.cpp
index de9a51c..b0f0be4 100644
--- a/src/frontends/qt/DockView.cpp
+++ b/src/frontends/qt/DockView.cpp
@@ -12,6 +12,7 @@
 #include <config.h>
 
 #include "DockView.h"
+#include "GuiView.h"
 
 
 namespace lyx {
diff --git a/src/frontends/qt/DockView.h b/src/frontends/qt/DockView.h
index 60a7afe..95639c4 100644
--- a/src/frontends/qt/DockView.h
+++ b/src/frontends/qt/DockView.h
@@ -13,7 +13,6 @@
 #define DOCK_VIEW_H
 
 #include "Dialog.h"
-#include "GuiView.h"
 
 #include <QDockWidget>
 #include <QKeyEvent>
diff --git a/src/frontends/qt/GuiSpellchecker.cpp b/src/frontends/qt/GuiSpellchecker.cpp
index 16df378..ec3bbf2 100644
--- a/src/frontends/qt/GuiSpellchecker.cpp
+++ b/src/frontends/qt/GuiSpellchecker.cpp
@@ -27,6 +27,7 @@
 #include "Text.h"
 #include "CutAndPaste.h"
 #include "FuncRequest.h"
+#include "GuiView.h"
 #include "Language.h"
 #include "LyX.h"
 #include "LyXRC.h"
diff --git a/src/frontends/qt/GuiToc.h b/src/frontends/qt/GuiToc.h
index 7add981..92f64b5 100644
--- a/src/frontends/qt/GuiToc.h
+++ b/src/frontends/qt/GuiToc.h
@@ -18,6 +18,11 @@
 #include "DockView.h"
 
 namespace lyx {
+
+class Cursor;
+class DispatchResult;
+class FuncStatus;
+
 namespace frontend {
 
 class TocWidget;
diff --git a/src/frontends/qt/GuiViewSource.cpp b/src/frontends/qt/GuiViewSource.cpp
index 04c6bf5..b6a6cfc 100644
--- a/src/frontends/qt/GuiViewSource.cpp
+++ b/src/frontends/qt/GuiViewSource.cpp
@@ -21,6 +21,7 @@
 #include "BufferView.h"
 #include "Cursor.h"
 #include "Format.h"
+#include "GuiView.h"
 #include "FuncRequest.h"
 #include "LyX.h"
 #include "Paragraph.h"


More information about the lyx-cvs mailing list