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 d4ecf95ca5
commit 998f4e4d45
497 changed files with 2423 additions and 2425 deletions

View File

@@ -661,7 +661,7 @@ PyObject* ApplicationPy::sOpen(PyObject * /*self*/, PyObject *args)
FileHandler handler(fileName);
if (!handler.openFile()) {
QString ext = handler.extension();
Base::Console().Error("File type '%s' not supported\n", ext.toLatin1().constData());
Base::Console().error("File type '%s' not supported\n", ext.toLatin1().constData());
}
}
PY_CATCH;
@@ -685,7 +685,7 @@ PyObject* ApplicationPy::sInsert(PyObject * /*self*/, PyObject *args)
FileHandler handler(fileName);
if (!handler.importFile(std::string(DocName ? DocName : ""))) {
QString ext = handler.extension();
Base::Console().Error("File type '%s' not supported\n", ext.toLatin1().constData());
Base::Console().error("File type '%s' not supported\n", ext.toLatin1().constData());
}
} PY_CATCH;
@@ -787,7 +787,7 @@ PyObject* ApplicationPy::sExport(PyObject * /*self*/, PyObject *args)
}
}
else {
Base::Console().Error("File type '%s' not supported\n", ext.toLatin1().constData());
Base::Console().error("File type '%s' not supported\n", ext.toLatin1().constData());
}
} PY_CATCH;
@@ -806,7 +806,7 @@ PyObject* ApplicationPy::sSendActiveView(PyObject * /*self*/, PyObject *args)
const char* ppReturn = nullptr;
if (!Application::Instance->sendMsgToActiveView(psCommandStr,&ppReturn)) {
if (!Base::asBoolean(suppress)) {
Base::Console().Warning("Unknown view command: %s\n",psCommandStr);
Base::Console().warning("Unknown view command: %s\n",psCommandStr);
}
}
@@ -830,7 +830,7 @@ PyObject* ApplicationPy::sSendFocusView(PyObject * /*self*/, PyObject *args)
const char* ppReturn = nullptr;
if (!Application::Instance->sendMsgToFocusView(psCommandStr,&ppReturn)) {
if (!Base::asBoolean(suppress)) {
Base::Console().Warning("Unknown view command: %s\n",psCommandStr);
Base::Console().warning("Unknown view command: %s\n",psCommandStr);
}
}