NepomukDaemons
Nepomuk::ServiceControl Class Reference
#include <servicecontrol.h>
Inheritance diagram for Nepomuk::ServiceControl:

Public Types | |
enum | Errors { ErrorUnknownServiceName = -9, ErrorServiceAlreadyRunning = -10, ErrorFailedToStart = -11, ErrorMissingDependency = -12 } |
Public Slots | |
bool | isInitialized () const |
void | setServiceInitialized (bool success) |
void | shutdown () |
void | start () |
Signals | |
void | serviceInitialized (bool success) |
Public Member Functions | |
ServiceControl (const QString &serviceName, const KService::Ptr &service, QObject *parent=0) | |
~ServiceControl () | |
Static Public Member Functions | |
static QString | dbusServiceName (const QString &serviceName) |
Detailed Description
Definition at line 27 of file servicecontrol.h.
Member Enumeration Documentation
- Enumerator:
-
ErrorUnknownServiceName ErrorServiceAlreadyRunning ErrorFailedToStart ErrorMissingDependency
Definition at line 37 of file servicecontrol.h.
Constructor & Destructor Documentation
Nepomuk::ServiceControl::ServiceControl | ( | const QString & | serviceName, | |
const KService::Ptr & | service, | |||
QObject * | parent = 0 | |||
) |
Definition at line 28 of file servicecontrol.cpp.
Nepomuk::ServiceControl::~ServiceControl | ( | ) |
Definition at line 37 of file servicecontrol.cpp.
Member Function Documentation
Definition at line 102 of file servicecontrol.cpp.
bool Nepomuk::ServiceControl::isInitialized | ( | ) | const [slot] |
Definition at line 49 of file servicecontrol.cpp.
void Nepomuk::ServiceControl::serviceInitialized | ( | bool | success | ) | [signal] |
void Nepomuk::ServiceControl::setServiceInitialized | ( | bool | success | ) | [slot] |
Definition at line 42 of file servicecontrol.cpp.
void Nepomuk::ServiceControl::shutdown | ( | ) | [slot] |
Definition at line 96 of file servicecontrol.cpp.
void Nepomuk::ServiceControl::start | ( | ) | [slot] |
Definition at line 55 of file servicecontrol.cpp.
The documentation for this class was generated from the following files: