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-08 23:22:29 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-08 23:22:29 +1000
commitb16a7b78bebf31af95428e0393c09bee119651c2 (patch)
tree7faee4773a2e7c30584b66adedb683acac96c023 /plugin/src/Caelestia/cutils.hpp
parentplugin/ac: use double buffer (diff)
downloadcaelestia-shell-b16a7b78bebf31af95428e0393c09bee119651c2.tar.gz
caelestia-shell-b16a7b78bebf31af95428e0393c09bee119651c2.tar.bz2
caelestia-shell-b16a7b78bebf31af95428e0393c09bee119651c2.zip
plugin: use lower case imports
Diffstat (limited to 'plugin/src/Caelestia/cutils.hpp')
-rw-r--r--plugin/src/Caelestia/cutils.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/src/Caelestia/cutils.hpp b/plugin/src/Caelestia/cutils.hpp
index 654c333..892ff86 100644
--- a/plugin/src/Caelestia/cutils.hpp
+++ b/plugin/src/Caelestia/cutils.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <QtQuick/QQuickItem>
+#include <QtQuick/qquickitem.h>
#include <qobject.h>
#include <qqmlintegration.h>
@@ -12,13 +12,14 @@ class CUtils : public QObject {
QML_SINGLETON
public:
+ // clang-format off
Q_INVOKABLE void saveItem(QQuickItem* target, const QUrl& path);
Q_INVOKABLE void saveItem(QQuickItem* target, const QUrl& path, const QRect& rect);
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);
+ // clang-format on
Q_INVOKABLE bool copyFile(const QUrl& source, const QUrl& target) const;
Q_INVOKABLE bool copyFile(const QUrl& source, const QUrl& target, bool overwrite) const;