Replace some Dali::Actor public APIs with new properties
[platform/core/uifw/dali-demo.git] / examples / builder / examples.cpp
index 6aae5ae..bcb3234 100644 (file)
@@ -283,7 +283,7 @@ public:
 
     mItemView.AddLayout( *mLayout );
 
-    mItemView.SetKeyboardFocusable( true );
+    mItemView.SetProperty( Actor::Property::KEYBOARD_FOCUSABLE, true );
 
     mFiles.clear();
     FileList files;
@@ -546,7 +546,7 @@ public:
    */
   void OnQuitOrBack()
   {
-    if ( mItemView.OnStage() )
+    if ( mItemView.GetProperty< bool >( Actor::Property::CONNECTED_TO_SCENE ) )
     {
       mApp.Quit();
     }