From 9cefdf509c73d22109c7a57597a60042e86498ef Mon Sep 17 00:00:00 2001 From: zach Date: Fri, 5 Jun 2026 12:31:37 +0200 Subject: [PATCH] cmake build hotfix --- Plugins/ZShell/Components/lazylistview.hpp | 2 +- Plugins/ZShell/Internal/arcgauge.hpp | 2 +- Plugins/ZShell/Internal/cachingimagemanager.hpp | 2 +- Plugins/ZShell/Internal/circularbuffer.hpp | 2 +- Plugins/ZShell/Internal/circularindicatormanager.hpp | 4 ++-- Plugins/ZShell/Internal/hyprdevices.hpp | 2 +- Plugins/ZShell/Internal/hyprextras.hpp | 2 +- Plugins/ZShell/Internal/lidwatcher.hpp | 2 +- Plugins/ZShell/Internal/sparklineitem.hpp | 2 +- Plugins/ZShell/Internal/wallpaperimage.hpp | 2 +- Plugins/ZShell/Models/filesystemmodel.hpp | 4 ++-- Plugins/ZShell/Services/audiocollector.hpp | 2 +- Plugins/ZShell/Services/audioprovider.hpp | 2 +- Plugins/ZShell/Services/desktopmodel.hpp | 4 ++-- Plugins/ZShell/Services/desktopstatemanager.hpp | 2 +- Plugins/ZShell/Services/hyprsunsetmanager.hpp | 2 +- Plugins/ZShell/Services/service.hpp | 2 +- 17 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Plugins/ZShell/Components/lazylistview.hpp b/Plugins/ZShell/Components/lazylistview.hpp index ca6a051..c1bc987 100644 --- a/Plugins/ZShell/Components/lazylistview.hpp +++ b/Plugins/ZShell/Components/lazylistview.hpp @@ -9,7 +9,7 @@ #include #include -namespace ZShell::Components { +namespace ZShell::components { class LazyListViewAttached : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Internal/arcgauge.hpp b/Plugins/ZShell/Internal/arcgauge.hpp index 3946947..f10f47f 100644 --- a/Plugins/ZShell/Internal/arcgauge.hpp +++ b/Plugins/ZShell/Internal/arcgauge.hpp @@ -5,7 +5,7 @@ #include #include -namespace ZShell::Internal { +namespace ZShell::internal { class ArcGauge : public QQuickPaintedItem { Q_OBJECT diff --git a/Plugins/ZShell/Internal/cachingimagemanager.hpp b/Plugins/ZShell/Internal/cachingimagemanager.hpp index 01c3d86..a4f0b93 100644 --- a/Plugins/ZShell/Internal/cachingimagemanager.hpp +++ b/Plugins/ZShell/Internal/cachingimagemanager.hpp @@ -4,7 +4,7 @@ #include #include -namespace ZShell::Internal { +namespace ZShell::internal { class CachingImageManager : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Internal/circularbuffer.hpp b/Plugins/ZShell/Internal/circularbuffer.hpp index e552d51..763500e 100644 --- a/Plugins/ZShell/Internal/circularbuffer.hpp +++ b/Plugins/ZShell/Internal/circularbuffer.hpp @@ -4,7 +4,7 @@ #include #include -namespace ZShell::Internal { +namespace ZShell::internal { class CircularBuffer : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Internal/circularindicatormanager.hpp b/Plugins/ZShell/Internal/circularindicatormanager.hpp index 6241336..0411ca1 100644 --- a/Plugins/ZShell/Internal/circularindicatormanager.hpp +++ b/Plugins/ZShell/Internal/circularindicatormanager.hpp @@ -5,7 +5,7 @@ #include #include -namespace ZShell::Internal { +namespace ZShell::internal { class CircularIndicatorManager : public QObject { Q_OBJECT @@ -25,7 +25,7 @@ Q_PROPERTY(IndeterminateAnimationType indeterminateAnimationType READ indetermin public: explicit CircularIndicatorManager(QObject* parent = nullptr); -enum IndeterminateAnimationType: std::uint8_t { +enum IndeterminateAnimationType { Advance = 0, Retreat }; diff --git a/Plugins/ZShell/Internal/hyprdevices.hpp b/Plugins/ZShell/Internal/hyprdevices.hpp index 8c70387..285823d 100644 --- a/Plugins/ZShell/Internal/hyprdevices.hpp +++ b/Plugins/ZShell/Internal/hyprdevices.hpp @@ -5,7 +5,7 @@ #include #include -namespace ZShell::Internal::Hypr { +namespace ZShell::internal::hypr { class HyprKeyboard : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Internal/hyprextras.hpp b/Plugins/ZShell/Internal/hyprextras.hpp index 583665e..afcac8d 100644 --- a/Plugins/ZShell/Internal/hyprextras.hpp +++ b/Plugins/ZShell/Internal/hyprextras.hpp @@ -10,7 +10,7 @@ #include #include -namespace ZShell::Internal::Hypr { +namespace ZShell::internal::hypr { class HyprDevices; diff --git a/Plugins/ZShell/Internal/lidwatcher.hpp b/Plugins/ZShell/Internal/lidwatcher.hpp index 4f6ebac..4016f16 100644 --- a/Plugins/ZShell/Internal/lidwatcher.hpp +++ b/Plugins/ZShell/Internal/lidwatcher.hpp @@ -3,7 +3,7 @@ #include #include -namespace ZShell::Internal { +namespace ZShell::internal { class LidWatcher : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Internal/sparklineitem.hpp b/Plugins/ZShell/Internal/sparklineitem.hpp index 551ca18..0583da8 100644 --- a/Plugins/ZShell/Internal/sparklineitem.hpp +++ b/Plugins/ZShell/Internal/sparklineitem.hpp @@ -7,7 +7,7 @@ #include "circularbuffer.hpp" -namespace ZShell::Internal { +namespace ZShell::internal { class SparklineItem : public QQuickPaintedItem { Q_OBJECT diff --git a/Plugins/ZShell/Internal/wallpaperimage.hpp b/Plugins/ZShell/Internal/wallpaperimage.hpp index ae4ff12..04cb4ed 100644 --- a/Plugins/ZShell/Internal/wallpaperimage.hpp +++ b/Plugins/ZShell/Internal/wallpaperimage.hpp @@ -7,7 +7,7 @@ #include #include -namespace ZShell::Internal { +namespace ZShell::internal { class WallpaperImage : public QQuickItem { Q_OBJECT diff --git a/Plugins/ZShell/Models/filesystemmodel.hpp b/Plugins/ZShell/Models/filesystemmodel.hpp index 0287f28..f860c2a 100644 --- a/Plugins/ZShell/Models/filesystemmodel.hpp +++ b/Plugins/ZShell/Models/filesystemmodel.hpp @@ -11,7 +11,7 @@ #include #include -namespace ZShell::Models { +namespace ZShell::models { class FileSystemEntry : public QObject { Q_OBJECT @@ -76,7 +76,7 @@ Q_PROPERTY(QStringList nameFilters READ nameFilters WRITE setNameFilters NOTIFY Q_PROPERTY(QQmlListProperty entries READ entries NOTIFY entriesChanged) public: -enum Filter: std::uint8_t { +enum Filter { NoFilter, Images, Files, diff --git a/Plugins/ZShell/Services/audiocollector.hpp b/Plugins/ZShell/Services/audiocollector.hpp index bb5e60e..e0fe2f6 100644 --- a/Plugins/ZShell/Services/audiocollector.hpp +++ b/Plugins/ZShell/Services/audiocollector.hpp @@ -10,7 +10,7 @@ #include #include -namespace ZShell::Services { +namespace ZShell::services { namespace ac { diff --git a/Plugins/ZShell/Services/audioprovider.hpp b/Plugins/ZShell/Services/audioprovider.hpp index 03d9ea7..76d4614 100644 --- a/Plugins/ZShell/Services/audioprovider.hpp +++ b/Plugins/ZShell/Services/audioprovider.hpp @@ -4,7 +4,7 @@ #include #include -namespace ZShell::Services { +namespace ZShell::services { class AudioProcessor : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Services/desktopmodel.hpp b/Plugins/ZShell/Services/desktopmodel.hpp index 2674c78..dcaa363 100644 --- a/Plugins/ZShell/Services/desktopmodel.hpp +++ b/Plugins/ZShell/Services/desktopmodel.hpp @@ -6,7 +6,7 @@ #include #include -namespace ZShell::Services { +namespace ZShell::services { struct DesktopItem { QString fileName; @@ -21,7 +21,7 @@ Q_OBJECT QML_ELEMENT public: -enum DesktopRoles: std::uint16_t { +enum DesktopRoles { FileNameRole = Qt::UserRole + 1, FilePathRole, IsDirRole, diff --git a/Plugins/ZShell/Services/desktopstatemanager.hpp b/Plugins/ZShell/Services/desktopstatemanager.hpp index d7cb24d..6a0cdce 100644 --- a/Plugins/ZShell/Services/desktopstatemanager.hpp +++ b/Plugins/ZShell/Services/desktopstatemanager.hpp @@ -4,7 +4,7 @@ #include #include -namespace ZShell::Services { +namespace ZShell::services { class DesktopStateManager : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Services/hyprsunsetmanager.hpp b/Plugins/ZShell/Services/hyprsunsetmanager.hpp index 37ba758..ebdbda9 100644 --- a/Plugins/ZShell/Services/hyprsunsetmanager.hpp +++ b/Plugins/ZShell/Services/hyprsunsetmanager.hpp @@ -7,7 +7,7 @@ #include #include -namespace ZShell::Services { +namespace ZShell::services { class HyprsunsetManager : public QObject { Q_OBJECT diff --git a/Plugins/ZShell/Services/service.hpp b/Plugins/ZShell/Services/service.hpp index 87b2d15..3bb47b9 100644 --- a/Plugins/ZShell/Services/service.hpp +++ b/Plugins/ZShell/Services/service.hpp @@ -3,7 +3,7 @@ #include #include -namespace ZShell::Services { +namespace ZShell::services { class Service : public QObject { Q_OBJECT