File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
Examples/AR/QmlArExample/qml
Import/Esri/ArcGISRuntime/Toolkit Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ ApplicationWindow {
5050 // Connect to the locationChanged signal, to update the QML messages
5151 Connections {
5252 target: arcGISArView .locationDataSource
53- onLocationChanged: {
53+ function onLocationChanged ( location ) {
5454 if (! tabletopMode)
5555 waitingForInitialization = false ;
5656 }
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ Item {
280280 Connections {
281281 id: calloutConnection
282282 target: calloutData
283- onScreenPointChanged: {
283+ function onScreenPointChanged () {
284284 anchorPointx = calloutData .screenPoint .x ;
285285 anchorPointy = calloutData .screenPoint .y ;
286286
@@ -293,7 +293,7 @@ Item {
293293 showCallout ();
294294 }
295295
296- onVisibleChanged: {
296+ function onVisibleChanged () {
297297 if (calloutData .visible ) {
298298 showCallout ();
299299 }
@@ -302,7 +302,7 @@ Item {
302302 }
303303 }
304304
305- onTitleChanged: {
305+ function onTitleChanged () {
306306 if (calloutVisible)
307307 showCallout ();
308308 }
Original file line number Diff line number Diff line change 8989 Connections {
9090 target: parentMapview
9191
92- onVisibleAreaChanged: {
92+ function onVisibleAreaChanged () {
9393 updateView ();
9494 }
9595 }
Original file line number Diff line number Diff line change @@ -95,12 +95,12 @@ Button {
9595
9696 Connections {
9797 target: control
98- onPressedChanged: {
98+ function onPressedChanged () {
9999 if (control .pressed )
100100 fader .start ();
101101 }
102102
103- onHoveredChanged: {
103+ function onHoveredChanged () {
104104 if (control .hovered )
105105 fader .stop ();
106106 else
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ Item {
105105 Connections {
106106 target: authenticationManager
107107
108- onAuthenticationChallenge: {
108+ function onAuthenticationChallenge ( challenge ) {
109109 authChallenge = challenge;
110110
111111 if (Number (challenge .authenticationChallengeType ) === 1 ) {
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ Rectangle {
415415 Connections {
416416 target: authView .authenticationManager
417417
418- onClientCertificatePasswordRequired: {
418+ function onClientCertificatePasswordRequired ( certificate ) {
419419 certificatePasswordPage .certificateFile = certificate;
420420
421421 certificateFilename = certificatePasswordPage .certificateFile .toString ().split (" /" ).pop ();
You can’t perform that action at this time.
0 commit comments