File indexing completed on 2024-05-12 04:44:29
0001 // SPDX-FileCopyrightText: Lukas Sommer <sommerluk@gmail.com> 0002 // SPDX-License-Identifier: BSD-2-Clause OR MIT 0003 0004 #ifndef ABSTRACTDIAGRAM_P_H 0005 #define ABSTRACTDIAGRAM_P_H 0006 0007 // Include the header of the public class of this private implementation. 0008 // #include "abstractdiagram.h" 0009 0010 #include <qglobal.h> 0011 0012 namespace PerceptualColor 0013 { 0014 /** @internal 0015 * 0016 * @brief Private implementation within the <em>Pointer to 0017 * implementation</em> idiom */ 0018 class AbstractDiagramPrivate final 0019 { 0020 public: 0021 /** @brief Constructor */ 0022 AbstractDiagramPrivate() = default; 0023 /** @brief Default destructor 0024 * 0025 * The destructor is non-<tt>virtual</tt> because 0026 * the class as a whole is <tt>final</tt>. */ 0027 ~AbstractDiagramPrivate() noexcept = default; 0028 0029 /** @brief Internal storage for @ref AbstractDiagram::isActuallyVisible. */ 0030 bool m_isActuallyVisible = false; 0031 0032 private: 0033 Q_DISABLE_COPY(AbstractDiagramPrivate) 0034 }; 0035 0036 } // namespace PerceptualColor 0037 0038 #endif // ABSTRACTDIAGRAM_P_H