mirror of https://github.com/cutefishos/core
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
379 B
C++
25 lines
379 B
C++
#ifndef CLIPBOARD_H
|
|
#define CLIPBOARD_H
|
|
|
|
#include <QObject>
|
|
#include <QClipboard>
|
|
|
|
class WlrClipboard;
|
|
|
|
class Clipboard : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Clipboard(QObject *parent = nullptr);
|
|
|
|
private slots:
|
|
void onDataChanged();
|
|
|
|
private:
|
|
QClipboard *m_qtClipboard = nullptr;
|
|
WlrClipboard *m_waylandClipboard = nullptr;
|
|
};
|
|
|
|
#endif // CLIPBOARD_H
|