File indexing completed on 2025-01-19 04:46:50
0001 /* 0002 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 #include <QString> 0011 0012 class ItineraryKDEConnectHandler : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit ItineraryKDEConnectHandler(QObject *parent = nullptr); 0017 0018 struct Device { 0019 QString deviceId; 0020 QString name; 0021 }; 0022 0023 [[nodiscard]] QList<Device> devices() const; 0024 0025 void sendToDevice(const QString &fileName, const QString &deviceId); 0026 };