2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2012-02-19 14:47:59 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2012 Martin Gräßlin <mgraesslin@kde.org>
|
2012-02-19 14:47:59 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2013-11-07 09:35:26 +00:00
|
|
|
import QtQuick 2.0;
|
2012-02-19 14:47:59 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: root
|
2012-02-25 10:31:59 +00:00
|
|
|
|
2013-03-21 11:09:08 +00:00
|
|
|
Loader {
|
|
|
|
id: mainItemLoader
|
2012-02-19 14:47:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Connections {
|
|
|
|
target: workspace
|
2020-11-11 16:44:38 +00:00
|
|
|
function onCurrentDesktopChanged() {
|
2013-03-21 11:09:08 +00:00
|
|
|
if (!mainItemLoader.item) {
|
|
|
|
mainItemLoader.source = "osd.qml";
|
2012-02-19 14:47:59 +00:00
|
|
|
}
|
2013-02-13 15:04:13 +00:00
|
|
|
}
|
2012-02-25 10:31:59 +00:00
|
|
|
}
|
2012-02-19 14:47:59 +00:00
|
|
|
}
|