Falkon Develop
Cross-platform Qt-based web browser
QmlClipboard Class Reference

The class exposing application clipboard to QML. More...

#include <qmlclipboard.h>

Inheritance diagram for QmlClipboard:

Public Member Functions

 QmlClipboard (QObject *parent=nullptr)
 
Q_INVOKABLE void copy (const QString &text)
 Copy the string to clipboard. More...
 

Detailed Description

The class exposing application clipboard to QML.

Definition at line 26 of file qmlclipboard.h.

Constructor & Destructor Documentation

◆ QmlClipboard()

QmlClipboard::QmlClipboard ( QObject *  parent = nullptr)
explicit

Definition at line 23 of file qmlclipboard.cpp.

Member Function Documentation

◆ copy()

void QmlClipboard::copy ( const QString &  text)

Copy the string to clipboard.

Parameters
Stringrepresenting the text to be copied

Definition at line 28 of file qmlclipboard.cpp.


The documentation for this class was generated from the following files: