summaryrefslogtreecommitdiff
path: root/qml_plugin
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-07-27 13:14:10 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-07-27 13:14:10 +0800
commit1f9873b40fee2d33c5b7103a25077ec61a387063 (patch)
tree29a8b875c1a44e3781ab3f486c74ee6b7a9df078 /qml_plugin
parentdf74bc4c98036f6b0bddf1c9baf772274e33606a (diff)
refactor: ISmartCalc
new(SmartCalc): Unit
Diffstat (limited to 'qml_plugin')
-rw-r--r--qml_plugin/build.rs2
-rw-r--r--qml_plugin/src/launcher.rs2
-rw-r--r--qml_plugin/src/launcher/smartcalc.rs (renamed from qml_plugin/src/launcher/calc.rs)0
3 files changed, 2 insertions, 2 deletions
diff --git a/qml_plugin/build.rs b/qml_plugin/build.rs
index 2adb19c..8a02b92 100644
--- a/qml_plugin/build.rs
+++ b/qml_plugin/build.rs
@@ -13,6 +13,6 @@ fn main() {
CxxQtBuilder::new_qml_module(QmlModule::new(NAME).plugin_type(PluginType::Dynamic))
.qt_module("Qml")
- .files(["src/launcher/calc.rs"])
+ .files(["src/launcher/smartcalc.rs"])
.build();
}
diff --git a/qml_plugin/src/launcher.rs b/qml_plugin/src/launcher.rs
index 5632eea..8cb8676 100644
--- a/qml_plugin/src/launcher.rs
+++ b/qml_plugin/src/launcher.rs
@@ -1 +1 @@
-pub mod calc;
+pub mod smartcalc;
diff --git a/qml_plugin/src/launcher/calc.rs b/qml_plugin/src/launcher/smartcalc.rs
index 7b1b066..7b1b066 100644
--- a/qml_plugin/src/launcher/calc.rs
+++ b/qml_plugin/src/launcher/smartcalc.rs