KD Reports API Documentation  2.2
KDReportsElement.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2007 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #include "KDReportsElement.h"
12 #include <QBrush>
13 
14 class KDReports::ElementPrivate
15 {
16 public:
17  QBrush m_background;
18 };
19 
21  : d(new ElementPrivate)
22 {
23 }
24 
26  : d(new ElementPrivate(*other.d))
27 {
28 }
29 
31 {
32  if (&other == this)
33  return *this;
34  *d = *other.d;
35  return *this;
36 }
37 
39 {
40 }
41 
42 void KDReports::Element::setBackground(const QBrush &brush)
43 {
44  d->m_background = brush;
45 }
46 
48 {
49  return d->m_background;
50 }
void setBackground(const QBrush &brush)
Element & operator=(const Element &other)
QBrush background() const

© 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 by doxygen 1.9.1