kresources
23 #ifndef KRESOURCES_MANAGERIMPL_H
24 #define KRESOURCES_MANAGERIMPL_H
27 #include <QtCore/QString>
34 class ManagerNotifier;
48 void readConfig( KConfig * );
49 void writeConfig( KConfig * );
56 void setStandardResource(
Resource *resource );
58 void setActive(
Resource *resource,
bool active );
60 Resource::List *resourceList();
62 QList<Resource *> resources();
65 QList<Resource *> resources(
bool active );
67 QStringList resourceNames();
69 static QString defaultConfigFile(
const QString &family );
72 void signalKResourceAdded( QString managerId, QString resourceId );
73 void signalKResourceModified( QString managerId, QString resourceId );
74 void signalKResourceDeleted( QString managerId, QString resourceId );
78 void dbusKResourceAdded(
const QString &managerId,
79 const QString &resourceId );
80 void dbusKResourceModified(
const QString &managerId,
81 const QString &resourceId );
82 void dbusKResourceDeleted(
const QString &managerId,
83 const QString &resourceId );
86 void createStandardConfig();
88 Resource *readResourceConfig(
const QString &identifier,
bool checkActive );
89 void writeResourceConfig(
Resource *resource,
bool checkActive );
91 void removeResource(
Resource *resource );
93 Resource *getResource(
const QString &identifier );
95 class ManagerImplPrivate;
96 ManagerImplPrivate *
const d;
This class provides a resource which is managed in a general way.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.