Serial-Studio/libs/QMapControl/html/classqmapcontrol_1_1MapNetwork.html
2021-12-06 10:56:03 -06:00

163 lines
6.9 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>QMapControl: MapNetwork Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">QMapControl
&#160;<span id="projectnumber">0.9.7.4</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceqmapcontrol.html">qmapcontrol</a></li><li class="navelem"><a class="el" href="classqmapcontrol_1_1MapNetwork.html">MapNetwork</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classqmapcontrol_1_1MapNetwork-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MapNetwork Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for MapNetwork:</div>
<div class="dyncontent">
<div class="center">
<img src="classqmapcontrol_1_1MapNetwork.png" usemap="#MapNetwork_map" alt=""/>
<map id="MapNetwork_map" name="MapNetwork_map">
<area href="classQObject.html" alt="QObject" shape="rect" coords="0,0,83,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a882eed9a0b1403a74d494d0a50c0ea61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1MapNetwork.html#a882eed9a0b1403a74d494d0a50c0ea61">abortLoading</a> ()</td></tr>
<tr class="separator:a882eed9a0b1403a74d494d0a50c0ea61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a715c8ceb27e448bd81606ab33e4bb4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1MapNetwork.html#a8a715c8ceb27e448bd81606ab33e4bb4">imageIsLoading</a> (QString url)</td></tr>
<tr class="separator:a8a715c8ceb27e448bd81606ab33e4bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae759808f4d89e825b69945dc72130058"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1MapNetwork.html#ae759808f4d89e825b69945dc72130058">loadQueueSize</a> () const </td></tr>
<tr class="separator:ae759808f4d89e825b69945dc72130058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dae61e2e5fabf9e40d933768101da18"><td class="memItemLeft" align="right" valign="top">QNetworkAccessManager *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1MapNetwork.html#a5dae61e2e5fabf9e40d933768101da18">nextFreeHttp</a> ()</td></tr>
<tr class="separator:a5dae61e2e5fabf9e40d933768101da18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a882eed9a0b1403a74d494d0a50c0ea61"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void abortLoading </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Aborts all current loading threads. This is useful when changing the zoom-factor, though newly needed images loads faster </p>
</div>
</div>
<a class="anchor" id="a8a715c8ceb27e448bd81606ab33e4bb4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool imageIsLoading </td>
<td>(</td>
<td class="paramtype">QString&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>checks if the given url is already loading </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">url</td><td>the url of the image </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>boolean, if the image is already loading </dd></dl>
</div>
</div>
<a class="anchor" id="ae759808f4d89e825b69945dc72130058"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int loadQueueSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>number of elements in the load queue </dd></dl>
</div>
</div>
<a class="anchor" id="a5dae61e2e5fabf9e40d933768101da18"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QNetworkAccessManager * nextFreeHttp </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>next free http downloader thread </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="mapnetwork_8h_source.html">mapnetwork.h</a></li>
<li>mapnetwork.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 16 2014 18:28:17 for QMapControl by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>