Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QDLLink class fully describes a QDL link. More...
#include <QDLLink>
The QDLLink class fully describes a QDL link.
The QDLLink class contains all the information for a QDL link. It allows the link to be activated on the source, contains a description and icon for the presentation of a link, and a flag to determine if the link is broken.
A QDL link is activated by the QDLLink::activate() method. The application specific data required to activate the link is then transfered to the QDL source through the Qt Extended service.
When the QDL source needs to delete the linked data QDLLink::setBroken() should be called to inform clients that link activation will not succeed. The client can then decide how, or if broken links should be displayed.
Constructs a Null QDLLink
See also isNull().
Constructs a QDLLink with description and an icon name. The Qt Extended service service contains a QDS service for activating the QDLLink on the QDL source and application specific data for the activation is stored in data.
Constructs a QDLLink by deep copying other.
Constructs a QDLLink from the data in dataObject
Destroy a QDL Link object.
Activates the link on the QDL source.
Returns the application specific data used to activate the link on the QDL source.
See also setData().
Returns the description of the link.
See also setDescription().
Returns the icon name for the link.
See also setIcon().
Returns true if the link is broken; otherwise returns false. This usually occurs when the QDL data source deletes the linked data item.
See also setBroken().
Returns true if the link is null; otherwise returns false.
Returns the MIME type used for a list of QDLLinks stored in QDSData objects.
See also mimeType().
Returns the MIME type used for QDLLinks stored in QDSData objects.
See also listMimeType().
Returns the Qt Extended service which contains the QDS service to activate the link.
See also setService().
Set the link's broken state to broken.
See also isBroken().
Sets the application specific data for link activation to data.
See also data().
Sets the link description to description.
See also description().
Sets the link icon name to icon.
See also icon().
Sets the Qt Extended service which contains the QDS service for link activation to service.
See also service().
Converts the link to a QDSData object. The object is only stored temporarily, if prelonged storage is required QDSData::store() should be called on the returned object.
Deep copies other.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |