commit f109206c0536ab57babc174708dcb21b3277eb34
Author: Uwe Stöhr <[email protected]>
Date: Tue May 9 21:02:03 2017 +0200
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 e58554b..99a248c 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 996fb30..b5e09d3 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();