Kirigami2

copyhelper.h
1/*
2 * SPDX-FileCopyrightText: 2009 Alan Alpert <alan.alpert@nokia.com>
3 * SPDX-FileCopyrightText: 2010 Ménard Alexis <menard@kde.org>
4 * SPDX-FileCopyrightText: 2010 Marco Martin <mart@kde.org>
5 *
6 * SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8
9#ifndef COPYHELPER_H
10#define COPYHELPER_H
11
12#include <QObject>
13#include <qqmlregistration.h>
14
15class CopyHelperPrivate : public QObject
16{
18 QML_ELEMENT
19 QML_SINGLETON
20public:
21 Q_INVOKABLE void copyTextToClipboard(const QString &text);
22};
23
24#endif
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:46 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.