Kgapi

filetouchjob.cpp
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#include "filetouchjob.h"
10#include "driveservice.h"
11
12using namespace KGAPI2;
13using namespace KGAPI2::Drive;
14
15class Q_DECL_HIDDEN FileTouchJob::Private
16{
17};
18
19FileTouchJob::FileTouchJob(const QString &fileId, const AccountPtr &account, QObject *parent)
20 : FileAbstractModifyJob(fileId, account, parent)
21 , d(new Private)
22{
23}
24
25FileTouchJob::FileTouchJob(const QStringList &filesIds, const AccountPtr &account, QObject *parent)
26 : FileAbstractModifyJob(filesIds, account, parent)
27 , d(new Private)
28{
29}
30
31FileTouchJob::FileTouchJob(const FilePtr &file, const AccountPtr &account, QObject *parent)
32 : FileAbstractModifyJob(file, account, parent)
33 , d(new Private)
34{
35}
36
37FileTouchJob::FileTouchJob(const FilesList &files, const AccountPtr &account, QObject *parent)
38 : FileAbstractModifyJob(files, account, parent)
39 , d(new Private)
40{
41}
42
43FileTouchJob::~FileTouchJob()
44{
45 delete d;
46}
47
48QUrl FileTouchJob::url(const QString &fileId)
49{
50 return DriveService::touchFileUrl(fileId);
51}
52
53#include "moc_filetouchjob.cpp"
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 Fri Nov 29 2024 11:54:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.