// INTERNAL INCLUDES
#include "button.h"
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
*
* Is not mandatory set all images. A button could be defined only by setting its \e background image or by setting its \e background and \e pressed images.
*/
-class PushButton : public Button
+class DALI_IMPORT_API PushButton : public Button
{
public:
public: //Signals
/// @brief PushButton Pressed signal type.
- typedef SignalV2< bool ( Button ) > PressedSignalV2;
+ typedef Signal< bool ( Button ) > PressedSignalType;
/// @brief PushButton Released signal type.
- typedef SignalV2< bool ( Button ) > ReleasedSignalV2;
+ typedef Signal< bool ( Button ) > ReleasedSignalType;
/**
* @brief Signal emitted when the button is touched.
*/
- PressedSignalV2& PressedSignal();
+ PressedSignalType& PressedSignal();
/**
* @brief Signal emitted when the button is touched and the touch point leaves the boundary of the button.
*/
- ReleasedSignalV2& ReleasedSignal();
+ ReleasedSignalType& ReleasedSignal();
public: // Not intended for application developers
*
* @param[in] implementation The Control implementation.
*/
- PushButton( Internal::PushButton& implementation );
+ DALI_INTERNAL PushButton( Internal::PushButton& implementation );
/**
* @brief Allows the creation of this Control from an Internal::CustomActor pointer.
*
* @param[in] internal A pointer to the internal CustomActor.
*/
- PushButton( Dali::Internal::CustomActor* internal );
+ DALI_INTERNAL PushButton( Dali::Internal::CustomActor* internal );
};
} // namespace Toolkit