X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fexample-code%2Fproperties.cpp;h=300d276802b5d5499c8e64dcb3262f93909bed44;hp=d0f8923a2dbaddb293dcffc6544f8ca9ca1d69ff;hb=acbf7e2c17c1578c7125fa07c7eaabe1fe214406;hpb=78d6c4118411aa10112953fe6844eb08c944dd59 diff --git a/docs/content/example-code/properties.cpp b/docs/content/example-code/properties.cpp index d0f8923..300d276 100644 --- a/docs/content/example-code/properties.cpp +++ b/docs/content/example-code/properties.cpp @@ -79,7 +79,7 @@ public: mTagPropertyIndex = mImageView.RegisterProperty( TAG_PROPERTY_NAME, 0, Property::READ_WRITE /* Event-side only, i.e. not animatable */ ); // Connect to the touch-event - mImageView.TouchedSignal().Connect( this, &PropertyController::OnTouched ); + mImageView.TouchSignal().Connect( this, &PropertyController::OnTouched ); // Create text label mTagText = Toolkit::TextLabel::New( "0" ); @@ -95,7 +95,7 @@ public: * param[in] touch The touch-event * return Set to true if the signal was consumed correctly */ - bool OnTouched( Actor actor, const TouchEvent& touch ) + bool OnTouched( Actor actor, const TouchData& touch ) { int touchedCount = 0;