From f109206c0536ab57babc174708dcb21b3277eb34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 9 May 2017 21:02:03 +0200 Subject: [PATCH] GuiDocument: rename a function to follow the naming guideline --- src/frontends/qt4/GuiDocument.cpp | 6 +++--- src/frontends/qt4/GuiDocument.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index e58554be00..99a248ca2c 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -1268,7 +1268,7 @@ GuiDocument::GuiDocument(GuiView & lv) connect(mathsModule->MathIndentCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(mathsModule->MathIndentCO, SIGNAL(activated(int)), - this, SLOT(EnableMathIndent(int))); + this, SLOT(enableMathIndent(int))); connect(mathsModule->MathIndentLE, SIGNAL(textChanged(const QString &)), this, SLOT(change_adaptor())); connect(mathsModule->MathIndentLengthCO, SIGNAL(activated(int)), @@ -1630,7 +1630,7 @@ void GuiDocument::allowMathIndent() { isValid(); } -void GuiDocument::EnableMathIndent(int item) +void GuiDocument::enableMathIndent(int item) { bool const enable = (item == 1); mathsModule->MathIndentLE->setEnabled(enable); @@ -3413,7 +3413,7 @@ void GuiDocument::paramsToDialog() indent = 1; } mathsModule->MathIndentCO->setCurrentIndex(indent); - EnableMathIndent(indent); + enableMathIndent(indent); } if (bp_.math_number_before) mathsModule->MathNumberingPosCO->setCurrentIndex(0); diff --git a/src/frontends/qt4/GuiDocument.h b/src/frontends/qt4/GuiDocument.h index 996fb303e0..b5e09d3ec4 100644 --- a/src/frontends/qt4/GuiDocument.h +++ b/src/frontends/qt4/GuiDocument.h @@ -110,7 +110,7 @@ private Q_SLOTS: void setSkip(int); void enableSkip(bool); void allowMathIndent(); - void EnableMathIndent(int); + void enableMathIndent(int); void browseLayout(); void browseMaster(); void classChanged(); -- 2.39.5