plugeth/ui/qt/clipboard/clipboard.hpp
2015-02-19 11:51:38 +01:00

24 lines
350 B
C++

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
class Clipboard : public QObject
{
Q_OBJECT
Q_PROPERTY(QString get READ get WRITE toClipboard NOTIFY clipboardChanged)
public:
Clipboard();
virtual ~Clipboard(){}
Q_INVOKABLE void toClipboard(QString _text);
signals:
void clipboardChanged();
};
#ifdef __cplusplus
} // extern "C"
#endif