File indexing completed on 2024-05-12 15:56:41

0001 /* This file is part of the KDE project
0002  * SPDX-FileCopyrightText: 2009 Thomas Zander <zander@kde.org>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #include "KoInsets.h"
0008 
0009 #ifndef QT_NO_DEBUG_STREAM
0010 QDebug operator<<(QDebug debug, const KoInsets &insets)
0011 {
0012 #ifndef NDEBUG
0013     debug.nospace() << "KoInsets [top=" << insets.top;
0014     debug.nospace() << ", left=" << insets.left;
0015     debug.nospace() << ", bottom=" << insets.bottom;
0016     debug.nospace() << ", right=" << insets.right << ']';
0017 #else
0018     Q_UNUSED(insets);
0019 #endif
0020     return debug.space();
0021 }
0022 #endif