Kgapi

filetouchjob.h
1/*
2 * This file is part of LibKGAPI library
3 *
4 * SPDX-FileCopyrightText: 2013 Daniel Vrátil <dvratil@redhat.com>
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 "fileabstractmodifyjob.h"
12#include "kgapidrive_export.h"
13
14namespace KGAPI2
15{
16
17namespace Drive
18{
19
20class KGAPIDRIVE_EXPORT FileTouchJob : public KGAPI2::Drive::FileAbstractModifyJob
21{
22 Q_OBJECT
23
24public:
25 explicit FileTouchJob(const QString &fileId, const AccountPtr &account, QObject *parent = nullptr);
26 explicit FileTouchJob(const QStringList &filesIds, const AccountPtr &account, QObject *parent = nullptr);
27 explicit FileTouchJob(const FilePtr &file, const AccountPtr &account, QObject *parent = nullptr);
28 explicit FileTouchJob(const FilesList &files, const AccountPtr &account, QObject *parent = nullptr);
29 ~FileTouchJob() override;
30
31protected:
32 [[nodiscard]] QUrl url(const QString &fileId) override;
33
34private:
35 class Private;
36 Private *const d;
37 friend class Private;
38};
39
40} // namespace Drive
41
42} // namespace KGAPI2
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.