Krita Source Code Documentation
Loading...
Searching...
No Matches
KoInsets.cpp
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2009 Thomas Zander <zander@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#include "KoInsets.h"
8
9#ifndef QT_NO_DEBUG_STREAM
10QDebug operator<<(QDebug debug, const KoInsets &insets)
11{
12#ifndef NDEBUG
13 debug.nospace() << "KoInsets [top=" << insets.top;
14 debug.nospace() << ", left=" << insets.left;
15 debug.nospace() << ", bottom=" << insets.bottom;
16 debug.nospace() << ", right=" << insets.right << ']';
17#else
18 Q_UNUSED(insets);
19#endif
20 return debug.space();
21}
22#endif
QDebug operator<<(QDebug debug, const KoInsets &insets)
Definition KoInsets.cpp:10
qreal bottom
Bottom inset.
Definition KoInsets.h:50
qreal right
Right inset.
Definition KoInsets.h:52
qreal top
Top inset.
Definition KoInsets.h:49
qreal left
Left inset.
Definition KoInsets.h:51