File indexing completed on 2024-03-24 04:59:43
0001 /** 0002 * SPDX-FileCopyrightText: 2022 Nicolas Fella <nicolas.fella@gmx.de> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 #include "kdeconnectcore_export.h" 0012 0013 class KDECONNECTCORE_EXPORT OpenConfig : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 void setXdgActivationToken(const QString &token); 0018 Q_INVOKABLE void openConfiguration(const QString &deviceId = QString(), const QString &pluginName = QString()); 0019 0020 private: 0021 QString m_currentToken; 0022 };