X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-selection-popup.cpp;h=5d953dbb04622a71cff138687938df4aef44f2f5;hp=9f9251830dc1efaf3c98c7ac9b24f77ce2d9d354;hb=HEAD;hpb=3d655cb57a51fee5d3a887aa36f4c6b8b77c2f7d diff --git a/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp b/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp index 9f92518..2f03c72 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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 @@ TextSelectionPopup::TextSelectionPopup() { } -TextSelectionPopup::TextSelectionPopup(const TextSelectionPopup& handle) -: Control(handle) -{ -} +TextSelectionPopup::TextSelectionPopup(const TextSelectionPopup& handle) = default; -TextSelectionPopup& TextSelectionPopup::operator=(const TextSelectionPopup& handle) -{ - if(&handle != this) - { - Control::operator=(handle); - } - return *this; -} +TextSelectionPopup& TextSelectionPopup::operator=(const TextSelectionPopup& handle) = default; + +TextSelectionPopup::TextSelectionPopup(TextSelectionPopup&& handle) = default; + +TextSelectionPopup& TextSelectionPopup::operator=(TextSelectionPopup&& handle) = default; TextSelectionPopup::~TextSelectionPopup() { @@ -79,6 +73,16 @@ void TextSelectionPopup::HidePopup() GetImpl(*this).HidePopup(); } +void TextSelectionPopup::SetProperties(const Dali::Property::Map& properties) +{ + GetImpl(*this).SetProperties(properties); +} + +void TextSelectionPopup::GetProperties(Dali::Property::Map& properties) +{ + GetImpl(*this).GetProperties(properties); +} + TextSelectionPopup::TextSelectionPopup(Internal::TextSelectionPopup& implementation) : Control(implementation) {