KPIM::ResourceABC Class Reference
This class is the implementation of subfolder resources for KABC. More...
#include <resourceabc.h>
Inherits Resource.
Public Slots
- virtual void setSubresourceActive (const QString &, bool active)=0
- virtual void setSubresourceCompletionWeight (const QString &, int weight)=0
Signals
- void signalSubresourceAdded (KPIM::ResourceABC *, const QString &type, const QString &subResource)
- void signalSubresourceRemoved (KPIM::ResourceABC *, const QString &type, const QString &subResource)
Public Member Functions
- ResourceABC (const KConfig *)
- virtual QMap< QString, QString > uidToResourceMap () const =0
- virtual QStringList subresources () const
- virtual bool subresourceActive (const QString &) const
- virtual int subresourceCompletionWeight (const QString &) const =0
- virtual QString subresourceLabel (const QString &) const =0
Detailed Description
This class is the implementation of subfolder resources for KABC.More methods will be added to give KAddressBook the possibility to handle subresources.
Member Function Documentation
|
Get the UID to subresource map. This is necessary to implement the search order. The returned map has the UID as key and the resource it's in as the data. |
|
If this resource has subresources, return a QStringList of them. In most cases, resources do not have subresources, so this is by default just empty. |
|
Is this subresource active or not?
|
|
Completion weight for a given subresource.
|
|
Label for a given subresource.
|
|
(De-)activate a subresource.
|
|
Set completion weight for a given subresource.
|
|
This signal is emitted when a subresource is added.
|
|
This signal is emitted when a subresource is removed.
|
The documentation for this class was generated from the following files:
- resourceabc.h
- resourceabc.cpp