diff options
| author | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-09-24 14:19:04 +1000 |
|---|---|---|
| committer | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-09-24 14:19:04 +1000 |
| commit | 17509aa2d9573cc2283ea35148a8078d904454f3 (patch) | |
| tree | 8579ec152a272ce2b227a996681d6d8017c356e1 /plugin/src/Caelestia/Internal | |
| parent | internal: add option for splitbutton menu pos (diff) | |
| download | caelestia-shell-17509aa2d9573cc2283ea35148a8078d904454f3.tar.gz caelestia-shell-17509aa2d9573cc2283ea35148a8078d904454f3.tar.bz2 caelestia-shell-17509aa2d9573cc2283ea35148a8078d904454f3.zip | |
plugin: sub namespace modules
Diffstat (limited to 'plugin/src/Caelestia/Internal')
4 files changed, 8 insertions, 8 deletions
diff --git a/plugin/src/Caelestia/Internal/cachingimagemanager.cpp b/plugin/src/Caelestia/Internal/cachingimagemanager.cpp index 3394f89..1c15cd2 100644 --- a/plugin/src/Caelestia/Internal/cachingimagemanager.cpp +++ b/plugin/src/Caelestia/Internal/cachingimagemanager.cpp @@ -9,7 +9,7 @@ #include <qpainter.h> #include <qtconcurrentrun.h> -namespace caelestia { +namespace caelestia::internal { qreal CachingImageManager::effectiveScale() const { if (m_item && m_item->window()) { @@ -220,4 +220,4 @@ QString CachingImageManager::sha256sum(const QString& path) { return hash.result().toHex(); } -} // namespace caelestia +} // namespace caelestia::internal diff --git a/plugin/src/Caelestia/Internal/cachingimagemanager.hpp b/plugin/src/Caelestia/Internal/cachingimagemanager.hpp index f05ea34..3611699 100644 --- a/plugin/src/Caelestia/Internal/cachingimagemanager.hpp +++ b/plugin/src/Caelestia/Internal/cachingimagemanager.hpp @@ -4,7 +4,7 @@ #include <qobject.h> #include <qqmlintegration.h> -namespace caelestia { +namespace caelestia::internal { class CachingImageManager : public QObject { Q_OBJECT @@ -62,4 +62,4 @@ private: [[nodiscard]] static QString sha256sum(const QString& path); }; -} // namespace caelestia +} // namespace caelestia::internal diff --git a/plugin/src/Caelestia/Internal/circularindicatormanager.cpp b/plugin/src/Caelestia/Internal/circularindicatormanager.cpp index ac0c428..434b756 100644 --- a/plugin/src/Caelestia/Internal/circularindicatormanager.cpp +++ b/plugin/src/Caelestia/Internal/circularindicatormanager.cpp @@ -49,7 +49,7 @@ inline qreal getFractionInRange(qreal playtime, qreal start, qreal duration) { } // namespace -namespace caelestia { +namespace caelestia::internal { CircularIndicatorManager::CircularIndicatorManager(QObject* parent) : QObject(parent) @@ -208,4 +208,4 @@ void CircularIndicatorManager::updateAdvance(qreal progress) { emit endFractionChanged(); } -} // namespace caelestia +} // namespace caelestia::internal diff --git a/plugin/src/Caelestia/Internal/circularindicatormanager.hpp b/plugin/src/Caelestia/Internal/circularindicatormanager.hpp index 71da93d..2dbc9d6 100644 --- a/plugin/src/Caelestia/Internal/circularindicatormanager.hpp +++ b/plugin/src/Caelestia/Internal/circularindicatormanager.hpp @@ -4,7 +4,7 @@ #include <qobject.h> #include <qqmlintegration.h> -namespace caelestia { +namespace caelestia::internal { class CircularIndicatorManager : public QObject { Q_OBJECT @@ -69,4 +69,4 @@ private: void updateRetreat(qreal progress); }; -} // namespace caelestia +} // namespace caelestia::internal |