Attica
provider.h
94 * The server provides the services specified in the services section, not necessarily all of them.
148 This should be used as identifier when referring to this provider but you don't want to use the full provider object.
306 PostJob *registerAccount(const QString &id, const QString &password, const QString &mail, const QString &firstName, const QString &lastName);
311 ListJob<Person> *requestPersonSearchByLocation(qreal latitude, qreal longitude, qreal distance = 0.0, int page = 0, int pageSize = 20);
312 PostJob *postLocation(qreal latitude, qreal longitude, const QString &city = QString(), const QString &country = QString());
366 ListJob<Achievement> *requestAchievements(const QString &contentId, const QString &achievementId, const QString &userId);
373 ItemPostJob<Achievement> *addNewAchievement(const QString &id, const Achievement &newAchievement);
379 PutJob *editAchievement(const QString &contentId, const QString &achievementId, const Achievement &achievement);
382 * Deletes an achievement on the server. The achievement passed as an argument doesn't need complete
389 PostJob *setAchievementProgress(const QString &id, const QVariant &progress, const QDateTime ×tamp);
540 Attica::PostJob *uploadTarballToBuildService(const QString &projectId, const QString &fileName, const QByteArray &payload);
580 searchContents(const Category::List &categories, const QString &search = QString(), SortMode mode = Rating, uint page = 0, uint pageSize = 10);
600 @param distributions list of distributions to filter by, if empty no filtering by distribution is done
624 ItemJob<DownloadItem> *downloadLink(const QString &contentId, const QString &itemId = QStringLiteral("1"));
634 ItemPostJob<Content> *editContent(const Category &updatedCategory, const QString &contentId, const Content &updatedContent);
637 PostJob *setDownloadFile(const QString &contentId, const QString &fileName, QIODevice *payload);
638 PostJob *setDownloadFile(const QString &contentId, const QString &fileName, const QByteArray &payload);
647 PostJob *setPreviewImage(const QString &contentId, const QString &previewId, const QString &fileName, const QByteArray &image);
653 ListJob<KnowledgeBaseEntry> *searchKnowledgeBase(const Content &content, const QString &search, SortMode, int page, int pageSize);
658 ListJob<Event> *requestEvent(const QString &country, const QString &search, const QDate &startAt, SortMode mode, int page, int pageSize);
662 * @param comment::Type type of the comment @see Comment::Type (content / forum / knowledgebase / event)
669 ListJob<Comment> *requestComments(const Comment::Type commentType, const QString &id, const QString &id2, int page, int pageSize);
672 * @param commentType type of the comment @see CommentType (content / forum / knowledgebase / event)
701 ListJob<Topic> *requestTopics(const QString &forum, const QString &search, const QString &description, SortMode mode, int page, int pageSize);
727 Provider(PlatformDependent *internals, const QUrl &baseUrl, const QString &name, const QUrl &icon = QUrl());
The Provider class represents one Open Collaboration Service provider.
Definition provider.h:97
ItemJob< PrivateData > * requestPrivateData()
Fetches all stored private data.
Definition provider.h:329
Q_SCRIPTABLE CaptureState status()
Publisher
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.