#include <PhosphorShellLauncher/CalculatorProvider.h>
|
| static std::optional< double > | evaluate (QStringView expression) |
| static bool | isCalculation (QStringView expression) |
| static QString | format (double value) |
◆ CalculatorProvider()
| PhosphorShellLauncher::CalculatorProvider::CalculatorProvider |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ ~CalculatorProvider()
| PhosphorShellLauncher::CalculatorProvider::~CalculatorProvider |
( |
| ) |
|
|
override |
◆ activate()
| bool PhosphorShellLauncher::CalculatorProvider::activate |
( |
const QString & | resultId, |
|
|
Activation | activation ) |
|
nodiscardoverridevirtual |
◆ displayName()
| QString PhosphorShellLauncher::CalculatorProvider::displayName |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ evaluate()
| std::optional< double > PhosphorShellLauncher::CalculatorProvider::evaluate |
( |
QStringView | expression | ) |
|
|
staticnodiscard |
◆ format()
| QString PhosphorShellLauncher::CalculatorProvider::format |
( |
double | value | ) |
|
|
staticnodiscard |
◆ iconName()
| QString PhosphorShellLauncher::CalculatorProvider::iconName |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ id()
| QString PhosphorShellLauncher::CalculatorProvider::id |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ isCalculation()
| bool PhosphorShellLauncher::CalculatorProvider::isCalculation |
( |
QStringView | expression | ) |
|
|
staticnodiscard |
◆ results()
◆ setQuery()
| void PhosphorShellLauncher::CalculatorProvider::setQuery |
( |
const QString & | query | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: