File indexing completed on 2024-05-12 04:44:32

0001 // SPDX-FileCopyrightText: Lukas Sommer <sommerluk@gmail.com>
0002 // SPDX-License-Identifier: BSD-2-Clause OR MIT
0003 
0004 #ifndef EXTENDEDDOUBLEVALIDATOR_P_H
0005 #define EXTENDEDDOUBLEVALIDATOR_P_H
0006 
0007 // Include the header of the public class of this private implementation.
0008 // #include "extendeddoublevalidator.h"
0009 
0010 #include <qglobal.h>
0011 #include <qstring.h>
0012 
0013 namespace PerceptualColor
0014 {
0015 /** @internal
0016  *
0017  *  @brief Private implementation within the <em>Pointer to
0018  *  implementation</em> idiom */
0019 class ExtendedDoubleValidatorPrivate final
0020 {
0021 public:
0022     /** @brief Constructor */
0023     ExtendedDoubleValidatorPrivate() = default;
0024     /** @brief Default destructor
0025      *
0026      * The destructor is non-<tt>virtual</tt> because
0027      * the class as a whole is <tt>final</tt>. */
0028     ~ExtendedDoubleValidatorPrivate() noexcept = default;
0029 
0030     /** @brief Internal storage for property
0031      * @ref ExtendedDoubleValidator::prefix */
0032     QString m_prefix;
0033     /** @brief Internal storage for property
0034      * @ref ExtendedDoubleValidator::suffix */
0035     QString m_suffix;
0036 
0037 private:
0038     Q_DISABLE_COPY(ExtendedDoubleValidatorPrivate)
0039 };
0040 
0041 } // namespace PerceptualColor
0042 
0043 #endif // EXTENDEDDOUBLEVALIDATOR_P_H