File indexing completed on 2024-05-12 16:02:14
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Boudewijn Rempt <boud@valdyas.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef WIDGETS_DEBUG_H_ 0007 #define WIDGETS_DEBUG_H_ 0008 0009 #include <QDebug> 0010 #include <QLoggingCategory> 0011 #include <kritawidgets_export.h> 0012 0013 extern const KRITAWIDGETS_EXPORT QLoggingCategory &WIDGETS_LOG(); 0014 0015 #define debugWidgets qCDebug(WIDGETS_LOG) 0016 #define warnWidgets qCWarning(WIDGETS_LOG) 0017 #define errorWidgets qCCritical(WIDGETS_LOG) 0018 0019 #endif