resourceabc.h
This class is the implementation of subfolder resources for KABC.
Definition: resourceabc.h:45
virtual void setSubresourceActive(const TQString &, bool active)=0
(De-)activate a subresource.
virtual void setSubresourceCompletionWeight(const TQString &, int weight)=0
Set completion weight for a given subresource.
virtual TQStringList subresources() const
If this resource has subresources, return a TQStringList of them.
Definition: resourceabc.h:66
void signalSubresourceAdded(KPIM::ResourceABC *, const TQString &type, const TQString &subResource)
This signal is emitted when a subresource is added.
virtual TQString subresourceLabel(const TQString &) const =0
Label for a given subresource.
void signalSubresourceRemoved(KPIM::ResourceABC *, const TQString &type, const TQString &subResource)
This signal is emitted when a subresource is removed.
virtual int subresourceCompletionWeight(const TQString &) const =0
Completion weight for a given subresource.
virtual TQMap< TQString, TQString > uidToResourceMap() const =0
Get the UID to subresource map.
virtual bool subresourceActive(const TQString &) const
Is this subresource active or not?
Definition: resourceabc.h:71
virtual bool subresourceWritable(const TQString &) const =0
Is the given subresource writable?