KPeople
20 #ifndef BASE_PERSONS_DATA_SOURCE_H
21 #define BASE_PERSONS_DATA_SOURCE_H
26 #include <kpeople/kpeople_export.h>
28 #include "allcontactsmonitor.h"
29 #include "contactmonitor.h"
34 class BasePersonsDataSourcePrivate;
37 class KPEOPLE_EXPORT BasePersonsDataSource :
public QObject
41 BasePersonsDataSource(QObject *parent,
const QVariantList &args = QVariantList());
42 virtual ~BasePersonsDataSource();
47 AllContactsMonitorPtr allContactsMonitor();
52 ContactMonitorPtr contactMonitor(
const QString &contactUri);
58 virtual QString sourcePluginId()
const = 0;
61 virtual AllContactsMonitor *createAllContactsMonitor() = 0;
67 virtual ContactMonitor *createContactMonitor(
const QString &contactUri);
69 Q_DISABLE_COPY(BasePersonsDataSource)
70 Q_DECLARE_PRIVATE(BasePersonsDataSource)
71 BasePersonsDataSourcePrivate *d_ptr;
75 #endif // BASE_PERSONS_DATA_SOURCE_H
The KPeople namespace contains all the classes for Libkpeople.
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Fri Feb 13 2015 15:16:39 by
doxygen 1.8.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.