Clang-tidy + clang-format

This commit is contained in:
Carl Schwan
2020-11-27 00:19:54 +01:00
parent 49881f809d
commit 136a8f2af8
31 changed files with 470 additions and 332 deletions

View File

@@ -22,10 +22,10 @@ class Clipboard : public QObject
public:
explicit Clipboard(QObject *parent = nullptr);
bool hasImage() const;
QImage image() const;
[[nodiscard]] bool hasImage() const;
[[nodiscard]] QImage image() const;
Q_INVOKABLE bool saveImage(const QUrl &localPath);
Q_INVOKABLE bool saveImage(const QUrl &localPath) const;
Q_INVOKABLE void saveText(QString message);