| Home · All Classes · Annotated · Functions |
The QDLClient class provides a set of links and communications with a data source. More...
#include <QDLClient>
Inherits QObject.
Inherited by QDLWidgetClient.
The QDLClient class provides a set of links and communications with a data source.
A QDLClient contains a set of links and handles communication with a data source.
A single client can have an unlimited number of links to load and save links to and from a client use the utility functions QDL::loadLinks() and QDL::saveLinks() respectively.
This class operates independently of any other object. The subclass QDLWidgetClient extends this class to operate on a widget and its text dependently.
See also QDLWidgetClient.
Constructs a QDLClient. parent is passed on to QObject and name is the name specified for the QDL client.
Destroys a QDLClient.
Adds newLink to the client. A new link identifier is generated.
Clears all links in the client.
Returns the number of links in the client.
Returns the request hint for this client.
Subclasses may override this function if they wish to dynamically determine a hint.
See also setHint() and QDLWidgetClient::hint().
Returns true if a request for links is active, otherwise returns false.
Returns the link specified by the link identifier lid. If no such link exists a null link is returned.
See also setLink().
Returns a link identifier to QDLLink map of all links in the client.
Removes the link specified by the link identifier lid.
Sends a request for links to the data source listening on channel.
This is an overloaded member function, provided for convenience.
Prompts the user to select a data source application and determines the source application channel based on the user selection and passes it to the above function. parent is the parent of the dialog used.
Sets the request hint for the client to hint. A hint is sent to a data source as part of the request to help it determine pertinent data.
A hint can only be used with a QDLClient by calling setHint() explicitly.
See also hint() and QDLWidgetClient.
Sets the link specified by the link identifier lid to newLink. If no link for lid currently exists, it is created.
See also link().
Verifies that all links in the client are valid. The default implementation does nothing, This function is called from QDL::saveLinks().
Subclasses that wish to perform any verification processing should override this function.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |