mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53: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.
31 lines
809 B
QML
31 lines
809 B
QML
/*
|
|
* SPDX-FileCopyrightText: 2020 Marco Martin <mart@kde.org>
|
|
* SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick 2.12
|
|
import QtQuick.Window 2.2
|
|
|
|
pragma Singleton
|
|
|
|
/**
|
|
* Provides access to the homescreen plasmoid containment within the shell.
|
|
*/
|
|
QtObject {
|
|
id: delegate
|
|
|
|
signal openHomeScreen()
|
|
signal resetHomeScreenPosition()
|
|
signal snapHomeScreenPosition()
|
|
signal requestRelativeScroll(point pos)
|
|
|
|
signal openAppLaunchAnimation(string splashIcon, string title, real x, real y, real sourceIconSize)
|
|
signal closeAppLaunchAnimation()
|
|
|
|
property var taskSwitcher
|
|
property QtObject homeScreenWindow
|
|
property bool homeScreenVisible: true
|
|
property bool taskSwitcherVisible: false
|
|
}
|