X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fexample-code%2Fproperties.cpp;h=c8409643d895597533935e028879da8e0dd88f25;hb=746ebfed348c504b732dcb3f55c92a39b5643414;hp=e8f4d5605df4b987ac975e0cb9e6e3dc49c3985f;hpb=af1671c4205934038b6d13a7b355091bb840b689;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/example-code/properties.cpp b/docs/content/example-code/properties.cpp index e8f4d56..c840964 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.TouchSignal().Connect( this, &PropertyController::OnTouched ); + mImageView.TouchedSignal().Connect( this, &PropertyController::OnTouched ); // Create text label mTagText = Toolkit::TextLabel::New( "0" ); @@ -113,7 +113,7 @@ public: valueText << touchedCount; mTagText.SetProperty( TextLabel::Property::TEXT, valueText.str() ); - return true; // Consumed meaning any gestures will be cancelled + return true; // Consumed } // C++ EXAMPLE END