| Home · All Classes · Annotated · Functions |
The QDLWidgetClient class is a QDLClient that interfaces with a widget. More...
#include <QDLWidgetClient>
Inherits QDLClient.
The QDLWidgetClient class is a QDLClient that interfaces with a widget.
A QDLWidgetClient has all the capabilities of a QDLClient, but also depends on a widget and interfaces with its text.
A QDLWidgetClient can currently interface with the QTextEdit widget. Other widgets may be supported in later releases of Qtopia.
Constructs a QDLWidgetClient with w as the parent and the monitored widget, and name is the name specified for the QDL client.
Destroys a QDLWidgetClient.
Adds newLink to the client. A new link identifier is generated. The link is also added into the widget's text.
Reimplemented from QDLClient.
Returns the request hint for this widget. If a hint has not been explicitly set with QDLClient::setHint(), then this function tries to dynamically determine the hint from the text of the client's widget, otherwise it just returns QDLClient::hint()
Removes the link specified by the link identifier lid. It is removed from QDLClient and in the widget's text.
Reimplemented from QDLClient.
Convenience function. Simply calls QDLClient::requestLink() with the client's widget as parent.
Sets the link specified by the link identifier lid to newLink both in QDLClient and in the widget's text. If no link for lid currently exists, it is created and added to the widget's text.
Reimplemented from QDLClient.
Automatically creates a standard Insert Link action in the QMenu specified by context. If context is 0, a QSoftMenuBar::menuFor is created.
The action is connected to QDLWidgetClient::requestLink().
Returns the text of the client's widget.
Verifies that all internal links of QDLClient exist in the widget's text. Any internal link that doesn't exist in the widget's text is removed.
Reimplemented from QDLClient.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |