Purpose

nextcloudplugin.cpp
1/*
2 SPDX-FileCopyrightText: 2017 Lim Yuen Hoe <yuenhoe86@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#include "nextcloudjob.h"
8#include <purpose/pluginbase.h>
9
10#include <KPluginFactory>
11#include <QUrl>
12
13class NextcloudPlugin : public Purpose::PluginBase
14{
16public:
17 using PluginBase::PluginBase;
18 Purpose::Job *createJob() const override
19 {
20 return new NextcloudJob(nullptr);
21 }
22};
23
24K_PLUGIN_CLASS_WITH_JSON(NextcloudPlugin, "nextcloudplugin.json")
25
26#include "nextcloudplugin.moc"
#define K_PLUGIN_CLASS_WITH_JSON(classname, jsonFile)
Job that will actually perform the sharing.
Definition job.h:34
Base class to implement by plugins.
Definition pluginbase.h:29
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.