File indexing completed on 2024-04-28 16:42:51

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 <QObject>
0008 #include <QPixmap>
0009 
0010 class ContactUtils : public QObject
0011 {
0012     Q_OBJECT
0013     Q_CLASSINFO("D-Bus Interface", "org.kde.telephony.ContactUtils")
0014 
0015 public:
0016     explicit ContactUtils(QObject *parent = nullptr);
0017 
0018 public Q_SLOTS:
0019     QString displayString(const QString &contact);
0020     QString imageSource(const QString &contact);
0021     void changeCountryCode(const QString &countryCode);
0022 };