1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qquicklabsplatformmenuseparator_p.h"
5
6QT_BEGIN_NAMESPACE
7
8/*!
9 \qmltype MenuSeparator
10 \inherits MenuItem
11//! \instantiates QQuickLabsPlatformMenuSeparator
12 \inqmlmodule Qt.labs.platform
13 \since 5.8
14 \brief A native menu separator.
15
16 The MenuSeparator type is provided for convenience. It is a MenuItem
17 that has the \l {MenuItem::}{separator} property set to \c true by default.
18
19 \image qtlabsplatform-menubar.png
20
21 \labs
22
23 \sa Menu, MenuItem
24*/
25
26QQuickLabsPlatformMenuSeparator::QQuickLabsPlatformMenuSeparator(QObject *parent)
27 : QQuickLabsPlatformMenuItem(parent)
28{
29 setSeparator(true);
30}
31
32QT_END_NAMESPACE
33
34#include "moc_qquicklabsplatformmenuseparator_p.cpp"
35

source code of qtdeclarative/src/labs/platform/qquicklabsplatformmenuseparator.cpp