Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -166,7 +166,7 @@ void TaskLineDecor::initializeRejectArrays()
|
||||
// get the current line tool appearance default
|
||||
void TaskLineDecor::getDefaults()
|
||||
{
|
||||
// Base::Console().Message("TLD::getDefaults()\n");
|
||||
// Base::Console().message("TLD::getDefaults()\n");
|
||||
m_color = LineFormat::getCurrentLineFormat().getColor();
|
||||
m_weight = LineFormat::getCurrentLineFormat().getWidth();
|
||||
m_visible = LineFormat::getCurrentLineFormat().getVisible();
|
||||
@@ -213,7 +213,7 @@ void TaskLineDecor::onVisibleChanged()
|
||||
|
||||
void TaskLineDecor::applyDecorations()
|
||||
{
|
||||
// Base::Console().Message("TLD::applyDecorations()\n");
|
||||
// Base::Console().message("TLD::applyDecorations()\n");
|
||||
for (auto& e: m_edges) {
|
||||
LineFormat *lf = getFormatAccessPtr(e);
|
||||
if (lf) {
|
||||
@@ -228,7 +228,7 @@ void TaskLineDecor::applyDecorations()
|
||||
|
||||
bool TaskLineDecor::accept()
|
||||
{
|
||||
// Base::Console().Message("TLD::accept()\n");
|
||||
// Base::Console().message("TLD::accept()\n");
|
||||
Gui::Document* doc = Gui::Application::Instance->getDocument(m_partFeat->getDocument());
|
||||
if (!doc)
|
||||
return false;
|
||||
@@ -247,7 +247,7 @@ bool TaskLineDecor::accept()
|
||||
|
||||
bool TaskLineDecor::reject()
|
||||
{
|
||||
// Base::Console().Message("TLD::reject()\n");
|
||||
// Base::Console().message("TLD::reject()\n");
|
||||
Gui::Document* doc = Gui::Application::Instance->getDocument(m_partFeat->getDocument());
|
||||
if (!doc)
|
||||
return false;
|
||||
@@ -308,7 +308,7 @@ void TaskRestoreLines::initUi()
|
||||
|
||||
void TaskRestoreLines::onAllPressed()
|
||||
{
|
||||
// Base::Console().Message("TRL::onAllPressed()\n");
|
||||
// Base::Console().message("TRL::onAllPressed()\n");
|
||||
onGeometryPressed();
|
||||
onCosmeticPressed();
|
||||
onCenterPressed();
|
||||
@@ -316,7 +316,7 @@ void TaskRestoreLines::onAllPressed()
|
||||
|
||||
void TaskRestoreLines::onGeometryPressed()
|
||||
{
|
||||
// Base::Console().Message("TRL::onGeometryPressed()\n");
|
||||
// Base::Console().message("TRL::onGeometryPressed()\n");
|
||||
restoreInvisibleGeoms();
|
||||
ui->l_Geometry->setText(QString::number(0));
|
||||
ui->l_All->setText(QString::number(countInvisibleLines()));
|
||||
@@ -324,7 +324,7 @@ void TaskRestoreLines::onGeometryPressed()
|
||||
|
||||
void TaskRestoreLines::onCosmeticPressed()
|
||||
{
|
||||
// Base::Console().Message("TRL::onCosmeticPressed()\n");
|
||||
// Base::Console().message("TRL::onCosmeticPressed()\n");
|
||||
restoreInvisibleCosmetics();
|
||||
ui->l_Cosmetic->setText(QString::number(0));
|
||||
ui->l_All->setText(QString::number(countInvisibleLines()));
|
||||
@@ -332,7 +332,7 @@ void TaskRestoreLines::onCosmeticPressed()
|
||||
|
||||
void TaskRestoreLines::onCenterPressed()
|
||||
{
|
||||
// Base::Console().Message("TRL::onCenterPressed()\n");
|
||||
// Base::Console().message("TRL::onCenterPressed()\n");
|
||||
restoreInvisibleCenters();
|
||||
ui->l_Center->setText(QString::number(0));
|
||||
ui->l_All->setText(QString::number(countInvisibleLines()));
|
||||
@@ -429,13 +429,13 @@ void TaskRestoreLines::restoreInvisibleCenters()
|
||||
|
||||
bool TaskRestoreLines::accept()
|
||||
{
|
||||
// Base::Console().Message("TRL::accept()\n");
|
||||
// Base::Console().message("TRL::accept()\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TaskRestoreLines::reject()
|
||||
{
|
||||
// Base::Console().Message("TRL::reject()\n");
|
||||
// Base::Console().message("TRL::reject()\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -487,14 +487,14 @@ void TaskDlgLineDecor::clicked(int i)
|
||||
|
||||
bool TaskDlgLineDecor::accept()
|
||||
{
|
||||
// Base::Console().Message("TDLD::accept()\n");
|
||||
// Base::Console().message("TDLD::accept()\n");
|
||||
widget->accept();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TaskDlgLineDecor::reject()
|
||||
{
|
||||
// Base::Console().Message("TDLD::reject()\n");
|
||||
// Base::Console().message("TDLD::reject()\n");
|
||||
widget->reject();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user