X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftext-controls%2Ftext-editor.cpp;h=f3c26f98086fce065e0cbe31aa04d735630c820e;hp=4098e8b7294821a368186ff747d1e3f616d954fc;hb=4593cc619ab0739fc8586c0c752209c555b0c8e3;hpb=6ae9cd5f03bd0a8393eebf3cfb4508cab7fd3ede diff --git a/dali-toolkit/public-api/controls/text-controls/text-editor.cpp b/dali-toolkit/public-api/controls/text-controls/text-editor.cpp index 4098e8b..f3c26f9 100644 --- a/dali-toolkit/public-api/controls/text-controls/text-editor.cpp +++ b/dali-toolkit/public-api/controls/text-controls/text-editor.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 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,19 +36,13 @@ TextEditor::TextEditor() { } -TextEditor::TextEditor( const TextEditor& handle ) -: Control( handle ) -{ -} +TextEditor::TextEditor( const TextEditor& handle ) = default; -TextEditor& TextEditor::operator=( const TextEditor& handle ) -{ - if( &handle != this ) - { - Control::operator=( handle ); - } - return *this; -} +TextEditor::TextEditor( TextEditor&& rhs ) = default; + +TextEditor& TextEditor::operator=( const TextEditor& handle ) = default; + +TextEditor& TextEditor::operator=( TextEditor&& rhs ) = default; TextEditor::~TextEditor() { @@ -69,6 +63,12 @@ TextEditor::InputStyleChangedSignalType& TextEditor::InputStyleChangedSignal() return Dali::Toolkit::GetImpl( *this ).InputStyleChangedSignal(); } + +TextEditor::ScrollStateChangedSignalType& TextEditor::ScrollStateChangedSignal() +{ + return Dali::Toolkit::GetImpl( *this ).ScrollStateChangedSignal(); +} + TextEditor::TextEditor( Internal::TextEditor& implementation ) : Control( implementation ) {