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
|
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of
|
||||||
///the dock (and
|
///the dock (and
|
||||||
///also drawer)
|
///also drawer)
|
||||||
Qt::WindowFlags flags = 0);
|
Qt::WindowFlags flags = {});
|
||||||
|
|
||||||
virtual ~DockView() {}
|
virtual ~DockView() {}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ public:
|
|||||||
FindAndReplace(
|
FindAndReplace(
|
||||||
GuiView & parent, ///< the main window where to dock.
|
GuiView & parent, ///< the main window where to dock.
|
||||||
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
|
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
|
||||||
Qt::WindowFlags flags = 0);
|
Qt::WindowFlags flags = {});
|
||||||
|
|
||||||
~FindAndReplace();
|
~FindAndReplace();
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ public:
|
|||||||
GuiProgressView(
|
GuiProgressView(
|
||||||
GuiView & parent, ///< the main window where to dock.
|
GuiView & parent, ///< the main window where to dock.
|
||||||
Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
|
Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
|
||||||
Qt::WindowFlags flags = 0);
|
Qt::WindowFlags flags = {});
|
||||||
|
|
||||||
~GuiProgressView();
|
~GuiProgressView();
|
||||||
/// Controller inherited method.
|
/// Controller inherited method.
|
||||||
|
@ -26,7 +26,7 @@ class GuiSetBorder : public QWidget
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = 0);
|
GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = {});
|
||||||
|
|
||||||
// We need tristate for multi-cell selection
|
// We need tristate for multi-cell selection
|
||||||
enum BorderState {
|
enum BorderState {
|
||||||
|
@ -65,7 +65,7 @@ public:
|
|||||||
GuiSpellchecker(
|
GuiSpellchecker(
|
||||||
GuiView & parent, ///< the main window where to dock.
|
GuiView & parent, ///< the main window where to dock.
|
||||||
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
|
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
|
||||||
Qt::WindowFlags flags = 0);
|
Qt::WindowFlags flags = {});
|
||||||
~GuiSpellchecker();
|
~GuiSpellchecker();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -32,7 +32,7 @@ public:
|
|||||||
GuiToc(
|
GuiToc(
|
||||||
GuiView & parent, ///< the main window where to dock.
|
GuiView & parent, ///< the main window where to dock.
|
||||||
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
|
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);
|
bool initialiseParams(std::string const & data);
|
||||||
|
@ -100,7 +100,7 @@ public:
|
|||||||
GuiViewSource(
|
GuiViewSource(
|
||||||
GuiView & parent, ///< the main window where to dock.
|
GuiView & parent, ///< the main window where to dock.
|
||||||
Qt::DockWidgetArea area = Qt::BottomDockWidgetArea, ///< Position of the dock (and also drawer)
|
Qt::DockWidgetArea area = Qt::BottomDockWidgetArea, ///< Position of the dock (and also drawer)
|
||||||
Qt::WindowFlags flags = 0);
|
Qt::WindowFlags flags = {});
|
||||||
|
|
||||||
/// Controller inherited method.
|
/// Controller inherited method.
|
||||||
///@{
|
///@{
|
||||||
|
Loading…
Reference in New Issue
Block a user