Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user