Pimcommon

selectmulticollectiondialog.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8#include "pimcommonakonadi_export.h"
9#include <Akonadi/Collection>
10#include <QDialog>
11
12namespace PimCommon
13{
14class SelectMultiCollectionDialogPrivate;
15/**
16 * @brief The SelectMultiCollectionDialog class
17 * @author Laurent Montel <montel@kde.org>
18 */
19class PIMCOMMONAKONADI_EXPORT SelectMultiCollectionDialog : public QDialog
20{
21 Q_OBJECT
22public:
23 explicit SelectMultiCollectionDialog(const QString &mimetype, const QList<Akonadi::Collection::Id> &selectedCollection, QWidget *parent = nullptr);
24 explicit SelectMultiCollectionDialog(const QString &mimetype, QWidget *parent = nullptr);
26
27 [[nodiscard]] QList<Akonadi::Collection> selectedCollection() const;
28
29private:
30 PIMCOMMONAKONADI_NO_EXPORT void initialize(const QString &mimetype,
32 PIMCOMMONAKONADI_NO_EXPORT void writeConfig();
33 PIMCOMMONAKONADI_NO_EXPORT void readConfig();
34 std::unique_ptr<SelectMultiCollectionDialogPrivate> const d;
35};
36}
The SelectMultiCollectionDialog class.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:23 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.