]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiViewSource.h
Hack to display section symbol
[lyx.git] / src / frontends / qt / GuiViewSource.h
index 47221c93f654565d1d30eb4b86e08cca97ab83c7..f75978d34ee51492dfae1c29300ffd414b4bbf32 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <QDockWidget>
 #include <QString>
-#include <QTimer>
 
 
 class QTextDocument;
@@ -29,6 +28,7 @@ class QTextDocument;
 
 namespace lyx {
 
+class BufferView;
 class TexRow;
 
 
@@ -55,7 +55,7 @@ public:
 
 protected:
        ///
-       void resizeEvent (QResizeEvent * event);
+       void resizeEvent (QResizeEvent * event) override;
 
 public Q_SLOTS:
        ///
@@ -100,7 +100,7 @@ public:
        GuiViewSource(
                GuiView & parent, ///< the main window where to dock.
                Qt::DockWidgetArea area = Qt::BottomDockWidgetArea, ///< Position of the dock (and also drawer)
-               Qt::WindowFlags flags = 0);
+               Qt::WindowFlags flags = {});
 
        /// Controller inherited method.
        ///@{