mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: minor KDebug review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
271b1a0588
commit
6403e15075
2 changed files with 2 additions and 4 deletions
|
@ -134,7 +134,7 @@ KDECORE_EXPORT QDebug operator<<(QDebug s, const KDateTime &time);
|
||||||
* @internal
|
* @internal
|
||||||
* A class for using operator()
|
* A class for using operator()
|
||||||
*/
|
*/
|
||||||
class KDebug //krazy= ?
|
class KDebug
|
||||||
{
|
{
|
||||||
const char* const file;
|
const char* const file;
|
||||||
const char* const funcinfo;
|
const char* const funcinfo;
|
||||||
|
@ -150,7 +150,6 @@ public:
|
||||||
{ return kDebugStream(level, area, file, line, funcinfo); }
|
{ return kDebugStream(level, area, file, line, funcinfo); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define kDebug KDebug(QtDebugMsg, __FILE__, __LINE__, Q_FUNC_INFO)
|
#define kDebug KDebug(QtDebugMsg, __FILE__, __LINE__, Q_FUNC_INFO)
|
||||||
#define kWarning KDebug(QtWarningMsg, __FILE__, __LINE__, Q_FUNC_INFO)
|
#define kWarning KDebug(QtWarningMsg, __FILE__, __LINE__, Q_FUNC_INFO)
|
||||||
#define kError KDebug(QtCriticalMsg, __FILE__, __LINE__, Q_FUNC_INFO)
|
#define kError KDebug(QtCriticalMsg, __FILE__, __LINE__, Q_FUNC_INFO)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# For applications, libraries and plugins that use kDebug(), kWarning(), etc.
|
# 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)
|
# configurable via KCM (kdebugrc can still be edited manually)
|
||||||
#
|
#
|
||||||
# Format : number description
|
# Format : number description
|
||||||
|
@ -130,4 +130,3 @@
|
||||||
67100 kmix
|
67100 kmix
|
||||||
87400 kcron
|
87400 kcron
|
||||||
87500 ksystemlog
|
87500 ksystemlog
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue