File indexing completed on 2024-06-23 05:49:21
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008-2009 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KASTEN_ABSTRACTCONNECTJOB_HPP 0010 #define KASTEN_ABSTRACTCONNECTJOB_HPP 0011 0012 // lib 0013 #include "kastencore_export.hpp" 0014 // KF 0015 #include <KJob> 0016 // Std 0017 #include <memory> 0018 0019 namespace Kasten { 0020 0021 class AbstractConnectJobPrivate; 0022 0023 class KASTENCORE_EXPORT AbstractConnectJob : public KJob 0024 { 0025 Q_OBJECT 0026 0027 protected: 0028 KASTENCORE_NO_EXPORT explicit AbstractConnectJob(AbstractConnectJobPrivate* d); 0029 0030 public: 0031 AbstractConnectJob(); 0032 0033 ~AbstractConnectJob() override; 0034 0035 protected: 0036 // emits documentLoaded() 0037 // TODO: or better name property LoadedDocument? 0038 0039 protected: 0040 const std::unique_ptr<AbstractConnectJobPrivate> d_ptr; 0041 }; 0042 0043 } 0044 0045 #endif