mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Move from a C++ library + QML plugin to a QML plugin only for simplicity, since the homescreen switching architecture will be done from Plasma, and so use of the shell library only needs to be from QML.
22 lines
454 B
QML
22 lines
454 B
QML
/*
|
|
* SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick 2.12
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
|
|
|
pragma Singleton
|
|
|
|
/**
|
|
* Provides access to the taskpanel plasmoid containment within the shell.
|
|
* Properties are updated by the taskpanel containment.
|
|
*/
|
|
QtObject {
|
|
id: root
|
|
property bool isPortrait
|
|
property real panelHeight
|
|
property real panelWidth
|
|
}
|
|
|