Warning, /pim/merkuro/src/contacts/qml/MenuBar.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2021 Claudio Cambra <claudio.cambra@gmail.com>
0002 // SPDX-FileCopyrightText: 2022 Carl Schwan <carlschwan@kde.org>
0003 // SPDX-License-Identifier: GPL-3.0-or-later
0004 
0005 import QtQuick 2.15
0006 import QtQuick.Controls 2.12 as QQC2
0007 import org.kde.merkuro.components 1.0
0008 import org.kde.merkuro.contact 1.0
0009 
0010 QQC2.MenuBar {
0011     FileMenu {}
0012 
0013     EditMenu {}
0014 
0015     QQC2.Menu {
0016         title: i18nc("@action:menu", "View")
0017 
0018         KActionFromAction {
0019             action: ContactApplication.action('open_kcommand_bar')
0020         }
0021 
0022         KActionFromAction {
0023             action: ContactApplication.action("refresh_all")
0024         }
0025     }
0026 
0027     QQC2.Menu {
0028         title: i18nc("@action:menu", "Create")
0029 
0030         KActionFromAction {
0031             action: ContactApplication.action("create_contact")
0032         }
0033         KActionFromAction {
0034             action: ContactApplication.action("create_contact_group")
0035         }
0036     }
0037 
0038     WindowMenu {}
0039 
0040     SettingsMenu {
0041         application: ContactApplication
0042     }
0043 
0044     HelpMenu {
0045         application: ContactApplication
0046     }
0047 }