File indexing completed on 2024-12-01 04:48:04
0001 /* 0002 This file is part of oxaccess. 0003 0004 SPDX-FileCopyrightText: 2009 Tobias Koenig <tokoe@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include <KJob> 0012 0013 #include "folder.h" 0014 #include "object.h" 0015 0016 namespace OXA 0017 { 0018 class ObjectMoveJob : public KJob 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 ObjectMoveJob(const Object &object, const Folder &destinationFolder, QObject *parent = nullptr); 0024 0025 void start() override; 0026 0027 [[nodiscard]] Object object() const; 0028 0029 private: 0030 void davJobFinished(KJob *); 0031 Object mObject; 0032 Folder mDestinationFolder; 0033 }; 0034 }