text: #pragma once
  #ifndef CPP_TYPE_H_
  #define CPP_TYPE_H_
  
  #include <QtCore/QObject>
  #include <QtCore/QString>
  #include <QtQml/qqml.h>
  
  class CppType: public QObject {
      Q_OBJECT
      Q_PROPERTY(QString theText READ theText WRITE setTheText NOTIFY theTextChanged)
      QML_ELEMENT
  
  public:
      explicit CppType(QObject *parent = nullptr);
  
      QString theText() const;
      void setTheText(const QString &theText);
  
  signals:
      void theTextChanged();
  
  private:
      QString theText_;
  };
  
  #endif
  