Pimcommon

acllistview.h
1/*
2 SPDX-FileCopyrightText: 2015-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_private_export.h"
10#include <QListView>
11namespace PimCommon
12{
13class PIMCOMMONAKONADI_TESTS_EXPORT AclListView : public QListView
14{
15 Q_OBJECT
16public:
17 explicit AclListView(QWidget *parent = nullptr);
18 ~AclListView() override;
19
20public Q_SLOTS:
21 void slotCollectionCanBeAdministrated(bool b);
22
23protected:
24 void paintEvent(QPaintEvent *event) override;
25
26private:
27 PIMCOMMONAKONADI_NO_EXPORT void generalPaletteChanged();
28 QColor mTextColor;
29 bool mCanBeAdministrated = true;
30};
31}
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.