Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 5471

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qwebframe.cpp -->
<head>
  <title>Qt 4.6: QWebHitTestResult Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a name="//apple_ref/cpp/cl//QWebHitTestResult"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">QWebHitTestResult Class Reference<br /><span class="small-subtitle">[<a href="qtwebkit.html">QtWebKit</a> module]</span>
</h1>
<p>The QWebHitTestResult class provides information about the web page content after a hit test. <a href="#details">More...</a></p>
<pre> #include &lt;QWebHitTestResult&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
<p>This class was introduced in Qt 4.4.</p>
<ul>
<li><a href="qwebhittestresult-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#QWebHitTestResult">QWebHitTestResult</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#QWebHitTestResult-2">QWebHitTestResult</a></b> ( const QWebHitTestResult &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#dtor.QWebHitTestResult">~QWebHitTestResult</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#alternateText">alternateText</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#boundingRect">boundingRect</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWebElement </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#element">element</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWebElement </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#enclosingBlockElement">enclosingBlockElement</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWebFrame * </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#frame">frame</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QUrl </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#imageUrl">imageUrl</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#isContentEditable">isContentEditable</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#isContentSelected">isContentSelected</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#isNull">isNull</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWebElement </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#linkElement">linkElement</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWebFrame * </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#linkTargetFrame">linkTargetFrame</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#linkText">linkText</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QUrl </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#linkTitle">linkTitle</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QUrl </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#linkUrl">linkUrl</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPixmap </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#pixmap">pixmap</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#pos">pos</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#title">title</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWebHitTestResult &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwebhittestresult.html#operator-eq">operator=</a></b> ( const QWebHitTestResult &amp; <i>other</i> )</td></tr>
</table>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QWebHitTestResult class provides information about the web page content after a hit test.</p>
<p>QWebHitTestResult is returned by <a href="qwebframe.html#hitTestContent">QWebFrame::hitTestContent</a>() to provide information about the content of the web page at the specified position.</p>
<hr />
<h2>Member Function Documentation</h2>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/QWebHitTestResult"></a>
<h3 class="fn"><a name="QWebHitTestResult"></a>QWebHitTestResult::QWebHitTestResult ()</h3>
<p>Constructs a null hit test result.</p>
<h3 class="fn"><a name="QWebHitTestResult-2"></a>QWebHitTestResult::QWebHitTestResult ( const QWebHitTestResult &amp; <i>other</i> )</h3>
<p>Constructs a hit test result from <i>other</i>.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/~QWebHitTestResult"></a>
<h3 class="fn"><a name="dtor.QWebHitTestResult"></a>QWebHitTestResult::~QWebHitTestResult ()</h3>
<p>Destructor.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/alternateText"></a>
<h3 class="fn"><a name="alternateText"></a><a href="qstring.html">QString</a> QWebHitTestResult::alternateText () const</h3>
<p>Returns the alternate text of the element. This corresponds to the HTML alt attribute.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/boundingRect"></a>
<h3 class="fn"><a name="boundingRect"></a><a href="qrect.html">QRect</a> QWebHitTestResult::boundingRect () const</h3>
<p>Returns the bounding rect of the element.</p>
<p>This function was introduced in Qt 4.5.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/element"></a>
<h3 class="fn"><a name="element"></a><a href="qwebelement.html">QWebElement</a> QWebHitTestResult::element () const</h3>
<p>Returns the underlying DOM element as <a href="qwebelement.html">QWebElement</a>.</p>
<p>This function was introduced in Qt 4.6.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/enclosingBlockElement"></a>
<h3 class="fn"><a name="enclosingBlockElement"></a><a href="qwebelement.html">QWebElement</a> QWebHitTestResult::enclosingBlockElement () const</h3>
<p>Returns the block element that encloses the element hit.</p>
<p>A block element is an element that is rendered using the CSS &quot;block&quot; style. This includes for example text paragraphs.</p>
<p>This function was introduced in Qt 4.6.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/frame"></a>
<h3 class="fn"><a name="frame"></a><a href="qwebframe.html">QWebFrame</a> * QWebHitTestResult::frame () const</h3>
<p>Returns the frame the hit test was executed in.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/imageUrl"></a>
<h3 class="fn"><a name="imageUrl"></a><a href="qurl.html">QUrl</a> QWebHitTestResult::imageUrl () const</h3>
<p>Returns the url of the image.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/isContentEditable"></a>
<h3 class="fn"><a name="isContentEditable"></a>bool QWebHitTestResult::isContentEditable () const</h3>
<p>Returns true if the content is editable by the user; otherwise returns false.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/isContentSelected"></a>
<h3 class="fn"><a name="isContentSelected"></a>bool QWebHitTestResult::isContentSelected () const</h3>
<p>Returns true if the content tested is part of the selection; otherwise returns false.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/isNull"></a>
<h3 class="fn"><a name="isNull"></a>bool QWebHitTestResult::isNull () const</h3>
<p>Returns true if the hit test result is null; otherwise returns false.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/linkElement"></a>
<h3 class="fn"><a name="linkElement"></a><a href="qwebelement.html">QWebElement</a> QWebHitTestResult::linkElement () const</h3>
<p>Returns the element that represents the link.</p>
<p>This function was introduced in Qt 4.6.</p>
<p>See also <a href="qwebhittestresult.html#linkTargetFrame">linkTargetFrame</a>().</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/linkTargetFrame"></a>
<h3 class="fn"><a name="linkTargetFrame"></a><a href="qwebframe.html">QWebFrame</a> * QWebHitTestResult::linkTargetFrame () const</h3>
<p>Returns the frame that will load the link if it is activated.</p>
<p>See also <a href="qwebhittestresult.html#linkElement">linkElement</a>().</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/linkText"></a>
<h3 class="fn"><a name="linkText"></a><a href="qstring.html">QString</a> QWebHitTestResult::linkText () const</h3>
<p>Returns the text of the link.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/linkTitle"></a>
<h3 class="fn"><a name="linkTitle"></a><a href="qurl.html">QUrl</a> QWebHitTestResult::linkTitle () const</h3>
<p>Returns the title of the link.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/linkUrl"></a>
<h3 class="fn"><a name="linkUrl"></a><a href="qurl.html">QUrl</a> QWebHitTestResult::linkUrl () const</h3>
<p>Returns the url to which the link points to.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/pixmap"></a>
<h3 class="fn"><a name="pixmap"></a><a href="qpixmap.html">QPixmap</a> QWebHitTestResult::pixmap () const</h3>
<p>Returns a <a href="qpixmap.html">QPixmap</a> containing the image. A null pixmap is returned if the element being tested is not an image.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/pos"></a>
<h3 class="fn"><a name="pos"></a><a href="qpoint.html">QPoint</a> QWebHitTestResult::pos () const</h3>
<p>Returns the position where the hit test occured.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/title"></a>
<h3 class="fn"><a name="title"></a><a href="qstring.html">QString</a> QWebHitTestResult::title () const</h3>
<p>Returns the title of the nearest enclosing HTML element.</p>
<a name="//apple_ref/cpp/instm/QWebHitTestResult/operator="></a>
<h3 class="fn"><a name="operator-eq"></a>QWebHitTestResult &amp; QWebHitTestResult::operator= ( const QWebHitTestResult &amp; <i>other</i> )</h3>
<p>Assigns the <i>other</i> hit test result to this.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>