mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Backport another straightforward deprecation fix
This commit is contained in:
parent
67b829bf09
commit
007a49a132
@ -38,7 +38,7 @@ public:
|
||||
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of
|
||||
///the dock (and
|
||||
///also drawer)
|
||||
Qt::WindowFlags flags = 0);
|
||||
Qt::WindowFlags flags = {});
|
||||
|
||||
virtual ~DockView() {}
|
||||
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
FindAndReplace(
|
||||
GuiView & parent, ///< the main window where to dock.
|
||||
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
|
||||
Qt::WindowFlags flags = 0);
|
||||
Qt::WindowFlags flags = {});
|
||||
|
||||
~FindAndReplace();
|
||||
|
||||
|
@ -47,7 +47,7 @@ public:
|
||||
GuiProgressView(
|
||||
GuiView & parent, ///< the main window where to dock.
|
||||
Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
|
||||
Qt::WindowFlags flags = 0);
|
||||
Qt::WindowFlags flags = {});
|
||||
|
||||
~GuiProgressView();
|
||||
/// Controller inherited method.
|
||||
|
@ -26,7 +26,7 @@ class GuiSetBorder : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = 0);
|
||||
GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = {});
|
||||
|
||||
// We need tristate for multi-cell selection
|
||||
enum BorderState {
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
GuiSpellchecker(
|
||||
GuiView & parent, ///< the main window where to dock.
|
||||
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
|
||||
Qt::WindowFlags flags = 0);
|
||||
Qt::WindowFlags flags = {});
|
||||
~GuiSpellchecker();
|
||||
|
||||
private:
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
GuiToc(
|
||||
GuiView & parent, ///< the main window where to dock.
|
||||
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
|
||||
Qt::WindowFlags flags = 0);
|
||||
Qt::WindowFlags flags = {});
|
||||
|
||||
///
|
||||
bool initialiseParams(std::string const & data);
|
||||
|
@ -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.
|
||||
///@{
|
||||
|
Loading…
Reference in New Issue
Block a user