mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 14:24:45 +00:00
PipeWireThumbnail: Port to KPipeWire
It's the same components just in a different place. No need to do much porting.
This commit is contained in:
parent
e2adb7ae86
commit
b0e2065a63
3 changed files with 6 additions and 4 deletions
|
|
@ -34,6 +34,7 @@ include(ECMMarkNonGuiExecutable)
|
||||||
include(ECMGenerateHeaders)
|
include(ECMGenerateHeaders)
|
||||||
include(ECMQMLModules)
|
include(ECMQMLModules)
|
||||||
include(ECMGenerateQmlTypes)
|
include(ECMGenerateQmlTypes)
|
||||||
|
include(ECMFindQmlModule)
|
||||||
include(GenerateExportHeader)
|
include(GenerateExportHeader)
|
||||||
include(KDEGitCommitHooks)
|
include(KDEGitCommitHooks)
|
||||||
include(KDEClangFormat)
|
include(KDEClangFormat)
|
||||||
|
|
@ -74,6 +75,8 @@ set_package_properties(KWinDBusInterface PROPERTIES DESCRIPTION "KWin DBus inter
|
||||||
|
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
|
|
||||||
|
ecm_find_qmlmodule(org.kde.pipewire 0.1)
|
||||||
|
|
||||||
plasma_install_package(look-and-feel org.kde.plasma.phone look-and-feel)
|
plasma_install_package(look-and-feel org.kde.plasma.phone look-and-feel)
|
||||||
plasma_install_package(shell org.kde.plasma.phoneshell shells)
|
plasma_install_package(shell org.kde.plasma.phoneshell shells)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
import QtQuick.Controls 2.2 as QQC2
|
import QtQuick.Controls 2.2 as QQC2
|
||||||
|
|
||||||
import org.kde.taskmanager 0.1 as TaskManager
|
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
import org.kde.plasma.components 3.0 as PlasmaComponents
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
||||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,9 @@ import QtQuick 2.0
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
|
|
||||||
import org.kde.taskmanager 0.1 as TaskManager
|
import org.kde.pipewire 0.1 as PipeWire
|
||||||
|
|
||||||
TaskManager.PipeWireSourceItem {
|
PipeWire.PipeWireSourceItem {
|
||||||
id: root
|
id: root
|
||||||
visible: nodeId > 0
|
visible: nodeId > 0
|
||||||
nodeId: waylandItem.nodeId
|
nodeId: waylandItem.nodeId
|
||||||
|
|
@ -23,7 +23,7 @@ TaskManager.PipeWireSourceItem {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskManager.ScreencastingRequest {
|
PipeWire.ScreencastingRequest {
|
||||||
id: waylandItem
|
id: waylandItem
|
||||||
uuid: ""
|
uuid: ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue