kabc
resourceabc.h
This class is the implementation of subfolder resources for KABC.
Definition resourceabc.h:42
virtual void setSubresourceCompletionWeight(const QString &subResource, int weight)=0
Set completion weight for a given subresource.
virtual void setSubresourceActive(const QString &subResource, bool active)=0
(De-)activate a subresource.
virtual int subresourceCompletionWeight(const QString &subResource) const =0
Completion weight for a given subresource.
void signalSubresourceRemoved(KABC::ResourceABC *, const QString &type, const QString &subResource)
This signal is emitted when a subresource is removed.
void signalSubresourceAdded(KABC::ResourceABC *, const QString &type, const QString &subResource)
This signal is emitted when a subresource is added.
void signalSubresourceChanged(KABC::ResourceABC *, const QString &type, const QString &subResource)
This signal is emitted when subresource properties have changed.
virtual QStringList subresources() const
If this resource has subresources, return a QStringList of them.
Definition resourceabc.cpp:40
virtual QMap< QString, QString > uidToResourceMap() const =0
Get the UID to subresource map.
virtual bool subresourceWritable(const QString &) const =0
Is the given subresource writable?
virtual bool subresourceActive(const QString &) const
Is this subresource active or not?
Definition resourceabc.cpp:45
virtual QString subresourceLabel(const QString &subResource) const =0
Label for a given subresource.
QString type() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.