Reduce dependencies of smsapp to kirigami 2.2
This commit is contained in:
parent
35f0747ff0
commit
bf327e5b8c
3 changed files with 5 additions and 6 deletions
|
@ -23,7 +23,7 @@ import QtQuick.Controls 2.1
|
|||
import QtQuick.Layouts 1.1
|
||||
import org.kde.people 1.0
|
||||
import org.kde.plasma.core 2.0 as Core
|
||||
import org.kde.kirigami 2.3 as Kirigami
|
||||
import org.kde.kirigami 2.2 as Kirigami
|
||||
import org.kde.kdeconnect 1.0
|
||||
|
||||
Kirigami.ScrollablePage
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Layouts 1.1
|
||||
import org.kde.kirigami 2.4 as Kirigami
|
||||
import org.kde.kirigami 2.2 as Kirigami
|
||||
|
||||
Kirigami.ScrollablePage
|
||||
{
|
||||
|
@ -33,7 +33,7 @@ Kirigami.ScrollablePage
|
|||
|
||||
readonly property QtObject telephony: TelephonyDbusInterfaceFactory.create(device.id())
|
||||
|
||||
Kirigami.CardsListView {
|
||||
ListView {
|
||||
model: ListModel {
|
||||
ListElement { display: "aaa"; fromMe: true }
|
||||
ListElement { display: "aaa" }
|
||||
|
@ -42,7 +42,7 @@ Kirigami.ScrollablePage
|
|||
ListElement { display: "aaa" }
|
||||
ListElement { display: "aaa" }
|
||||
}
|
||||
delegate: Kirigami.AbstractCard {
|
||||
delegate: Kirigami.BasicListItem {
|
||||
readonly property real margin: 100
|
||||
x: fromMe ? Kirigami.Units.gridUnit : margin
|
||||
width: parent.width - margin - Kirigami.Units.gridUnit
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
*/
|
||||
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.3
|
||||
import org.kde.kirigami 2.3 as Kirigami
|
||||
import org.kde.kirigami 2.2 as Kirigami
|
||||
|
||||
Kirigami.ApplicationWindow
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue