diff options
Diffstat (limited to 'plugin/src/Caelestia/qalculator.hpp')
| -rw-r--r-- | plugin/src/Caelestia/qalculator.hpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugin/src/Caelestia/qalculator.hpp b/plugin/src/Caelestia/qalculator.hpp deleted file mode 100644 index a07a8a2..0000000 --- a/plugin/src/Caelestia/qalculator.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include <qobject.h> -#include <qqmlintegration.h> - -namespace caelestia { - -class Qalculator : public QObject { - Q_OBJECT - QML_ELEMENT - QML_SINGLETON - -public: - explicit Qalculator(QObject* parent = nullptr); - - Q_INVOKABLE QString eval(const QString& expr, bool printExpr = true) const; -}; - -} // namespace caelestia |