KD Reports API Documentation  2.0
KDReportsErrorDetails_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2007-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDReports OR LicenseRef-KDAB-KDReports-US
8 **
9 ** Licensees holding valid commercial KD Reports licenses may use this file in
10 ** accordance with the KD Reports Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 
17 #ifndef KDREPORTSERRORDETAILS_P_H
18 #define KDREPORTSERRORDETAILS_P_H
19 
20 //
21 // W A R N I N G
22 // -------------
23 //
24 // This file is not part of the KD Reports API. It exists purely as an
25 // implementation detail. This header file may change from version to
26 // version without notice, or even be removed.
27 //
28 // We mean it.
29 //
30 
31 #include <QString>
32 
33 namespace KDReports {
34 class HLineElementHandler;
35 
36 class ErrorDetailsPrivate
37 {
38 public:
40  : m_hasError(false)
41  , m_line(-1)
42  , m_column(-1)
43  , m_hlineHandler(nullptr)
44  {
45  }
46 
47  bool m_hasError;
48  int m_line;
49  int m_column;
50  QString m_message;
51 
52  // Hack: storage for XmlElementHandler which lacks a d pointer
53  HLineElementHandler *m_hlineHandler;
54 };
55 
56 }
57 
58 #endif /* KDREPORTSERRORDETAILS_P_H */
KDReports::ErrorDetailsPrivate::m_column
int m_column
Definition: KDReportsErrorDetails_p.h:63
KDReports::ErrorDetailsPrivate::m_hlineHandler
HLineElementHandler * m_hlineHandler
Definition: KDReportsErrorDetails_p.h:67
KDReports::ErrorDetailsPrivate::m_message
QString m_message
Definition: KDReportsErrorDetails_p.h:64
KDReports::ErrorDetailsPrivate::m_hasError
bool m_hasError
Definition: KDReportsErrorDetails_p.h:61
KDReports::ErrorDetailsPrivate::ErrorDetailsPrivate
ErrorDetailsPrivate()
Definition: KDReportsErrorDetails_p.h:53
KDReports::ErrorDetailsPrivate::m_line
int m_line
Definition: KDReportsErrorDetails_p.h:62
KDReports
Definition: KDReportsAbstractReportLayout_p.h:30

© 2007-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated on Sat Jan 8 2022 02:38:32 for KD Reports API Documentation by doxygen 1.8.17