Port tests away from QQC1

Also, make those tests actually work again.
remotes/origin/work/numberformattest
Volker Krause 4 years ago
parent 7589278d35
commit da6549b1df
  1. 4
      mobile/components/test.qml
  2. 3
      mobile/components/testDocumentView.qml

@ -5,7 +5,7 @@
*/ */
import QtQuick 2.15 import QtQuick 2.15
import QtQuick.Controls 1.6 import QtQuick.Controls 2.15
import org.kde.okular 2.0 as Okular import org.kde.okular 2.0 as Okular
Item { Item {
@ -13,7 +13,7 @@ Item {
height: 600 height: 600
Okular.DocumentItem { Okular.DocumentItem {
id: docItem id: docItem
path: "pageitem.cpp" url: "pageitem.cpp"
} }
Okular.PageItem { Okular.PageItem {
id: page id: page

@ -5,7 +5,6 @@
*/ */
import QtQuick 2.15 import QtQuick 2.15
import QtQuick.Controls 1.6
import org.kde.okular 2.0 as Okular import org.kde.okular 2.0 as Okular
Item { Item {
@ -13,7 +12,7 @@ Item {
height: 600 height: 600
Okular.DocumentItem { Okular.DocumentItem {
id: docItem id: docItem
path: "pageitem.cpp" url: "pageitem.cpp"
} }
Okular.DocumentView { Okular.DocumentView {
anchors.fill: parent anchors.fill: parent

Loading…
Cancel
Save