diff options
Diffstat (limited to 'plugin/src/Caelestia')
18 files changed, 36 insertions, 36 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 diff --git a/plugin/src/Caelestia/Models/filesystemmodel.cpp b/plugin/src/Caelestia/Models/filesystemmodel.cpp index 81c07d9..3ceb1dd 100644 --- a/plugin/src/Caelestia/Models/filesystemmodel.cpp +++ b/plugin/src/Caelestia/Models/filesystemmodel.cpp @@ -4,7 +4,7 @@ #include <qfuturewatcher.h> #include <qtconcurrentrun.h> -namespace caelestia { +namespace caelestia::models { FileSystemEntry::FileSystemEntry(const QString& path, const QString& relativePath, QObject* parent) : QObject(parent) @@ -476,4 +476,4 @@ bool FileSystemModel::compareEntries(const FileSystemEntry* a, const FileSystemE return m_sortReverse ? cmp > 0 : cmp < 0; } -} // namespace caelestia +} // namespace caelestia::models diff --git a/plugin/src/Caelestia/Models/filesystemmodel.hpp b/plugin/src/Caelestia/Models/filesystemmodel.hpp index 9178e0c..cead43f 100644 --- a/plugin/src/Caelestia/Models/filesystemmodel.hpp +++ b/plugin/src/Caelestia/Models/filesystemmodel.hpp @@ -9,7 +9,7 @@ #include <qobject.h> #include <qqmlintegration.h> -namespace caelestia { +namespace caelestia::models { class FileSystemEntry : public QObject { Q_OBJECT @@ -144,4 +144,4 @@ private: [[nodiscard]] bool compareEntries(const FileSystemEntry* a, const FileSystemEntry* b) const; }; -} // namespace caelestia +} // namespace caelestia::models diff --git a/plugin/src/Caelestia/Services/audiocollector.cpp b/plugin/src/Caelestia/Services/audiocollector.cpp index 9fe77a8..1563405 100644 --- a/plugin/src/Caelestia/Services/audiocollector.cpp +++ b/plugin/src/Caelestia/Services/audiocollector.cpp @@ -10,7 +10,7 @@ #include <stop_token> #include <vector> -namespace caelestia { +namespace caelestia::services { PipeWireWorker::PipeWireWorker(std::stop_token token, AudioCollector* collector) : m_loop(nullptr) @@ -243,4 +243,4 @@ void AudioCollector::stop() { } } -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/audiocollector.hpp b/plugin/src/Caelestia/Services/audiocollector.hpp index 4ec6d84..cd63afa 100644 --- a/plugin/src/Caelestia/Services/audiocollector.hpp +++ b/plugin/src/Caelestia/Services/audiocollector.hpp @@ -10,7 +10,7 @@ #include <thread> #include <vector> -namespace caelestia { +namespace caelestia::services { namespace ac { @@ -73,4 +73,4 @@ private: void stop() override; }; -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/audioprovider.cpp b/plugin/src/Caelestia/Services/audioprovider.cpp index efaadfd..1fac9ee 100644 --- a/plugin/src/Caelestia/Services/audioprovider.cpp +++ b/plugin/src/Caelestia/Services/audioprovider.cpp @@ -5,7 +5,7 @@ #include <qdebug.h> #include <qthread.h> -namespace caelestia { +namespace caelestia::services { AudioProcessor::AudioProcessor(QObject* parent) : QObject(parent) {} @@ -75,4 +75,4 @@ void AudioProvider::stop() { } } -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/audioprovider.hpp b/plugin/src/Caelestia/Services/audioprovider.hpp index 43819be..5bf9bb0 100644 --- a/plugin/src/Caelestia/Services/audioprovider.hpp +++ b/plugin/src/Caelestia/Services/audioprovider.hpp @@ -4,7 +4,7 @@ #include <qqmlintegration.h> #include <qtimer.h> -namespace caelestia { +namespace caelestia::services { class AudioProcessor : public QObject { Q_OBJECT @@ -45,4 +45,4 @@ private: void stop() override; }; -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/beattracker.cpp b/plugin/src/Caelestia/Services/beattracker.cpp index 549992d..93addc6 100644 --- a/plugin/src/Caelestia/Services/beattracker.cpp +++ b/plugin/src/Caelestia/Services/beattracker.cpp @@ -4,7 +4,7 @@ #include "audioprovider.hpp" #include <aubio/aubio.h> -namespace caelestia { +namespace caelestia::services { BeatProcessor::BeatProcessor(QObject* parent) : AudioProcessor(parent) @@ -55,4 +55,4 @@ void BeatTracker::updateBpm(smpl_t bpm) { } } -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/beattracker.hpp b/plugin/src/Caelestia/Services/beattracker.hpp index 365f3bc..94738ce 100644 --- a/plugin/src/Caelestia/Services/beattracker.hpp +++ b/plugin/src/Caelestia/Services/beattracker.hpp @@ -4,7 +4,7 @@ #include <aubio/aubio.h> #include <qqmlintegration.h> -namespace caelestia { +namespace caelestia::services { class BeatProcessor : public AudioProcessor { Q_OBJECT @@ -46,4 +46,4 @@ private: void updateBpm(smpl_t bpm); }; -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/cavaprovider.cpp b/plugin/src/Caelestia/Services/cavaprovider.cpp index 0fb3a4c..81477d7 100644 --- a/plugin/src/Caelestia/Services/cavaprovider.cpp +++ b/plugin/src/Caelestia/Services/cavaprovider.cpp @@ -7,7 +7,7 @@ #include <cstddef> #include <qdebug.h> -namespace caelestia { +namespace caelestia::services { CavaProcessor::CavaProcessor(QObject* parent) : AudioProcessor(parent) @@ -139,4 +139,4 @@ void CavaProvider::updateValues(QVector<double> values) { } } -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/cavaprovider.hpp b/plugin/src/Caelestia/Services/cavaprovider.hpp index 97d71c5..c45e33f 100644 --- a/plugin/src/Caelestia/Services/cavaprovider.hpp +++ b/plugin/src/Caelestia/Services/cavaprovider.hpp @@ -4,7 +4,7 @@ #include <cava/cavacore.h> #include <qqmlintegration.h> -namespace caelestia { +namespace caelestia::services { class CavaProcessor : public AudioProcessor { Q_OBJECT @@ -61,4 +61,4 @@ private: void updateValues(QVector<double> values); }; -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/service.cpp b/plugin/src/Caelestia/Services/service.cpp index 4993772..bc21567 100644 --- a/plugin/src/Caelestia/Services/service.cpp +++ b/plugin/src/Caelestia/Services/service.cpp @@ -3,7 +3,7 @@ #include <qdebug.h> #include <qpointer.h> -namespace caelestia { +namespace caelestia::services { Service::Service(QObject* parent) : QObject(parent) {} @@ -23,4 +23,4 @@ void Service::unref(QObject* sender) { } } -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/service.hpp b/plugin/src/Caelestia/Services/service.hpp index dac48760..f8af03a 100644 --- a/plugin/src/Caelestia/Services/service.hpp +++ b/plugin/src/Caelestia/Services/service.hpp @@ -3,7 +3,7 @@ #include <qobject.h> #include <qset.h> -namespace caelestia { +namespace caelestia::services { class Service : public QObject { Q_OBJECT @@ -21,4 +21,4 @@ private: virtual void stop() = 0; }; -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/serviceref.cpp b/plugin/src/Caelestia/Services/serviceref.cpp index 91f8982..db1a3f2 100644 --- a/plugin/src/Caelestia/Services/serviceref.cpp +++ b/plugin/src/Caelestia/Services/serviceref.cpp @@ -2,7 +2,7 @@ #include "service.hpp" -namespace caelestia { +namespace caelestia::services { ServiceRef::ServiceRef(Service* service, QObject* parent) : QObject(parent) @@ -33,4 +33,4 @@ void ServiceRef::setService(Service* service) { } } -} // namespace caelestia +} // namespace caelestia::services diff --git a/plugin/src/Caelestia/Services/serviceref.hpp b/plugin/src/Caelestia/Services/serviceref.hpp index f1bd0f5..f0c2162 100644 --- a/plugin/src/Caelestia/Services/serviceref.hpp +++ b/plugin/src/Caelestia/Services/serviceref.hpp @@ -4,7 +4,7 @@ #include <qpointer.h> #include <qqmlintegration.h> -namespace caelestia { +namespace caelestia::services { class ServiceRef : public QObject { Q_OBJECT @@ -25,4 +25,4 @@ private: QPointer<Service> m_service; }; -} // namespace caelestia +} // namespace caelestia::services |