12#include "kgapidrive_export.h"
20class KGAPIDRIVE_EXPORT FileAbstractDataJob :
public KGAPI2::Job
31 Q_PROPERTY(
bool convert READ convert WRITE setConvert)
47 Q_PROPERTY(
bool enforceSingleParent READ enforceSingleParent WRITE setEnforceSingleParent)
55 Q_PROPERTY(
QString includePermissionsForView READ includePermissionsForView WRITE setIncludePermissionsForView)
64 Q_PROPERTY(
bool ocr READ ocr WRITE setOcr)
72 Q_PROPERTY(
QString ocrLanguage READ ocrLanguage WRITE setOcrLanguage)
81 Q_PROPERTY(
bool pinned READ pinned WRITE setPinned)
90 Q_PROPERTY(
bool supportsAllDrives READ supportsAllDrives WRITE setSupportsAllDrives)
97 Q_PROPERTY(
QString timedTextLanguage READ timedTextLanguage WRITE setTimedTextLanguage)
104 Q_PROPERTY(
QString timedTextTrackName READ timedTextTrackName WRITE setTimedTextTrackName)
113 Q_PROPERTY(
bool useContentAsIndexableText READ useContentAsIndexableText WRITE setUseContentAsIndexableText)
116 explicit FileAbstractDataJob(
const AccountPtr &account,
QObject *parent =
nullptr);
117 ~FileAbstractDataJob()
override;
119 [[nodiscard]]
bool convert()
const;
120 void setConvert(
bool convert);
122 [[nodiscard]]
bool enforceSingleParent()
const;
123 void setEnforceSingleParent(
bool enforceSingleParent);
125 [[nodiscard]]
QString includePermissionsForView()
const;
126 void setIncludePermissionsForView(
const QString &includePermissionsForView);
128 [[nodiscard]]
bool ocr()
const;
129 void setOcr(
bool ocr);
131 [[nodiscard]]
QString ocrLanguage()
const;
132 void setOcrLanguage(
const QString &ocrLanguage);
134 [[nodiscard]]
bool pinned()
const;
135 void setPinned(
bool pinned);
145 KGAPIDRIVE_DEPRECATED
bool supportsAllDrives()
const;
155 KGAPIDRIVE_DEPRECATED
void setSupportsAllDrives(
bool supportsAllDrives);
157 [[nodiscard]]
QString timedTextLanguage()
const;
158 void setTimedTextLanguage(
const QString &timedTextLanguage);
160 [[nodiscard]]
QString timedTextTrackName()
const;
161 void setTimedTextTrackName(
const QString &timedTextTrackName);
163 [[nodiscard]]
bool useContentAsIndexableText()
const;
164 void setUseContentAsIndexableText(
bool useContentAsIndexableText);
172 friend class Private;
Abstract base class for all jobs in LibKGAPI.
A job to fetch a single map tile described by a StaticMapUrl.
T convert(const QVariant &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.