Console: rename PascalCase named methods to camelCase

This commit is contained in:
bofdahof
2025-03-30 00:50:27 +10:00
committed by Kacper Donat
parent 1dbc0638c3
commit ba2c2ca5ad
497 changed files with 2423 additions and 2425 deletions

View File

@@ -44,7 +44,7 @@ PyMOD_INIT_FUNC(Drawing)
PyMOD_Return(nullptr);
}
PyObject* mod = Drawing::initModule();
Base::Console().Log("Loading Drawing module... done\n");
Base::Console().log("Loading Drawing module... done\n");
// NOTE: To finish the initialization of our own type objects we must

View File

@@ -123,7 +123,7 @@ private:
else {
str += "No OCCT Exception Message";
}
Base::Console().Error("%s\n", str.c_str());
Base::Console().error("%s\n", str.c_str());
throw Py::Exception(Part::PartExceptionOCCError, str);
}
catch (const Base::Exception& e) {
@@ -139,7 +139,7 @@ private:
str += "C++ exception thrown (";
str += e.what();
str += ")";
Base::Console().Error("%s\n", str.c_str());
Base::Console().error("%s\n", str.c_str());
throw Py::RuntimeError(str);
}
}

View File

@@ -149,7 +149,7 @@ App::DocumentObjectExecReturn* FeaturePage::execute(void)
fi.setFile(App::Application::getResourceDir() + "Mod/Drawing/Templates/" + fi.fileName());
// try the redirect
if (!fi.isReadable()) {
Base::Console().Log("FeaturePage::execute() not able to open %s!\n",
Base::Console().log("FeaturePage::execute() not able to open %s!\n",
Template.getValue());
std::string error = std::string("Cannot open file ") + Template.getValue();
return new App::DocumentObjectExecReturn(error);

View File

@@ -58,7 +58,7 @@ PyMOD_INIT_FUNC(DrawingGui)
}
PyObject* mod = DrawingGui::initModule();
Base::Console().Log("Loading GUI of Drawing module... done\n");
Base::Console().log("Loading GUI of Drawing module... done\n");
// instantiating the commands
CreateDrawingCommands();