LeechCraft
0.6.70-17793-g6e56308e78
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
debugprinters.cpp
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#include "
debugprinters.h
"
10
#include <QtDebug>
11
12
QDebug
operator<<
(QDebug debug,
const
QDomDocument::ParseResult& result)
13
{
14
QDebugStateSaver saver { debug };
15
if
(result)
16
debug <<
"success"
;
17
else
18
debug.nospace () <<
"failed at "
19
<< result.errorLine <<
":"
<< result.errorColumn
20
<<
": "
<< result.errorMessage;
21
return
debug;
22
}
operator<<
QDebug operator<<(QDebug debug, const QDomDocument::ParseResult &result)
Definition
debugprinters.cpp:12
debugprinters.h
src
util
sll
debugprinters.cpp
Generated by
1.16.1