Modern C++.

This commit is contained in:
Black Hat
2019-08-04 22:36:32 +08:00
parent 5c75f009eb
commit ced82bd666
17 changed files with 335 additions and 491 deletions

View File

@@ -13,8 +13,8 @@ class ImageClipboard : public QObject {
public:
explicit ImageClipboard(QObject* parent = nullptr);
bool hasImage();
QImage image();
bool hasImage() const;
QImage image() const;
Q_INVOKABLE bool saveImage(const QUrl& localPath);