[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevelop/5.3] kdevplatform/sublime: Sublime: Rename private member of IdealButtonBarLayout for cons
From:       Amish Naidu <null () kde ! org>
Date:       2018-09-27 18:02:11
Message-ID: E1g5ac7-0003t1-VF () code ! kde ! org
[Download RAW message or body]

Git commit 030545919cded0fb3696baf688c3e76fa16854e5 by Amish Naidu.
Committed on 27/09/2018 at 18:01.
Pushed by anaidu into branch '5.3'.

Sublime: Rename private member of IdealButtonBarLayout for consistency

Renamed older member of the class to conform to modern style guidelines
and consistency with the newly added member.

Okayed on IRC by frinring

M  +2    -2    kdevplatform/sublime/ideallayout.cpp
M  +1    -1    kdevplatform/sublime/ideallayout.h

https://commits.kde.org/kdevelop/030545919cded0fb3696baf688c3e76fa16854e5

diff --git a/kdevplatform/sublime/ideallayout.cpp \
b/kdevplatform/sublime/ideallayout.cpp index 41a328726b..89b43132f1 100644
--- a/kdevplatform/sublime/ideallayout.cpp
+++ b/kdevplatform/sublime/ideallayout.cpp
@@ -43,7 +43,7 @@ namespace
 IdealButtonBarLayout::IdealButtonBarLayout(Qt::Orientation orientation, QWidget* \
                styleParent)
     : QBoxLayout(toDirection(orientation)) // creating a child layout, styleParent \
is only saved for style  , m_styleParentWidget(styleParent)
-    , _orientation(orientation)
+    , m_orientation(orientation)
 {
     if (m_styleParentWidget) {
         m_styleParentWidget->installEventFilter(this);
@@ -57,7 +57,7 @@ IdealButtonBarLayout::~IdealButtonBarLayout() = default;
 
 Qt::Orientation IdealButtonBarLayout::orientation() const
 {
-    return _orientation;
+    return m_orientation;
 }
 
 Qt::Orientations IdealButtonBarLayout::expandingDirections() const
diff --git a/kdevplatform/sublime/ideallayout.h b/kdevplatform/sublime/ideallayout.h
index 2983dd6336..da453c0c34 100644
--- a/kdevplatform/sublime/ideallayout.h
+++ b/kdevplatform/sublime/ideallayout.h
@@ -49,7 +49,7 @@ protected:
 
 private:
     QWidget* const m_styleParentWidget;
-    const Qt::Orientation _orientation;
+    const Qt::Orientation m_orientation;
 };
 
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic