Pimcommon

contenttypewidget.h
1/*
2 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
3 SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6
7*/
8
9#pragma once
10
11#include "pimcommonakonadi_export.h"
12#include <QComboBox>
13
14namespace PimCommon
15{
16/**
17 * @brief The ContentTypeWidget class is a combobox allowing the
18 * user to select one of the multiple collection types.
19 *
20 * @author Laurent Montel <montel@kde.org>
21 */
22class PIMCOMMONAKONADI_EXPORT ContentTypeWidget : public QComboBox
23{
24 Q_OBJECT
25public:
26 explicit ContentTypeWidget(QWidget *parent = nullptr);
27 ~ContentTypeWidget() override;
28
29 void setCurrentItem(const QString &name);
30
31 /// Label name that should be used in a QFormLayout with a ContentTypeWidget
32 static QString labelName();
33};
34}
The ContentTypeWidget class is a combobox allowing the user to select one of the multiple collection ...
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.