Pimcommon

createresource.h
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "pimcommonakonadi_export.h"
10#include <QMap>
11#include <QObject>
12#include <QVariant>
13
14namespace PimCommon
15{
16/**
17 * @brief The CreateResource class
18 * @author Laurent Montel <montel@kde.org>
19 */
20class PIMCOMMONAKONADI_EXPORT CreateResource : public QObject
21{
22 Q_OBJECT
23public:
24 explicit CreateResource(QObject *parent = nullptr);
25 ~CreateResource() override;
26
27 [[nodiscard]] QString createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree = false);
28
29Q_SIGNALS:
30 void createResourceInfo(const QString &);
31 void createResourceError(const QString &);
32};
33}
The CreateResource class.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.