Files
MuditaOS/module-apps/application-messages/widgets/SearchResultsItem.cpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

28 lines
674 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#include "SearchResultsItem.hpp"
namespace gui
{
void SearchResultsItem::setContact(const UTF8 &text)
{
if (contact != nullptr) {
contact->setText(text);
}
}
void SearchResultsItem::setTimestamp(const UTF8 &text)
{
if (timestamp != nullptr) {
timestamp->setText(text);
}
}
void SearchResultsItem::setPreview(const UTF8 &text)
{
if (snippet != nullptr) {
snippet->setText(text);
}
}
} /* namespace gui */