LCOV - code coverage report
Current view: top level - src/lib - shapeid_p.h Coverage Total Hit
Project: Smithy Qt Lines: 100.0 % 1 1
Version: 0.1.0-pre Functions: - 0 0

            Line data    Source code
       1              : // SPDX-FileCopyrightText: 2013-2025 Paul Colby <git@colby.id.au>
       2              : // SPDX-License-Identifier: LGPL-3.0-or-later
       3              : 
       4              : /*!
       5              :  * \file
       6              :  * Declares the ShapeIdPrivate class.
       7              :  */
       8              : 
       9              : #ifndef QTSMITHY_SHAPEID_P_H
      10              : #define QTSMITHY_SHAPEID_P_H
      11              : 
      12              : #include <qtsmithy/shapeid.h>
      13              : 
      14              : #include <QCoreApplication>
      15              : #include <QLoggingCategory>
      16              : 
      17              : QTSMITHY_BEGIN_NAMESPACE
      18              : 
      19              : class QTSMITHY_EXPORT ShapeIdPrivate
      20              : {
      21              : Q_DECLARE_TR_FUNCTIONS(ShapeId);
      22              : 
      23              : public:
      24              :     explicit ShapeIdPrivate(ShapeId * const q);
      25              : 
      26              :     void setShapeId(const QString &shapeId);
      27              : 
      28              : protected:
      29              :     ShapeId * q_ptr; ///< Internal q-pointer.
      30           12 :     static Q_LOGGING_CATEGORY(lc, "smithy.ShapeId", QtInfoMsg); ///< Logging category for ShapeID.
      31              : 
      32              : private:
      33              :     QString memberName;
      34              :     QString nameSpace;
      35              :     QString shapeName;
      36              : 
      37              :     Q_DECLARE_PUBLIC(ShapeId)
      38              :     QTSMITHY_BEFRIEND_TEST(ShapeId)
      39              : };
      40              : 
      41              : QTSMITHY_END_NAMESPACE
      42              : 
      43              : #endif // QTSMITHY_SHAPEID_P_H
        

Generated by: LCOV version 2.2-1