Libplasma

MobileTextActionsToolBar.qml
1/*
2 SPDX-FileCopyrightText: 2023 Fushan Wen <qydwhotmail@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7pragma Singleton
8
9import QtQuick
10import org.kde.kirigami as Kirigami
11
12Loader {
13 property Item controlRoot: null
14 property bool shouldBeVisible: false
15
16 active: controlRoot ? shouldBeVisible && Kirigami.Settings.tabletMode && (controlRoot.selectedText.length > 0 || controlRoot.canPaste) : false
17 source: "MobileTextActionsToolBarImpl.qml"
18}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.