clipboardAdapter.h 431 Bytes
Newer Older
Baked Alaska's avatar
Baked Alaska committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//17copyright   

                                                

#ifndef CLIPBOARDADAPTER_H
#define CLIPBOARDADAPTER_H

#include <QGuiApplication>
#include <QClipboard>
#include <QObject>

class clipboardAdapter : public QObject
{
    Q_OBJECT
public:
    explicit clipboardAdapter(QObject *parent = 0);
    Q_INVOKABLE void setText(const QString &text);

private:
    QClipboard *m_pClipboard;
};

#endif // CLIPBOARDADAPTER_H