| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/controls/noopqmlitem.h`/ |
| 2 | // Copyright 2021 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/qmlitem.h"cxx . . $ `<file>/src/core/qmlitem.h`/ |
| 7 | #include "noopprofilepart.h"cxx . . $ `<file>/src/core/components/controls/noopprofilepart.h`/ |
| 8 | #include <QObject> |
| 9 | |
| 10 | class NoopQMLItemcxx . . $ NoopQMLItem# |
| 11 | : public QMLItemcxx . . $ QMLItem# |
| 12 | , public NoopProfilePartcxx . . $ NoopProfilePart#::Importercxx . . $ NoopProfilePart#Importer# |
| 13 | , public NoopProfilePartcxx . . $ NoopProfilePart#::Exportercxx . . $ NoopProfilePart#Exporter# |
| 14 | { |
| 15 | Q_OBJECTcxx . . $ NoopQMLItem#QPrivateSignal# |
| 16 | |
| 17 | public: |
| 18 | explicit NoopQMLItemcxx . . $ NoopQMLItem#NoopQMLItem(ced63f7c635d850d).() noexcept; |
| 19 | |
| 20 | void activatecxx . . $ NoopQMLItem#activate(b45ddcbc8423892c).(bool active) override; |
| 21 | |
| 22 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>> |
| 23 | provideImportercxx . . $ NoopQMLItem#provideImporter(c13a3bcac0db4745).(Itemcxx . . $ Item# const &i) override; |
| 24 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>> |
| 25 | provideExportercxx . . $ NoopQMLItem#provideExporter(3acccbde2694e33a).(Itemcxx . . $ Item# const &i) override; |
| 26 | |
| 27 | bool provideActivecxx . . $ NoopQMLItem#provideActive(50ce9a9e25b4a850).() const override; |
| 28 | |
| 29 | void takeActivecxx . . $ NoopQMLItem#takeActive(b45ddcbc8423892c).(bool active) override; |
| 30 | |
| 31 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> |
| 32 | initializercxx . . $ NoopQMLItem#initializer(7a83657deb216afe).(IQMLComponentFactorycxx . . $ IQMLComponentFactory# const &qmlComponentFactory, |
| 33 | QQmlApplicationEnginecxx . . $ QQmlApplicationEngine# &qmlEngine) override; |
| 34 | |
| 35 | private: |
| 36 | class Initializercxx . . $ NoopQMLItem#Initializer#; |
| 37 | |
| 38 | bool active_cxx . . $ NoopQMLItem#active_.; |
| 39 | |
| 40 | static bool register_cxx . . $ NoopQMLItem#register_(c9857a73d68e59ba).(); |
| 41 | static bool const registered_cxx . . $ NoopQMLItem#registered_.; |
| 42 | |
| 43 | static char const *const trStringscxx . . $ NoopQMLItem#trStrings.[]; |
| 44 | }; |