]>
cloud.milkyroute.net Git - dolphin.git/blob - src/kitemviews/kitemliststyleoption.cpp
2 * SPDX-FileCopyrightText: 2011 Peter Penz <peter.penz19@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0-or-later
7 #include "kitemliststyleoption.h"
10 KItemListStyleOption::KItemListStyleOption() :
19 extendedSelectionRegion(false),
25 KItemListStyleOption::~KItemListStyleOption()
29 bool KItemListStyleOption::operator==(const KItemListStyleOption
& other
) const
31 return rect
== other
.rect
33 && fontMetrics
== other
.fontMetrics
34 && palette
== other
.palette
35 && padding
== other
.padding
36 && horizontalMargin
== other
.horizontalMargin
37 && verticalMargin
== other
.verticalMargin
38 && iconSize
== other
.iconSize
39 && extendedSelectionRegion
== other
.extendedSelectionRegion
40 && maxTextLines
== other
.maxTextLines
41 && maxTextWidth
== other
.maxTextWidth
;
44 bool KItemListStyleOption::operator!=(const KItemListStyleOption
& other
) const
46 return !(*this == other
);