remove versions from notificationmanager import

This commit is contained in:
Yari Polla 2023-10-20 22:01:56 +02:00
parent ae0dc228a8
commit 0070848cfb
7 changed files with 7 additions and 12 deletions

View file

@ -10,7 +10,7 @@ import QtQuick.Layouts 1.1
import org.kde.kirigami as Kirigami import org.kde.kirigami as Kirigami
import org.kde.plasma.private.mobileshell 1.0 as MobileShell import org.kde.plasma.private.mobileshell 1.0 as MobileShell
import org.kde.notificationmanager 1.0 as NotificationManager import org.kde.notificationmanager as NotificationManager
Item { Item {
id: root id: root

View file

@ -7,7 +7,7 @@ import QtQuick.Controls
import QtQuick.Layouts import QtQuick.Layouts
import org.kde.plasma.core as PlasmaCore import org.kde.plasma.core as PlasmaCore
import org.kde.notificationmanager 1.1 as Notifications import org.kde.notificationmanager as Notifications
import org.kde.kirigami 2.12 as Kirigami import org.kde.kirigami 2.12 as Kirigami

View file

@ -7,7 +7,7 @@ import QtQuick.Effects
import org.kde.kirigami 2.20 as Kirigami import org.kde.kirigami 2.20 as Kirigami
import org.kde.plasma.workspace.keyboardlayout 1.0 import org.kde.plasma.workspace.keyboardlayout 1.0
import org.kde.notificationmanager 1.1 as Notifications import org.kde.notificationmanager as Notifications
import org.kde.plasma.private.mobileshell 1.0 as MobileShell import org.kde.plasma.private.mobileshell 1.0 as MobileShell
Loader { Loader {

View file

@ -7,7 +7,7 @@ import QtQuick.Effects
import org.kde.kirigami 2.20 as Kirigami import org.kde.kirigami 2.20 as Kirigami
import org.kde.plasma.workspace.keyboardlayout 1.0 import org.kde.plasma.workspace.keyboardlayout 1.0
import org.kde.notificationmanager 1.1 as Notifications import org.kde.notificationmanager as Notifications
import org.kde.plasma.private.mobileshell 1.0 as MobileShell import org.kde.plasma.private.mobileshell 1.0 as MobileShell
Loader { Loader {

View file

@ -4,11 +4,10 @@
import QtQuick import QtQuick
import QtQuick.Layouts import QtQuick.Layouts
import org.kde.notificationmanager 1.1 as Notifications
import org.kde.plasma.private.mobileshell 1.0 as MobileShell import org.kde.plasma.private.mobileshell 1.0 as MobileShell
import org.kde.kirigami as Kirigami import org.kde.kirigami as Kirigami
import org.kde.notificationmanager 1.0 as NotificationManager import org.kde.notificationmanager as NotificationManager
Loader { Loader {
id: root id: root

View file

@ -11,9 +11,8 @@ import QtQuick.Controls 2.15
import org.kde.kirigami 2.20 as Kirigami import org.kde.kirigami 2.20 as Kirigami
import org.kde.plasma.components 3.0 as PC3 import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.private.mobileshell 1.0 as MobileShell import org.kde.plasma.private.mobileshell 1.0 as MobileShell
import org.kde.notificationmanager 1.1 as Notifications
import org.kde.notificationmanager 1.0 as NotificationManager import org.kde.notificationmanager as NotificationManager
// This is a test app to conveniently test the Quick Settings that are available // This is a test app to conveniently test the Quick Settings that are available
// on the system without having to load a full Plasma Mobile shell. // on the system without having to load a full Plasma Mobile shell.
@ -67,7 +66,7 @@ ApplicationWindow {
notificationSettings: NotificationManager.Settings {} notificationSettings: NotificationManager.Settings {}
notificationModelType: MobileShell.NotificationsModelType.WatchedNotificationsModel notificationModelType: MobileShell.NotificationsModelType.WatchedNotificationsModel
notificationModel: Notifications.WatchedNotificationsModel {} notificationModel: NotificationManager.WatchedNotificationsModel {}
} }
PC3.Label { PC3.Label {

View file

@ -6,9 +6,6 @@ import QtQuick.Controls 2.15
import org.kde.plasma.components 3.0 as PC3 import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.private.mobileshell 1.0 as MobileShell import org.kde.plasma.private.mobileshell 1.0 as MobileShell
import org.kde.notificationmanager 1.1 as Notifications
import org.kde.notificationmanager 1.0 as NotificationManager
import "../lookandfeel/contents/lockscreen" as LockScreen import "../lookandfeel/contents/lockscreen" as LockScreen