mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-12 02:05:54 +00:00
26 lines
568 B
C
26 lines
568 B
C
|
/*
|
||
|
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
|
||
|
|
||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include <Plasma/ServiceJob>
|
||
|
|
||
|
class KFileItem;
|
||
|
class Klipper;
|
||
|
|
||
|
class ClipboardJob : public Plasma::ServiceJob
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
ClipboardJob(Klipper *klipper, const QString &destination, const QString &operation, const QVariantMap ¶meters, QObject *parent = nullptr);
|
||
|
~ClipboardJob() override = default;
|
||
|
|
||
|
void start() override;
|
||
|
|
||
|
private:
|
||
|
void iconResult(const KFileItem &item);
|
||
|
Klipper *m_klipper;
|
||
|
};
|