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