summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/cutils.hpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-01 17:41:26 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-01 17:41:26 +1000
commit8b1f2be27be18459ba2c8f4d675b5bf36f7d2307 (patch)
tree1a46525d6d3b4f50c17d0dd7aa41930895bdb257 /plugin/src/Caelestia/cutils.hpp
parentplugin/fsm: only provide modelData role (diff)
downloadcaelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.tar.gz
caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.tar.bz2
caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.zip
internal: format cpp
Diffstat (limited to 'plugin/src/Caelestia/cutils.hpp')
-rw-r--r--plugin/src/Caelestia/cutils.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/cutils.hpp b/plugin/src/Caelestia/cutils.hpp
index ef758f2..cac5d7c 100644
--- a/plugin/src/Caelestia/cutils.hpp
+++ b/plugin/src/Caelestia/cutils.hpp
@@ -1,8 +1,8 @@
#pragma once
+#include <QtQuick/QQuickItem>
#include <qobject.h>
#include <qqmlintegration.h>
-#include <QtQuick/QQuickItem>
class CUtils : public QObject {
Q_OBJECT
@@ -15,7 +15,8 @@ public:
Q_INVOKABLE void saveItem(QQuickItem* target, const QUrl& path, QJSValue onSaved);
Q_INVOKABLE void saveItem(QQuickItem* target, const QUrl& path, QJSValue onSaved, QJSValue onFailed);
Q_INVOKABLE void saveItem(QQuickItem* target, const QUrl& path, const QRect& rect, QJSValue onSaved);
- Q_INVOKABLE void saveItem(QQuickItem* target, const QUrl& path, const QRect& rect, QJSValue onSaved, QJSValue onFailed);
+ Q_INVOKABLE void saveItem(
+ QQuickItem* target, const QUrl& path, const QRect& rect, QJSValue onSaved, QJSValue onFailed);
Q_INVOKABLE bool copyFile(const QUrl& source, const QUrl& target) const;
Q_INVOKABLE bool copyFile(const QUrl& source, const QUrl& target, bool overwrite) const;