KDECore
kdebug.h
Go to the documentation of this file.
227 static inline KDE_DEPRECATED QDebug kdDebug(int area = KDE_DEFAULT_DEBUG_AREA) { return kDebug(area); }
228 static inline KDE_DEPRECATED QDebug kdWarning(int area = KDE_DEFAULT_DEBUG_AREA) { return kWarning(area); }
229 static inline KDE_DEPRECATED QDebug kdError(int area = KDE_DEFAULT_DEBUG_AREA) { return kError(area); }
230 static inline KDE_DEPRECATED QDebug kdFatal(int area = KDE_DEFAULT_DEBUG_AREA) { return kFatal(area); }
305 WrongSyntax operator()(const char*) {return WrongSyntax();} // error! Use kDebug() << "..." or kWarning() << "..." instead.
312 # define kDebug(...) for (bool _k_kDebugDoOutput_ = !KDebug::hasNullOutputQtDebugMsg(__VA_ARGS__); \
static bool hasNullOutput(QtMsgType type, bool condition, int area, bool enableByDefault)
Definition: kdebug.cpp:818
KDebug(QtMsgType type, const char *f=0, int l=-1, const char *info=0)
Definition: kdebug.h:251
static bool hasNullOutputQtDebugMsg(bool condition, int area=KDE_DEFAULT_DEBUG_AREA)
Definition: kdebug.h:274
QDebug operator()(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
Definition: kdebug.h:261
static int registerArea(const QByteArray &areaName, bool enabled=true)
Definition: kdebug.cpp:856
static bool hasNullOutputQtDebugMsg(int area=KDE_DEFAULT_DEBUG_AREA)
Definition: kdebug.h:271
A class representing a date and time with an associated time zone.
Definition: kdatetime.h:171
Definition: kdebug.h:237
Definition: kdebug.h:243
QDebug kDebugStream(QtMsgType level, int area, const char *file=0, int line=-1, const char *funcinfo=0)
Definition: kdebug.cpp:763
Block(const char *label, int area=KDE_DEFAULT_DEBUG_AREA)
Definition: kdebug.cpp:881
Definition: kdebug.h:224
Definition: kdebug.h:201
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.