The QService namespace contains miscellaneous identifiers used throughout the Qt Service framework library. More...
#include <QService>
enum | Scope { UserScope, SystemScope } |
enum | Type { Plugin, InterProcess } |
enum | UnrecoverableIPCError { ErrorUnknown, ErrorServiceNoLongerAvailable, ErrorOutofMemory, ErrorPermissionDenied, ErrorInvalidArguments } |
The QService namespace contains miscellaneous identifiers used throughout the Qt Service framework library.
Defines the scope to be used when accessing services. Note that Symbian does not distinguish scopes and therefore UserScope and SystemScope may be used interchangeably.
Constant | Value | Description |
---|---|---|
QService::UserScope | 0 | When adding and removing services, uses a storage location specific to the current user. When searching for services and interface implementations, first searches in the user-specific location; if the service or interface implementation is not found, searches in the system-wide storage location (if the user has sufficient permissions to do so). |
QService::SystemScope | 1 | When adding and removing services, use a system-wide storage location accessible to all users. When searching for services and interface implementations, search only in the system-wide storage location. |
Defines the type of the service
Constant | Value | Description |
---|---|---|
QService::Plugin | 0 | This denotes that the service is plug-in based. |
QService::InterProcess | 1 | This denotes that the service is deployed using IPC mechanisms available on the current platform, such as DBus or local sockets. |
Defines the unrecoverable IPC error of the service
Constant | Value | Description |
---|---|---|
QService::ErrorUnknown | 0 | An unknown IPC error. |
QService::ErrorServiceNoLongerAvailable | 1 | Indicates that the service is no longer available. |
QService::ErrorOutofMemory | 2 | Indicates that the service is out of memoruy. |
QService::ErrorPermissionDenied | 3 | Indicates that the permission of this service is denied. |
QService::ErrorInvalidArguments | 4 | User uses invalid argument for this service. |
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.