| 1 | /* |
| 2 | SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | SPDX-FileCopyrightText: 2020 Harald Sitter <[email protected]> |
| 4 | */ |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <PackageKit/Daemon> |
| 9 | #include <PackageKit/Transaction> |
| 10 | |
| 11 | class SambaInstallercxx . . $ SambaInstaller# : public QObjectcxx . . $ QObject# |
| 12 | { |
| 13 | Q_OBJECTcxx . . $ SambaInstaller#staticMetaObject. |
| 14 | Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(bool installing READ isInstalling NOTIFY installingChanged) |
| 15 | Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(bool installed READ isInstalled NOTIFY installedChanged) |
| 16 | Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(bool failed READ hasFailed NOTIFY failedChanged) |
| 17 | public: |
| 18 | using QObjectcxx . . $ QObject#::QObjectcxx . . $ QObject#QObject(3df3494e089587cd).; |
| 19 | |
| 20 | public Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!: |
| 21 | void installcxx . . $ SambaInstaller#install(49f6e7a06ebc5aa8).(); |
| 22 | bool isInstallingcxx . . $ SambaInstaller#isInstalling(50ce9a9e25b4a850).() const; |
| 23 | bool hasFailedcxx . . $ SambaInstaller#hasFailed(50ce9a9e25b4a850).() const; |
| 24 | |
| 25 | static bool isInstalledcxx . . $ SambaInstaller#isInstalled(c9857a73d68e59ba).(); |
| 26 | |
| 27 | Q_SIGNALScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:47:10`!: |
| 28 | void installingChangedcxx . . $ SambaInstaller#installingChanged(49f6e7a06ebc5aa8).(); |
| 29 | void installedChangedcxx . . $ SambaInstaller#installedChanged(49f6e7a06ebc5aa8).(); |
| 30 | void failedChangedcxx . . $ SambaInstaller#failedChanged(49f6e7a06ebc5aa8).(); |
| 31 | |
| 32 | private Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!: |
| 33 | void packageFinishedcxx . . $ SambaInstaller#packageFinished(243b702740158362).(PackageKitcxx . . $ PackageKit/::Transactioncxx . . $ PackageKit/Transaction#::Exitcxx . . $ PackageKit/Transaction#Exit# status); |
| 34 | |
| 35 | private: |
| 36 | void setFailedcxx . . $ SambaInstaller#setFailed(b45ddcbc8423892c).(bool failed); // **un**sets installing if it is set as well |
| 37 | void setInstallingcxx . . $ SambaInstaller#setInstalling(b45ddcbc8423892c).(bool installing); // **un**sets failed if set |
| 38 | |
| 39 | bool m_installingcxx . . $ SambaInstaller#m_installing. = false; |
| 40 | bool m_failedcxx . . $ SambaInstaller#m_failed. = false; |
| 41 | }; |