You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
568 B
25 lines
568 B
/* |
|
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; |
|
};
|
|
|