kdecore: minor KDebug review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-23 05:46:59 +03:00
parent 271b1a0588
commit 6403e15075
2 changed files with 2 additions and 4 deletions

View file

@ -134,7 +134,7 @@ KDECORE_EXPORT QDebug operator<<(QDebug s, const KDateTime &time);
* @internal
* A class for using operator()
*/
class KDebug //krazy= ?
class KDebug
{
const char* const file;
const char* const funcinfo;
@ -150,7 +150,6 @@ public:
{ return kDebugStream(level, area, file, line, funcinfo); }
};
#define kDebug KDebug(QtDebugMsg, __FILE__, __LINE__, Q_FUNC_INFO)
#define kWarning KDebug(QtWarningMsg, __FILE__, __LINE__, Q_FUNC_INFO)
#define kError KDebug(QtCriticalMsg, __FILE__, __LINE__, Q_FUNC_INFO)

View file

@ -1,5 +1,5 @@
# For applications, libraries and plugins that use kDebug(), kWarning(), etc.
# without and an entry here defaults apply, their output will also not be
# without an entry here defaults apply, their output will also not be
# configurable via KCM (kdebugrc can still be edited manually)
#
# Format : number description
@ -130,4 +130,3 @@
67100 kmix
87400 kcron
87500 ksystemlog