File indexing completed on 2024-04-21 03:55:59
0001 /* 0002 * SPDX-FileCopyrightText: 2009 Alan Alpert <alan.alpert@nokia.com> 0003 * SPDX-FileCopyrightText: 2010 Ménard Alexis <menard@kde.org> 0004 * SPDX-FileCopyrightText: 2010 Marco Martin <mart@kde.org> 0005 * 0006 * SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef COPYHELPER_H 0010 #define COPYHELPER_H 0011 0012 #include <QObject> 0013 #include <qqmlregistration.h> 0014 0015 class CopyHelperPrivate : public QObject 0016 { 0017 Q_OBJECT 0018 QML_ELEMENT 0019 QML_SINGLETON 0020 public: 0021 Q_INVOKABLE void copyTextToClipboard(const QString &text); 0022 }; 0023 0024 #endif