]> git.lyx.org Git - features.git/commitdiff
GuiDocument: rename a function to follow the naming guideline
authorUwe Stöhr <uwestoehr@lyx.org>
Tue, 9 May 2017 19:02:03 +0000 (21:02 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Tue, 9 May 2017 19:02:03 +0000 (21:02 +0200)
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/GuiDocument.h

index e58554be00899554d9944a03c3768f802c84ffb2..99a248ca2c341777d2f679ddee3c728d9d285adc 100644 (file)
@@ -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);
index 996fb303e0bbbf11f7299eded59b0810b3bab6d3..b5e09d3ec4cea0fecdcc16cdce6438a4992977e7 100644 (file)
@@ -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();