10#include <KLDAPCore/LdapClient>
12#include <KLDAPCore/LdapObject>
15#include <QSharedPointer>
19namespace IncidenceEditorNG
21class ResourceItem :
public QObject
34 ResourceItem(
const KLDAPCore::LdapDN &dn,
37 const ResourceItem::Ptr &parent = ResourceItem::Ptr());
38 ~ResourceItem()
override;
40 [[nodiscard]] ResourceItem::Ptr child(
int number);
41 [[nodiscard]]
int childCount()
const;
42 [[nodiscard]]
int columnCount()
const;
43 [[nodiscard]]
QVariant data(
int column)
const;
45 [[nodiscard]]
bool insertChild(
int position,
const ResourceItem::Ptr &item);
46 [[nodiscard]] ResourceItem::Ptr parent();
47 [[nodiscard]]
bool removeChildren(
int position,
int count);
48 [[nodiscard]]
int childNumber()
const;
53 ResourceItem::Ptr parentItem;
56 void searchFinished();
95 const KLDAPCore::LdapDN dn;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:25 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.