Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QDL Class Reference
[QtBaseModule]

The QDL class provides general utility functions for use with Qt Extended Data Linking. More...

    #include <QDL>

Static Public Members

Related Non-Members


Detailed Description

The QDL class provides general utility functions for use with Qt Extended Data Linking.

Qt Extended Data Linking (QDL) allows a client to link to data in a source. A client may be a stand-alone object (QDLClient) or attached to a widget (QDLBrowserClient or QDLEditClient). A source can be any application which acts as a container for useful data and provides the QDL Service.

This class provides useful functions for loading and saving links and dealing with general QDL usage.

First availability: Qtopia 2.0


Member Function Documentation

void QDL::activateLink ( const QString & href, const QList<QDLClient *> & clientList )   [static]

Activates the QDL link specified by href, which should be in the form QDL://<clientName>:<linkId>. The clientList should contain the QDL client which holds the link, and is identified by clientName.

QList<QDLClient *> QDL::clients ( QObject * parent )   [static]

Returns all QDLClient objects that are children of parent, recursively. This is useful for automatically loading links into multiple clients, for example:

    QDL::loadLinks( rec, QDL::clients( this ) );

void QDL::loadLinks ( const QString & str, QList<QDLClient *> clientList )   [static]

Loads the links stored in str into the clients in clientList. str is the base64 encoded binary data of the links created by QDL::saveLinks().

void QDL::releaseLinks ( const QString & str )   [static]

Releases all the QDLLinks stored in str generated by QDL::saveLinks()

void QDL::saveLinks ( QString & str, QList<QDLClient *> clientList )   [static]

Saves the links from the clients contained in clientList into str. str will be the base64 encoded binary link data.


Related Non-Members

QDataStream & operator<< ( QDataStream & stream, const QList<QDLClient *> & clientList )

This is an overloaded member function, provided for convenience.

Writes clientList to stream

QDataStream & operator>> ( QDataStream & stream, QList<QDLClient *> & clientList )

This is an overloaded member function, provided for convenience.

Reads clientList from the stream


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3