File indexing completed on 2024-05-19 04:39:57

0001 /*
0002     This file is part of the KDE project
0003 
0004     SPDX-FileCopyrightText: 2006 Kevin Ottens <ervin@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #ifndef KCOMPOUNDJOB_P_H
0010 #define KCOMPOUNDJOB_P_H
0011 
0012 #include "kcompoundjob.h"
0013 
0014 namespace KDevCoreAddons
0015 {
0016 // This is a private class, but it's exported for KIO::Job's
0017 // usage. Other Job classes in KDE Frameworks may use it too.
0018 class KDEVPLATFORMUTIL_EXPORT KCompoundJobPrivate
0019 {
0020 public:
0021     KCompoundJobPrivate();
0022     virtual ~KCompoundJobPrivate();
0023 
0024     virtual void disconnectSubjob(KJob *job);
0025 
0026     KJob *q_ptr = nullptr;
0027 
0028     QList<KJob *> m_subjobs;
0029 
0030     Q_DECLARE_PUBLIC(KCompoundJob)
0031 };
0032 
0033 } // namespace KDevCoreAddons
0034 
0035 #endif