Kgapi

fileresumablecreatejob.h
1/*
2 * This file is part of LibKGAPI library
3 *
4 * SPDX-FileCopyrightText: 2020 David Barchiesi <david@barchie.si>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#pragma once
10
11#include "fileabstractresumablejob.h"
12#include "kgapidrive_export.h"
13
14namespace KGAPI2
15{
16
17namespace Drive
18{
19
20class KGAPIDRIVE_EXPORT FileResumableCreateJob : public KGAPI2::Drive::FileAbstractResumableJob
21{
22 Q_OBJECT
23
24public:
25 explicit FileResumableCreateJob(const AccountPtr &account, QObject *parent = nullptr);
26 explicit FileResumableCreateJob(const FilePtr &metadata, const AccountPtr &account, QObject *parent = nullptr);
27 explicit FileResumableCreateJob(QIODevice *device, const AccountPtr &account, QObject *parent = nullptr);
28 explicit FileResumableCreateJob(QIODevice *device, const FilePtr &metadata, const AccountPtr &account, QObject *parent = nullptr);
29 ~FileResumableCreateJob() override;
30
31protected:
32 [[nodiscard]] QUrl createUrl() override;
33
34private:
35 class Private;
37 friend class Private;
38};
39
40} // namespace Drive
41
42} // namespace KGAPI2
Abstract superclass for KGAPI2::Drive::File create or modify jobs that use chunked uploading of the f...
A job to fetch a single map tile described by a StaticMapUrl.
Definition blog.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.