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

@@ -133,7 +133,7 @@ void PythonThread::run()
#endif
}
catch (const Base::PyException& e) {
Base::Console().Error(e.what());
Base::Console().error(e.what());
}
}
@@ -181,26 +181,26 @@ short SandboxObject::mustExecute(void) const
App::DocumentObjectExecReturn *SandboxObject::execute(void)
{
Base::Console().Message("SandboxObject::execute()\n");
Base::Console().message("SandboxObject::execute()\n");
return 0;
}
void SandboxObject::onChanged(const App::Property* prop)
{
if (prop == &Integer)
Base::Console().Message("SandboxObject::onChanged(%d)\n", Integer.getValue());
Base::Console().message("SandboxObject::onChanged(%d)\n", Integer.getValue());
App::DocumentObject::onChanged(prop);
}
void SandboxObject::setIntValue(int v)
{
Base::Console().Message("SandboxObject::setIntValue(%d)\n", v);
Base::Console().message("SandboxObject::setIntValue(%d)\n", v);
Integer.setValue(v);
}
void SandboxObject::resetValue()
{
Base::Console().Message("SandboxObject::resetValue()\n");
Base::Console().message("SandboxObject::resetValue()\n");
Integer.setValue(4711);
}
@@ -215,7 +215,7 @@ DocumentTestThread::~DocumentTestThread()
void DocumentTestThread::run()
{
Base::Console().Message("DocumentTestThread::run()\n");
Base::Console().message("DocumentTestThread::run()\n");
App::Document* doc = App::GetApplication().getActiveDocument();
DocumentProtector dp(doc);
SandboxObject* obj = dp.addObject<SandboxObject>();