ad01ef1695
Add the necessary bits for XDG activation to work Move the code for launching the settings from the daemon to the respective processes so that we don't need to pass activation tokens over another process boundary
20 lines
515 B
C++
20 lines
515 B
C++
/**
|
|
* SPDX-FileCopyrightText: 2022 Nicolas Fella <nicolas.fella@gmx.de>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
*/
|
|
|
|
#include <QObject>
|
|
|
|
#include "kdeconnectcore_export.h"
|
|
|
|
class KDECONNECTCORE_EXPORT OpenConfig : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
void setXdgActivationToken(const QString &token);
|
|
Q_INVOKABLE void openConfiguration(const QString &deviceId = QString(), const QString &pluginName = QString());
|
|
|
|
private:
|
|
QString m_currentToken;
|
|
};
|