Home · All Classes · Grouped Classes · Annotated · Functions

QtopiaDocumentServer Class Reference

The QtopiaDocumentServer class provides an instance of the Qtopia Document Server. More...

    #include <QtopiaDocumentServer>

Inherits QObject.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QtopiaDocumentServer class provides an instance of the Qtopia Document Server.

The Qtopia Document Server provides applications with a mechanism to interact with the Qtopia Document System without having direct access to the document databases or even the file system. A single instance of the document server runs in a server process, and client applications connect to this server in order to gain access to the functionality provided by the document system API.

The document server runs multiple threads and should be shut down before being destroyed in order to allow the threads to exit cleanly. A shut down can be initiated with the shutdown() slot, and the shutdownComplete() signal will be emitted when this is complete.


Member Function Documentation

QtopiaDocumentServer::QtopiaDocumentServer ( QObject * parent = 0 )

Constructs a new Qtopia document server with the parent parent.

Only one instance of the document server should ever exist at once across all Qtopia applications.

QtopiaDocumentServer::~QtopiaDocumentServer ()   [virtual]

Destroys the document server object.

void QtopiaDocumentServer::shutdown ()

Initiates a shutdown of the document server. The shutdownComplete() signal will be emitted when all the document server threads have exited.

See also shutdownComplete().

void QtopiaDocumentServer::shutdownComplete ()   [signal]

Emitted by the server when the server has successfully been shutdown in response to a call to shutdown().

See also shutdown().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3