From 248095bdf39c3c9636ae59f14adf9b5a1c769e2d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 13 May 2015 10:21:21 +0200 Subject: [PATCH] don't use qtofono bindings not necessary here --- .../package/contents/ui/Call/AnswerSwipe.qml | 1 - dialer/package/contents/ui/main.qml | 53 ------------------- 2 files changed, 54 deletions(-) diff --git a/dialer/package/contents/ui/Call/AnswerSwipe.qml b/dialer/package/contents/ui/Call/AnswerSwipe.qml index 278c3824..d2f1fbed 100644 --- a/dialer/package/contents/ui/Call/AnswerSwipe.qml +++ b/dialer/package/contents/ui/Call/AnswerSwipe.qml @@ -21,7 +21,6 @@ import QtQuick 2.4 import QtQuick.Layouts 1.1 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents -import org.nemomobile.voicecall 1.0 MouseArea { id: root diff --git a/dialer/package/contents/ui/main.qml b/dialer/package/contents/ui/main.qml index 01a35fa4..2deb9f13 100644 --- a/dialer/package/contents/ui/main.qml +++ b/dialer/package/contents/ui/main.qml @@ -23,7 +23,6 @@ import QtQuick.Controls 1.3 import QtQuick.Layouts 1.1 import QtQuick.LocalStorage 2.0 import org.nemomobile.voicecall 1.0 -import MeeGo.QOfono 0.2 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.extras 2.0 as PlasmaExtras @@ -189,58 +188,6 @@ ApplicationWindow { id: historyModel } - OfonoManager { - id: ofonoManager - onAvailableChanged: { - console.log("Ofono is " + available) - } - onModemAdded: { - console.log("modem added " + modem) - } - onModemRemoved: console.log("modem removed") - } - - OfonoConnMan { - id: ofono1 - Component.onCompleted: { - console.log(ofonoManager.modems) - } - modemPath: ofonoManager.modems.length > 0 ? ofonoManager.modems[0] : "" - } - - OfonoModem { - id: modem1 - modemPath: ofonoManager.modems.length > 0 ? ofonoManager.modems[0] : "" - - } - - OfonoContextConnection { - id: context1 - contextPath : ofono1.contexts.length > 0 ? ofono1.contexts[0] : "" - Component.onCompleted: { - print("Context Active: " + context1.active) - } - onActiveChanged: { - print("Context Active: " + context1.active) - } - } - - OfonoNetworkRegistration { - id: netreg - Component.onCompleted: { - netreg.scan() - } - - onNetworkOperatorsChanged : { - console.log("operators :"+netreg.currentOperator["Name"].toString()) - } - modemPath: ofonoManager.modems.length ? ofonoManager.modems[0] : "" - } - - OfonoNetworkOperator { - id: netop - } - VoiceCallManager { id: voiceCallmanager