File indexing completed on 2024-11-24 04:54:53
0001 /* 0002 * SPDX-FileCopyrightText: 2013 Aleix Pol Gonzalez <aleixpol@blue-systems.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <Transaction/Transaction.h> 0010 0011 class DummyResource; 0012 class DummyTransaction : public Transaction 0013 { 0014 Q_OBJECT 0015 public: 0016 DummyTransaction(DummyResource *app, Role role); 0017 DummyTransaction(DummyResource *app, const AddonList &list, Role role); 0018 0019 void cancel() override; 0020 void proceed() override; 0021 0022 private Q_SLOTS: 0023 void iterateTransaction(); 0024 void finishTransaction(); 0025 0026 private: 0027 bool m_iterate = true; 0028 DummyResource *m_app; 0029 };