<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:07:31 CEST 2007 --> <TITLE> QHostInfo </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.network.QHostInfo class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QHostInfo"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/network/QHostAddress.SpecialAddress.html" title="enum in com.trolltech.qt.network"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/network/QHostInfo.html" target="_top"><B>FRAMES</B></A> <A HREF="QHostInfo.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.network</FONT> <BR> Class QHostInfo</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.network.QHostInfo</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QHostInfo</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL> </PRE> <P> <p>The <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> class provides static functions for host name lookups.</p> <p><a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> uses the lookup mechanisms provided by the operating system to find the IP address(es) associated with a host name, or the host name associated with an IP address. The class provides two static convenience functions: one that works asynchronously and emits a signal once the host is found, and one that blocks and returns a <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> object.</p> <p>To look up a host's IP addresses asynchronously, call lookupHost(), which takes the host name or IP address, a receiver object, and a slot signature as arguments and returns an ID. You can abort the lookup by calling <a href="QHostInfo.html#abortHostLookup(int)"><tt>abortHostLookup</tt></a> with the lookup ID.</p> <p>Example:</p> <pre><span class="comment"> // To find the IP address of www.trolltech.com</span> QHostInfo::lookupHost("www.trolltech.com", this, SLOT(printResults(QHostInfo))); <span class="comment"> // To find the host name for 4.2.2.1</span> QHostInfo::lookupHost("4.2.2.1", this, SLOT(printResults(QHostInfo)));</pre> <p>The slot is invoked when the results are ready. (If you use Qtopia Core and disabled multithread support by defining <tt>QT_NO_THREAD</tt>, lookupHost() will block until the lookup has finished.) The results are stored in a <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> object. Call <a href="QHostInfo.html#addresses()"><tt>addresses</tt></a> to get the list of IP addresses for the host, and <a href="QHostInfo.html#hostName()"><tt>hostName</tt></a> to get the host name that was looked up.</p> <p>If the lookup failed, <a href="QHostInfo.html#error()"><tt>error</tt></a> returns the type of error that occurred. <a href="QHostInfo.html#errorString()"><tt>errorString</tt></a> gives a human-readable description of the lookup error.</p> <p>If you want a blocking lookup, use the QHostInfo::fromName() function:</p> <pre> QHostInfo info = QHostInfo::fromName("www.trolltech.com");</pre> <p><a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> supports Internationalized Domain Names (IDNs) through the IDNA and Punycode standards.</p> <p>To retrieve the name of the local host, use the static QHostInfo::localHostName() function.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QAbstractSocket.html"><tt>QAbstractSocket</tt></a>, <a href="http://www.rfc-editor.org/rfc/rfc3492.txt">RFC 3492</tt></a></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network">QHostInfo.HostInfoError</A></B></CODE> <BR> This enum describes the various errors that can occur when trying to resolve a host name.</TD> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#QHostInfo()">QHostInfo</A></B>()</CODE> <BR> Equivalent to <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a>(-1).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#QHostInfo(int)">QHostInfo</A></B>(int lookupId)</CODE> <BR> Constructs an empty host info object with lookup ID <tt>lookupId</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)">QHostInfo</A></B>(<A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A> d)</CODE> <BR> Constructs a copy of <tt>d</tt>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#abortHostLookup(int)">abortHostLookup</A></B>(int lookupId)</CODE> <BR> Aborts the host lookup with the ID <tt>lookupId</tt>, as returned by lookupHost().</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.List<<A HREF="../../../../com/trolltech/qt/network/QHostAddress.html" title="class in com.trolltech.qt.network">QHostAddress</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#addresses()">addresses</A></B>()</CODE> <BR> Returns the list of IP addresses associated with <a href="QHostInfo.html#hostName()"><tt>hostName</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network">QHostInfo.HostInfoError</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#error()">error</A></B>()</CODE> <BR> Returns the type of error that occurred if the host name lookup failed; otherwise returns <a href="QHostInfo.html#HostInfoError-enum"><tt>NoError</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#errorString()">errorString</A></B>()</CODE> <BR> If the lookup failed, this function returns a human readable description of the error; otherwise "Unknown error" is returned.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#fromName(java.lang.String)">fromName</A></B>(java.lang.String name)</CODE> <BR> Looks up the IP address(es) for the given host <tt>name</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QHostInfo instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#hostName()">hostName</A></B>()</CODE> <BR> Returns the name of the host whose IP addresses were looked up.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#localHostName()">localHostName</A></B>()</CODE> <BR> Returns the host name of this machine.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#lookupId()">lookupId</A></B>()</CODE> <BR> Returns the ID of this lookup.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#nativePointerArray(com.trolltech.qt.network.QHostInfo[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QHostInfo array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#setAddresses(java.util.List)">setAddresses</A></B>(java.util.List<<A HREF="../../../../com/trolltech/qt/network/QHostAddress.html" title="class in com.trolltech.qt.network">QHostAddress</A>> addresses)</CODE> <BR> Sets the list of addresses in this <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> to <tt>addresses</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#setError(com.trolltech.qt.network.QHostInfo.HostInfoError)">setError</A></B>(<A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network">QHostInfo.HostInfoError</A> error)</CODE> <BR> Sets the error type of this <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> to <tt>error</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#setErrorString(java.lang.String)">setErrorString</A></B>(java.lang.String errorString)</CODE> <BR> Sets the human readable description of the error that occurred to <tt>errorString</tt> if the lookup failed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#setHostName(java.lang.String)">setHostName</A></B>(java.lang.String name)</CODE> <BR> Sets the host name of this <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> to <tt>name</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QHostInfo.html#setLookupId(int)">setLookupId</A></B>(int id)</CODE> <BR> Sets the ID of this lookup to <tt>id</tt>.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="QHostInfo()"><!-- --></A><H3> QHostInfo</H3> <PRE> public <B>QHostInfo</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a>(-1). <P> </DL> <HR> <A NAME="QHostInfo(int)"><!-- --></A><H3> QHostInfo</H3> <PRE> public <B>QHostInfo</B>(int lookupId)</PRE> <DL> <DD><p>Constructs an empty host info object with lookup ID <tt>lookupId</tt>.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#lookupId()"><tt>lookupId</tt></a></DL> </DL> <HR> <A NAME="QHostInfo(com.trolltech.qt.network.QHostInfo)"><!-- --></A><H3> QHostInfo</H3> <PRE> public <B>QHostInfo</B>(<A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A> d)</PRE> <DL> <DD><p>Constructs a copy of <tt>d</tt>.</p> <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="addresses()"><!-- --></A><H3> addresses</H3> <PRE> public final java.util.List<<A HREF="../../../../com/trolltech/qt/network/QHostAddress.html" title="class in com.trolltech.qt.network">QHostAddress</A>> <B>addresses</B>()</PRE> <DL> <DD><p>Returns the list of IP addresses associated with <a href="QHostInfo.html#hostName()"><tt>hostName</tt></a>. This list may be empty.</p> <p>Example:</p> <pre> QHostInfo info; ... if (!info.addresses().isEmpty()) { QHostAddress address = info.addresses().first(); <span class="comment">// use the first IP address</span> }</pre> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#setAddresses(java.util.List<com.trolltech.qt.network.QHostAddress>)"><tt>setAddresses</tt></a>, <a href="QHostInfo.html#hostName()"><tt>hostName</tt></a>, <a href="QHostInfo.html#error()"><tt>error</tt></a></DL> </DD> </DL> <HR> <A NAME="error()"><!-- --></A><H3> error</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network">QHostInfo.HostInfoError</A> <B>error</B>()</PRE> <DL> <DD><p>Returns the type of error that occurred if the host name lookup failed; otherwise returns <a href="QHostInfo.html#HostInfoError-enum"><tt>NoError</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#setError(com.trolltech.qt.network.QHostInfo.HostInfoError)"><tt>setError</tt></a>, <a href="QHostInfo.html#errorString()"><tt>errorString</tt></a></DL> </DD> </DL> <HR> <A NAME="errorString()"><!-- --></A><H3> errorString</H3> <PRE> public final java.lang.String <B>errorString</B>()</PRE> <DL> <DD><p>If the lookup failed, this function returns a human readable description of the error; otherwise "Unknown error" is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#setErrorString(java.lang.String)"><tt>setErrorString</tt></a>, <a href="QHostInfo.html#error()"><tt>error</tt></a></DL> </DD> </DL> <HR> <A NAME="hostName()"><!-- --></A><H3> hostName</H3> <PRE> public final java.lang.String <B>hostName</B>()</PRE> <DL> <DD><p>Returns the name of the host whose IP addresses were looked up.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#setHostName(java.lang.String)"><tt>setHostName</tt></a>, <a href="QHostInfo.html#localHostName()"><tt>localHostName</tt></a></DL> </DD> </DL> <HR> <A NAME="lookupId()"><!-- --></A><H3> lookupId</H3> <PRE> public final int <B>lookupId</B>()</PRE> <DL> <DD><p>Returns the ID of this lookup.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#setLookupId(int)"><tt>setLookupId</tt></a>, <a href="QHostInfo.html#abortHostLookup(int)"><tt>abortHostLookup</tt></a>, <a href="QHostInfo.html#hostName()"><tt>hostName</tt></a></DL> </DD> </DL> <HR> <A NAME="setAddresses(java.util.List)"><!-- --></A><H3> setAddresses</H3> <PRE> public final void <B>setAddresses</B>(java.util.List<<A HREF="../../../../com/trolltech/qt/network/QHostAddress.html" title="class in com.trolltech.qt.network">QHostAddress</A>> addresses)</PRE> <DL> <DD><p>Sets the list of addresses in this <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> to <tt>addresses</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#addresses()"><tt>addresses</tt></a></DL> </DD> </DL> <HR> <A NAME="setError(com.trolltech.qt.network.QHostInfo.HostInfoError)"><!-- --></A><H3> setError</H3> <PRE> public final void <B>setError</B>(<A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network">QHostInfo.HostInfoError</A> error)</PRE> <DL> <DD><p>Sets the error type of this <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> to <tt>error</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#error()"><tt>error</tt></a>, <a href="QHostInfo.html#errorString()"><tt>errorString</tt></a></DL> </DD> </DL> <HR> <A NAME="setErrorString(java.lang.String)"><!-- --></A><H3> setErrorString</H3> <PRE> public final void <B>setErrorString</B>(java.lang.String errorString)</PRE> <DL> <DD><p>Sets the human readable description of the error that occurred to <tt>errorString</tt> if the lookup failed.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#errorString()"><tt>errorString</tt></a>, <a href="QHostInfo.html#setError(com.trolltech.qt.network.QHostInfo.HostInfoError)"><tt>setError</tt></a></DL> </DD> </DL> <HR> <A NAME="setHostName(java.lang.String)"><!-- --></A><H3> setHostName</H3> <PRE> public final void <B>setHostName</B>(java.lang.String name)</PRE> <DL> <DD><p>Sets the host name of this <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> to <tt>name</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#hostName()"><tt>hostName</tt></a></DL> </DD> </DL> <HR> <A NAME="setLookupId(int)"><!-- --></A><H3> setLookupId</H3> <PRE> public final void <B>setLookupId</B>(int id)</PRE> <DL> <DD><p>Sets the ID of this lookup to <tt>id</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#lookupId()"><tt>lookupId</tt></a>, <tt>lookupHost</tt></DL> </DD> </DL> <HR> <A NAME="abortHostLookup(int)"><!-- --></A><H3> abortHostLookup</H3> <PRE> public static void <B>abortHostLookup</B>(int lookupId)</PRE> <DL> <DD><p>Aborts the host lookup with the ID <tt>lookupId</tt>, as returned by lookupHost().</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>lookupHost</tt>, <a href="QHostInfo.html#lookupId()"><tt>lookupId</tt></a></DL> </DD> </DL> <HR> <A NAME="fromName(java.lang.String)"><!-- --></A><H3> fromName</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A> <B>fromName</B>(java.lang.String name)</PRE> <DL> <DD><p>Looks up the IP address(es) for the given host <tt>name</tt>. The function blocks during the lookup which means that execution of the program is suspended until the results of the lookup are ready. Returns the result of the lookup in a <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> object.</p> <p>If you pass a literal IP address to <tt>name</tt> instead of a host name, <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> will search for the domain name for the IP (i.e., <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> will perform a <i>reverse</i> lookup). On success, the returned <a href="QHostInfo.html#QHostInfo(com.trolltech.qt.network.QHostInfo)"><tt>QHostInfo</tt></a> will contain both the resolved domain name and IP addresses for the host name.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>lookupHost</tt></DL> </DD> </DL> <HR> <A NAME="localHostName()"><!-- --></A><H3> localHostName</H3> <PRE> public static java.lang.String <B>localHostName</B>()</PRE> <DL> <DD><p>Returns the host name of this machine.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QHostInfo.html#hostName()"><tt>hostName</tt></a></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QHostInfo instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <HR> <A NAME="nativePointerArray(com.trolltech.qt.network.QHostInfo[])"><!-- --></A><H3> nativePointerArray</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/network/QHostInfo.html" title="class in com.trolltech.qt.network">QHostInfo</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QHostInfo array. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to. <DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/network/QHostAddress.SpecialAddress.html" title="enum in com.trolltech.qt.network"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/network/QHostInfo.HostInfoError.html" title="enum in com.trolltech.qt.network"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/network/QHostInfo.html" target="_top"><B>FRAMES</B></A> <A HREF="QHostInfo.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>