File indexing completed on 2025-02-09 07:11:24
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008-2009, 2011 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 #include "abstractfilesystemsyncfromremotejob.hpp" 0010 #include "abstractfilesystemsyncfromremotejob_p.hpp" 0011 0012 namespace Kasten { 0013 0014 AbstractFileSystemSyncFromRemoteJob::AbstractFileSystemSyncFromRemoteJob(AbstractModelFileSystemSynchronizer* synchronizer) 0015 : AbstractSyncFromRemoteJob(new AbstractFileSystemSyncFromRemoteJobPrivate(this, synchronizer)) 0016 { 0017 } 0018 0019 AbstractFileSystemSyncFromRemoteJob::~AbstractFileSystemSyncFromRemoteJob() = default; 0020 0021 AbstractModelFileSystemSynchronizer* AbstractFileSystemSyncFromRemoteJob::synchronizer() const 0022 { 0023 Q_D(const AbstractFileSystemSyncFromRemoteJob); 0024 0025 return d->synchronizer(); 0026 } 0027 QFile* AbstractFileSystemSyncFromRemoteJob::file() const 0028 { 0029 Q_D(const AbstractFileSystemSyncFromRemoteJob); 0030 0031 return d->file(); 0032 } 0033 0034 void AbstractFileSystemSyncFromRemoteJob::start() 0035 { 0036 Q_D(AbstractFileSystemSyncFromRemoteJob); 0037 0038 d->start(); 0039 } 0040 0041 void AbstractFileSystemSyncFromRemoteJob::completeRead(bool success) 0042 { 0043 Q_D(AbstractFileSystemSyncFromRemoteJob); 0044 0045 d->completeRead(success); 0046 } 0047 0048 } 0049 0050 // have to include this because of Q_PRIVATE_SLOT 0051 #include "moc_abstractfilesystemsyncfromremotejob.cpp"