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