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#include "copyhelper.h"
10
11#include <QClipboard>
12#include <QGuiApplication>
13
14void CopyHelperPrivate::copyTextToClipboard(const QString &text)
15{
16 qGuiApp->clipboard()->setText(text);
17}
18

source code of kirigami/src/copyhelper.cpp