cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
18 lines
438 B
C++
18 lines
438 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2009 Alan Alpert <alan.alpert@nokia.com>
|
|
* SPDX-FileCopyrightText: 2010 Ménard Alexis <menard@kde.org>
|
|
* SPDX-FileCopyrightText: 2010 Marco Martin <mart@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#include "copyhelper.h"
|
|
|
|
#include <QClipboard>
|
|
#include <QGuiApplication>
|
|
|
|
void CopyHelperPrivate::copyTextToClipboard(const QString &text)
|
|
{
|
|
qGuiApp->clipboard()->setText(text);
|
|
}
|