summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/qalculator.hpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 00:24:54 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 00:24:54 +1000
commitcfc1dc447c8bf6306de74d1fb1dba7943a1e1232 (patch)
tree3c3fa2f649635a071173032f01c647af9a80b0f2 /plugin/src/Caelestia/qalculator.hpp
parentnix: fix package name typo (#567) (diff)
downloadcaelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.gz
caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.bz2
caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.zip
plugin: namespace everything
Diffstat (limited to 'plugin/src/Caelestia/qalculator.hpp')
-rw-r--r--plugin/src/Caelestia/qalculator.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/qalculator.hpp b/plugin/src/Caelestia/qalculator.hpp
index 266699f..1791999 100644
--- a/plugin/src/Caelestia/qalculator.hpp
+++ b/plugin/src/Caelestia/qalculator.hpp
@@ -3,6 +3,8 @@
#include <QObject>
#include <qqmlintegration.h>
+namespace caelestia {
+
class Qalculator : public QObject {
Q_OBJECT
QML_ELEMENT
@@ -13,3 +15,5 @@ public:
Q_INVOKABLE QString eval(const QString& expr, bool printExpr = true) const;
};
+
+} // namespace caelestia