File indexing completed on 2024-04-28 16:42:52
0001 // SPDX-FileCopyrightText: 2021 Alexey Andreyev <aa13q@ya.ru> 0002 // 0003 // SPDX-License-Identifier: LicenseRef-KDE-Accepted-GPL 0004 0005 #pragma once 0006 0007 #include <KContacts/PhoneNumber> 0008 #include <QObject> 0009 0010 #include "contactutilsinterface.h" 0011 0012 class DeclarativeContactUtils : public org::kde::telephony::ContactUtils 0013 { 0014 Q_OBJECT 0015 public: 0016 DeclarativeContactUtils(QObject *parent = nullptr); 0017 0018 Q_INVOKABLE QString displayString(const QString &contact); 0019 Q_INVOKABLE QVariantList phoneNumbers(const QString &kPeopleUri); 0020 };