Kgapi
9#include "kgapidrive_export.h"
13#include <QSharedPointer>
24class KGAPIDRIVE_EXPORT App :
public KGAPI2::Object
32 enum Category { UndefinedCategory, ApplicationCategory, DocumentCategory, DocumentSharedCategory };
35 explicit Icon(
const Icon &other);
44 [[nodiscard]]
int size()
const;
45 [[nodiscard]] QUrl iconUrl()
const;
51 friend class App::Private;
54 using IconPtr = QSharedPointer<Icon>;
55 using IconsList = QList<IconPtr>;
58 explicit App(
const App &other);
66 [[nodiscard]] QString id()
const;
67 [[nodiscard]] QString
name()
const;
68 [[nodiscard]] QString objectType()
const;
69 [[nodiscard]]
bool supportsCreate()
const;
70 [[nodiscard]]
bool supportsImport()
const;
71 [[nodiscard]]
bool installed()
const;
72 [[nodiscard]]
bool authorized()
const;
73 [[nodiscard]]
bool useByDefault()
const;
74 [[nodiscard]] QUrl productUrl()
const;
75 [[nodiscard]] QStringList primaryMimeTypes()
const;
76 [[nodiscard]] QStringList secondaryMimeTypes()
const;
77 [[nodiscard]] QStringList primaryFileExtensions()
const;
78 [[nodiscard]] QStringList secondaryFileExtensions()
const;
79 [[nodiscard]] IconsList icons()
const;
81 static AppsList fromJSONFeed(
const QByteArray &jsonData);
82 static AppPtr fromJSON(
const QByteArray &jsonData);
A job to fetch a single map tile described by a StaticMapUrl.
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
QString name(StandardAction id)
Category category(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:30 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.