]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kitemliststyleoption.cpp
Merge remote-tracking branch 'fork/work/zakharafoniam/useful-groups'
[dolphin.git] / src / kitemviews / kitemliststyleoption.cpp
index 6e4aaa96eecfaef86646375c996af98b54ce3cb2..7ca6bd1d5a5f7fc8e35874740a2099fb4c5ed365 100644 (file)
@@ -6,19 +6,18 @@
 
 #include "kitemliststyleoption.h"
 
-
-KItemListStyleOption::KItemListStyleOption() :
-    rect(),
-    font(),
-    fontMetrics(QFont()),
-    palette(),
-    padding(-1),
-    horizontalMargin(-1),
-    verticalMargin(-1),
-    iconSize(-1),
-    extendedSelectionRegion(false),
-    maxTextLines(0),
-    maxTextWidth(0)
+KItemListStyleOption::KItemListStyleOption()
+    : rect()
+    , font()
+    , fontMetrics(QFont())
+    , palette()
+    , padding(-1)
+    , horizontalMargin(-1)
+    , verticalMargin(-1)
+    , iconSize(-1)
+    , extendedSelectionRegion(false)
+    , maxTextLines(0)
+    , maxTextWidth(0)
 {
 }
 
@@ -26,22 +25,14 @@ KItemListStyleOption::~KItemListStyleOption()
 {
 }
 
-bool KItemListStyleOption::operator==(const KItemListStyleOptionother) const
+bool KItemListStyleOption::operator==(const KItemListStyleOption &other) const
 {
-    return rect == other.rect
-            && font == other.font
-            && fontMetrics == other.fontMetrics
-            && palette == other.palette
-            && padding == other.padding
-            && horizontalMargin == other.horizontalMargin
-            && verticalMargin == other.verticalMargin
-            && iconSize == other.iconSize
-            && extendedSelectionRegion == other.extendedSelectionRegion
-            && maxTextLines == other.maxTextLines
-            && maxTextWidth == other.maxTextWidth;
+    return rect == other.rect && font == other.font && fontMetrics == other.fontMetrics && palette == other.palette && padding == other.padding
+        && horizontalMargin == other.horizontalMargin && verticalMargin == other.verticalMargin && iconSize == other.iconSize
+        && extendedSelectionRegion == other.extendedSelectionRegion && maxTextLines == other.maxTextLines && maxTextWidth == other.maxTextWidth;
 }
 
-bool KItemListStyleOption::operator!=(const KItemListStyleOptionother) const
+bool KItemListStyleOption::operator!=(const KItemListStyleOption &other) const
 {
     return !(*this == other);
 }