Comment C++ files

This commit is contained in:
miruka
2019-12-17 18:50:21 -04:00
parent 12c7e44d8a
commit 127f724357
6 changed files with 38 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
// The Clipboard class exposes system clipboard management and retrieval
// to QML.
#ifndef CLIPBOARD_H
#define CLIPBOARD_H
@@ -17,9 +20,11 @@ class Clipboard : public QObject
public:
explicit Clipboard(QObject *parent = 0);
// Normal primary clipboard
QString text() const;
void setText(const QString &text);
// X11 select-middle-click-paste clipboard
QString selection() const;
void setSelection(const QString &text);