QtMobility Reference Documentation

QService Namespace

The QService namespace contains miscellaneous identifiers used throughout the Qt Service framework library. More...

 #include <QService>

Types

enum Scope { UserScope, SystemScope }
enum Type { Plugin, InterProcess }
enum UnrecoverableIPCError { ErrorUnknown, ErrorServiceNoLongerAvailable, ErrorOutofMemory, ErrorPermissionDenied, ErrorInvalidArguments }

Detailed Description

The QService namespace contains miscellaneous identifiers used throughout the Qt Service framework library.

Type Documentation

enum QService::Scope

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.

ConstantValueDescription
QService::UserScope0When 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::SystemScope1When 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.

enum QService::Type

Defines the type of the service

ConstantValueDescription
QService::Plugin0This denotes that the service is plug-in based.
QService::InterProcess1This denotes that the service is deployed using IPC mechanisms available on the current platform, such as DBus or local sockets.

enum QService::UnrecoverableIPCError

Defines the unrecoverable IPC error of the service

ConstantValueDescription
QService::ErrorUnknown0An unknown IPC error.
QService::ErrorServiceNoLongerAvailable1Indicates that the service is no longer available.
QService::ErrorOutofMemory2Indicates that the service is out of memoruy.
QService::ErrorPermissionDenied3Indicates that the permission of this service is denied.
QService::ErrorInvalidArguments4User uses invalid argument for this service.
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.