X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftext-controls%2Ftext-field.cpp;h=1ebedb6e04679af05cbb367ea0c180acf626cfe1;hb=d886d0a7b8637b2ad52844096091b63991157ff3;hp=7935752870f5057c1e3c301d162adf300bfa1eee;hpb=eea53605c5acb244aebb72d75bdd9b3a68a9678a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/text-controls/text-field.cpp b/dali-toolkit/public-api/controls/text-controls/text-field.cpp index 7935752..1ebedb6 100644 --- a/dali-toolkit/public-api/controls/text-controls/text-field.cpp +++ b/dali-toolkit/public-api/controls/text-controls/text-field.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,27 +36,36 @@ TextField::TextField() { } -TextField::TextField( const TextField& handle ) -: Control( handle ) +TextField::TextField( const TextField& handle ) = default; + +TextField::TextField( TextField&& rhs ) = default; + +TextField& TextField::operator=( const TextField& handle ) = default; + +TextField& TextField::operator=( TextField&& rhs ) = default; + +TextField::~TextField() { } -TextField& TextField::operator=( const TextField& handle ) +TextField TextField::DownCast( BaseHandle handle ) { - if( &handle != this ) - { - Control::operator=( handle ); - } - return *this; + return Control::DownCast(handle); } -TextField::~TextField() +TextField::TextChangedSignalType& TextField::TextChangedSignal() { + return Dali::Toolkit::GetImpl( *this ).TextChangedSignal(); } -TextField TextField::DownCast( BaseHandle handle ) +TextField::MaxLengthReachedSignalType& TextField::MaxLengthReachedSignal() { - return Control::DownCast(handle); + return Dali::Toolkit::GetImpl( *this ).MaxLengthReachedSignal(); +} + +TextField::InputStyleChangedSignalType& TextField::InputStyleChangedSignal() +{ + return Dali::Toolkit::GetImpl( *this ).InputStyleChangedSignal(); } TextField::TextField( Internal::TextField& implementation )