| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/controls/controlmodeqmlitem.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "controlmodeprofilepart.h"cxx . . $ `<file>/src/core/components/controls/controlmodeprofilepart.h`/ |
| 7 | #include "core/qmlitem.h"cxx . . $ `<file>/src/core/qmlitem.h`/ |
| 8 | #include <QList> |
| 9 | #include <QObject> |
| 10 | #include <QString> |
| 11 | #include <string> |
| 12 | #include <string_view> |
| 13 | #include <vector> |
| 14 | |
| 15 | class ControlModeQMLItemcxx . . $ ControlModeQMLItem# |
| 16 | : public QMLItemcxx . . $ QMLItem# |
| 17 | , public ControlModeProfilePartcxx . . $ ControlModeProfilePart#::Importercxx . . $ ControlModeProfilePart#Importer# |
| 18 | , public ControlModeProfilePartcxx . . $ ControlModeProfilePart#::Exportercxx . . $ ControlModeProfilePart#Exporter# |
| 19 | { |
| 20 | Q_OBJECTcxx . . $ ControlModeQMLItem#qt_staticMetaObjectContent. |
| 21 | |
| 22 | public: |
| 23 | explicit ControlModeQMLItemcxx . . $ ControlModeQMLItem#ControlModeQMLItem(c6e332c41c54746f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# id) noexcept; |
| 24 | |
| 25 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 26 | void modeChangedcxx . . $ ControlModeQMLItem#modeChanged(3520e46b33348bf6).(QStringcxx . . $ QString# const &mode); |
| 27 | void modesChangedcxx . . $ ControlModeQMLItem#modesChanged(4c9f0945b8b27034).(QListcxx . . $ QList#<QStringcxx . . $ QString#> const &modes); |
| 28 | |
| 29 | public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 30 | void changeModecxx . . $ ControlModeQMLItem#changeMode(3520e46b33348bf6).(QStringcxx . . $ QString# const &mode); |
| 31 | |
| 32 | public: |
| 33 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>> |
| 34 | provideImportercxx . . $ ControlModeQMLItem#provideImporter(c13a3bcac0db4745).(Itemcxx . . $ Item# const &i) override; |
| 35 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>> |
| 36 | provideExportercxx . . $ ControlModeQMLItem#provideExporter(3acccbde2694e33a).(Itemcxx . . $ Item# const &i) override; |
| 37 | |
| 38 | bool provideActivecxx . . $ ControlModeQMLItem#provideActive(50ce9a9e25b4a850).() const override; |
| 39 | stdcxx . . $ std/::stringcxx . . $ std/string# const &provideModecxx . . $ ControlModeQMLItem#provideMode(f4fff0029955a25f).() const override; |
| 40 | |
| 41 | void takeActivecxx . . $ ControlModeQMLItem#takeActive(b45ddcbc8423892c).(bool active) override; |
| 42 | void takeModecxx . . $ ControlModeQMLItem#takeMode(9c546c94e5fcce4e).(stdcxx . . $ std/::stringcxx . . $ std/string# const &mode) override; |
| 43 | |
| 44 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> |
| 45 | initializercxx . . $ ControlModeQMLItem#initializer(7a83657deb216afe).(IQMLComponentFactorycxx . . $ IQMLComponentFactory# const &qmlComponentFactory, |
| 46 | QQmlApplicationEnginecxx . . $ QQmlApplicationEngine# &qmlEngine) override; |
| 47 | |
| 48 | void activatecxx . . $ ControlModeQMLItem#activate(b45ddcbc8423892c).(bool active) override; |
| 49 | |
| 50 | private: |
| 51 | class Initializercxx . . $ ControlModeQMLItem#Initializer#; |
| 52 | void takeModescxx . . $ ControlModeQMLItem#takeModes(eb4a68411a16b7e7).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#> const &modes); |
| 53 | |
| 54 | bool active_cxx . . $ ControlModeQMLItem#active_.; |
| 55 | stdcxx . . $ std/::stringcxx . . $ std/string# mode_cxx . . $ ControlModeQMLItem#mode_.; |
| 56 | }; |