X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FDockView.h;h=aef0c8281ac0cb2f86a8d7a2daff77f96134f7d4;hb=29a8097c3c14aad871c7e396a59542fe47e39ea1;hp=897fb392ffb3083566d52eb579a6ab66b92948a4;hpb=efc0877f8fd33ad9369d06e5b638037c8d6a1b24;p=lyx.git diff --git a/src/frontends/qt/DockView.h b/src/frontends/qt/DockView.h index 897fb392ff..aef0c8281a 100644 --- a/src/frontends/qt/DockView.h +++ b/src/frontends/qt/DockView.h @@ -13,10 +13,8 @@ #define DOCK_VIEW_H #include "Dialog.h" -#include "GuiView.h" #include -#include namespace lyx { namespace frontend { @@ -35,10 +33,9 @@ public: DockView(GuiView & parent, ///< the main window where to dock. QString const & name, ///< dialog identifier. QString const & title, ///< dialog title. - Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of - ///the dock (and - ///also drawer) - Qt::WindowFlags flags = 0); + Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock + /// (and also drawer) + Qt::WindowFlags flags = {}); virtual ~DockView() {} @@ -48,7 +45,7 @@ public: /// We don't want to restore geometry session for dock widgets. void restoreSession() override {} - void keyPressEvent(QKeyEvent * ev); + void keyPressEvent(QKeyEvent * ev) override; /// Dialog inherited methods //@{