Official Go implementation of the Ethereum protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-ethereum/ui/qt/clipboard/clipboard.hpp

24 lines
350 B

10 years ago
#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