From 31f8103187d2e27b1bb76eaed10dc9c9be226c90 Mon Sep 17 00:00:00 2001 From: Renato Araujo Oliveira Filho Date: Thu, 6 Sep 2012 16:43:27 -0300 Subject: Implemented QDBusActionGroup. --- examples/main.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/main.qml') diff --git a/examples/main.qml b/examples/main.qml index 857351c..0615a63 100644 --- a/examples/main.qml +++ b/examples/main.qml @@ -19,12 +19,11 @@ Rectangle { busType: 1 busName: "com.ubuntu.networksettings" objectPath: "/com/ubuntu/networksettings" - onConnected: { - console.log("Menu appears ") + onStatusChanged: { + console.log("Menu model status update: " + status) } } - ListView { id: mainMenu anchors.fill: parent @@ -36,7 +35,7 @@ Rectangle { } Component.onCompleted: { - menuModel.connect() + menuModel.start() } } } -- cgit v1.2.3