Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 203

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!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 16:57:48 CEST 2007 -->
<TITLE>
QUrl
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.core.QUrl class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QUrl";
}
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTranslator.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QUrl.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QUrl.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.core</FONT>
<BR>
Class QUrl</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.core.QUrl</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>, java.lang.Comparable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QUrl</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A><DT>implements java.lang.Comparable</DL>
</PRE>

<P>
<p>The <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> class provides a convenient interface for working with URLs.</p>
<p>It can parse and construct URLs in both encoded and unencoded form. <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> also has support for internationalized domain names (IDNs).</p>
<p>The most common way to use <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> is to initialize it via the constructor by passing a <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a>. Otherwise, <a href="QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>setUrl</tt></a> and <a href="QUrl.html#setEncodedUrl(com.trolltech.qt.core.QByteArray)"><tt>setEncodedUrl</tt></a> can also be used.</p>
<p>URLs can be represented in two forms: encoded or unencoded. The unencoded representation is suitable for showing to users, but the encoded representation is typically what you would send to a web server. For example, the unencoded URL &quot;http://b&uuml;<tt></tt>hler.example.com&quot; would be sent to the server as &quot;http://xn--bhler-kva.example.com/List%20of%20applicants.xml&quot;.</p>
<p>A URL can also be constructed piece by piece by calling <a href="QUrl.html#setScheme(java.lang.String)"><tt>setScheme</tt></a>, <a href="QUrl.html#setUserName(java.lang.String)"><tt>setUserName</tt></a>, <a href="QUrl.html#setPassword(java.lang.String)"><tt>setPassword</tt></a>, <a href="QUrl.html#setHost(java.lang.String)"><tt>setHost</tt></a>, <a href="QUrl.html#setPort(int)"><tt>setPort</tt></a>, <a href="QUrl.html#setPath(java.lang.String)"><tt>setPath</tt></a>, <a href="QUrl.html#setEncodedQuery(com.trolltech.qt.core.QByteArray)"><tt>setEncodedQuery</tt></a> and <a href="QUrl.html#setFragment(java.lang.String)"><tt>setFragment</tt></a>. Some convenience functions are also available: <a href="QUrl.html#setAuthority(java.lang.String)"><tt>setAuthority</tt></a> sets the user name, password, host and port. <a href="QUrl.html#setUserInfo(java.lang.String)"><tt>setUserInfo</tt></a> sets the user name and password at once.</p>
<p>Call <a href="QUrl.html#isValid()"><tt>isValid</tt></a> to check if the URL is valid. This can be done at any point during the constructing of a URL.</p>
<p>Constructing a query is particularly convenient through the use of <a href="QUrl.html#setQueryItems(java.lang.String>>)"><tt>setQueryItems</tt></a>, <a href="QUrl.html#addQueryItem(java.lang.String, java.lang.String)"><tt>addQueryItem</tt></a> and <a href="QUrl.html#removeQueryItem(java.lang.String)"><tt>removeQueryItem</tt></a>. Use <a href="QUrl.html#setQueryDelimiters(byte, byte)"><tt>setQueryDelimiters</tt></a> to customize the delimiters used for generating the query string.</p>
<p>For the convenience of generating encoded URL strings or query strings, there are two static functions called <a href="QUrl.html#fromPercentEncoding(com.trolltech.qt.core.QByteArray)"><tt>fromPercentEncoding</tt></a> and <a href="QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><tt>toPercentEncoding</tt></a> which deal with percent encoding and decoding of QStrings.</p>
<p>Calling <a href="QUrl.html#isRelative()"><tt>isRelative</tt></a> will tell whether or not the URL is relative. A relative URL can be resolved by passing it as argument to <a href="QUrl.html#resolved(com.trolltech.qt.core.QUrl)"><tt>resolved</tt></a>, which returns an absolute URL. <a href="QUrl.html#isParentOf(com.trolltech.qt.core.QUrl)"><tt>isParentOf</tt></a> is used for determining whether one URL is a parent of another.</p>
<p><a href="QUrl.html#fromLocalFile(java.lang.String)"><tt>fromLocalFile</tt></a> constructs a <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> by parsing a local file path. <a href="QUrl.html#toLocalFile()"><tt>toLocalFile</tt></a> converts a URL to a local file path.</p>
<p>The human readable representation of the URL is fetched with <a href="QUrl.html#toString(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toString</tt></a>. This representation is appropriate for displaying a URL to a user in unencoded form. The encoded form however, as returned by <a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a>, is for internal use, passing to web servers, mail clients and so on.</p>
<p><a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> conforms to the URI specification from RFC 3986</tt> (Uniform Resource Identifier: Generic Syntax), and includes scheme extensions from RFC 1738</tt> (Uniform Resource Locators).</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/network/QUrlInfo.html"><tt>QUrlInfo</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&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core">QUrl.FormattingOption</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The formatting options define how the URL is formatted when written out as text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOptions.html" title="class in com.trolltech.qt.core">QUrl.FormattingOptions</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The parsing mode controls the way <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> parses strings.</TD>
</TR>
</TABLE>
&nbsp;<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>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<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>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== 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/core/QUrl.html#QUrl()">QUrl</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#QUrl(com.trolltech.qt.core.QUrl)">QUrl</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>&nbsp;copy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a copy of <tt>copy</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#QUrl(java.lang.String)">QUrl</A></B>(java.lang.String&nbsp;url)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a URL by parsing <tt>url</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#QUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)">QUrl</A></B>(java.lang.String&nbsp;url,
     <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the <tt>url</tt> using the parser mode <tt>mode</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#addQueryItem(java.lang.String, java.lang.String)">addQueryItem</A></B>(java.lang.String&nbsp;key,
             java.lang.String&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the pair <tt>key</tt> = <tt>value</tt> into the query string of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#allQueryItemValues(java.lang.String)">allQueryItemValues</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the a list of query string values whose key is equal to <tt>key</tt> from the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#authority()">authority</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the authority of the URL if it is defined; otherwise an empty string is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#clear()">clear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the content of the <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#compareTo(java.lang.Object)">compareTo</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#encodedQuery()">encodedQuery</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the query string of the URL in percent encoded form.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#errorString()">errorString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a text string that explains why an URL is invalid in the case being; otherwise returns an empty string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fragment()">fragment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the fragment of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fromAce(com.trolltech.qt.core.QByteArray)">fromAce</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Unicode form of the given domain name <tt>arg__1</tt>, which is encoded in the ASCII Compatible Encoding (ACE).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fromEncoded(com.trolltech.qt.core.QByteArray)">fromEncoded</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses <tt>url</tt> and returns the corresponding <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fromEncoded(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QUrl.ParsingMode)">fromEncoded</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url,
            <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the URL using <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fromLocalFile(java.lang.String)">fromLocalFile</A></B>(java.lang.String&nbsp;localfile)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> representation of <tt>localfile</tt>, interpreted as a local file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QUrl instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#fromPercentEncoding(com.trolltech.qt.core.QByteArray)">fromPercentEncoding</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a decoded copy of <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#hasFragment()">hasFragment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this URL contains a fragment (i.e&#x2e;, if # was seen on it).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#hasQuery()">hasQuery</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this URL contains a Query (i.e&#x2e;, if ? was seen on it).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#hasQueryItem(java.lang.String)">hasQueryItem</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there is a query string pair whose key is equal to <tt>key</tt> from the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#host()">host</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the host of the URL if it is defined; otherwise an empty string is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#idnWhitelist()">idnWhitelist</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current whitelist of top-level domains that are allowed to have non-ASCII characters in their compositions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the URL has no data; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#isParentOf(com.trolltech.qt.core.QUrl)">isParentOf</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>&nbsp;url)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this URL is a parent of <tt>url</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#isRelative()">isRelative</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the URL is relative; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#isValid()">isValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the URL is valid; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/core/QUrl.html#nativePointerArray(com.trolltech.qt.core.QUrl[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QUrl array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#password()">password</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the password of the URL if it is defined; otherwise an empty string is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#path()">path</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#port()">port</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the port of the URL, or -1 if the port is unspecified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#port(int)">port</A></B>(int&nbsp;defaultPort)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the port of the URL, or <tt>defaultPort</tt> if the port is unspecified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/QPair.html" title="class in com.trolltech.qt">QPair</A>&lt;java.lang.String,java.lang.String&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#queryItems()">queryItems</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the query string of the URL, as a map of keys and values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#queryItemValue(java.lang.String)">queryItemValue</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first query string value whose key is equal to <tt>key</tt> from the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#queryPairDelimiter()">queryPairDelimiter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character used to delimit between key-value pairs in the query string of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#queryValueDelimiter()">queryValueDelimiter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character used to delimit between keys and values in the query string of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QUrl from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#removeAllQueryItems(java.lang.String)">removeAllQueryItems</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all the query string pairs whose key is equal to <tt>key</tt> from the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#removeQueryItem(java.lang.String)">removeQueryItem</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the first query string pair whose key is equal to <tt>key</tt> from the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#resolved(com.trolltech.qt.core.QUrl)">resolved</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>&nbsp;relative)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the result of the merge of this URL with <tt>relative</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#scheme()">scheme</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the scheme of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setAuthority(java.lang.String)">setAuthority</A></B>(java.lang.String&nbsp;authority)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the authority of the URL to <tt>authority</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setEncodedQuery(com.trolltech.qt.core.QByteArray)">setEncodedQuery</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the query string of the URL to <tt>query</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setEncodedUrl(com.trolltech.qt.core.QByteArray)">setEncodedUrl</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a URL by parsing the contents of <tt>url</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setEncodedUrl(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QUrl.ParsingMode)">setEncodedUrl</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url,
              <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a URL by parsing the contents of <tt>url</tt> using the given <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setFragment(java.lang.String)">setFragment</A></B>(java.lang.String&nbsp;fragment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fragment of the URL to <tt>fragment</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setHost(java.lang.String)">setHost</A></B>(java.lang.String&nbsp;host)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the host of the URL to <tt>host</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setIdnWhitelist(java.util.List)">setIdnWhitelist</A></B>(java.util.List&lt;java.lang.String&gt;&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the whitelist of Top-Level Domains (TLDs) that are allowed to have non-ASCII characters in domains to the value of <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setPassword(java.lang.String)">setPassword</A></B>(java.lang.String&nbsp;password)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the URL's password to <tt>password</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setPath(java.lang.String)">setPath</A></B>(java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the path of the URL to <tt>path</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setPort(int)">setPort</A></B>(int&nbsp;port)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the port of the URL to <tt>port</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setQueryDelimiters(byte, byte)">setQueryDelimiters</A></B>(byte&nbsp;valueDelimiter,
                   byte&nbsp;pairDelimiter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the characters used for delimiting between keys and values, and between key-value pairs in the URL's query string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setQueryItems(java.util.List)">setQueryItems</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/QPair.html" title="class in com.trolltech.qt">QPair</A>&lt;java.lang.String,java.lang.String&gt;&gt;&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the query string of the URL to an encoded version of
<tt>query</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setScheme(java.lang.String)">setScheme</A></B>(java.lang.String&nbsp;scheme)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the scheme of the URL to <tt>scheme</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setUrl(java.lang.String)">setUrl</A></B>(java.lang.String&nbsp;url)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a URL by parsing the contents of <tt>url</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)">setUrl</A></B>(java.lang.String&nbsp;url,
       <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses <tt>url</tt> using the parsing mode <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setUserInfo(java.lang.String)">setUserInfo</A></B>(java.lang.String&nbsp;userInfo)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the user info of the URL to <tt>userInfo</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#setUserName(java.lang.String)">setUserName</A></B>(java.lang.String&nbsp;userName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the URL's user name to <tt>userName</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toAce(java.lang.String)">toAce</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the ASCII Compatible Encoding of the given domain name <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toEncoded()">toEncoded</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a>(None).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOption...)">toEncoded</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core">QUrl.FormattingOption</A>...&nbsp;options)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the encoded representation of the URL if it's valid; otherwise an empty <a href="QByteArray.html"><tt>QByteArray</tt></a> is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)">toEncoded</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOptions.html" title="class in com.trolltech.qt.core">QUrl.FormattingOptions</A>&nbsp;options)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the encoded representation of the URL if it's valid; otherwise an empty <a href="QByteArray.html"><tt>QByteArray</tt></a> is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toLocalFile()">toLocalFile</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path of this URL formatted as a local file path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toPercentEncoding(java.lang.String)">toPercentEncoding</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><tt>toPercentEncoding</tt></a>(<tt>arg__1</tt>, QByteArray(), QByteArray()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray)">toPercentEncoding</A></B>(java.lang.String&nbsp;arg__1,
                  <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;exclude)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><tt>toPercentEncoding</tt></a>(<tt>arg__1</tt>, <tt>exclude</tt>, QByteArray()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)">toPercentEncoding</A></B>(java.lang.String&nbsp;arg__1,
                  <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;exclude,
                  <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;include)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an encoded copy of <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QUrl.html#toString(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toString</tt></a>(None).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toString(com.trolltech.qt.core.QUrl.FormattingOption...)">toString</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core">QUrl.FormattingOption</A>...&nbsp;options)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the human-displayable string representation of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#toString(com.trolltech.qt.core.QUrl.FormattingOptions)">toString</A></B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOptions.html" title="class in com.trolltech.qt.core">QUrl.FormattingOptions</A>&nbsp;options)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the human-displayable string representation of the URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#userInfo()">userInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the user info of the URL, or an empty string if the user info is undefined.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#userName()">userName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the user name of the URL if it is defined; otherwise an empty string is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QUrl.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQUrl to arg__1.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<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>
&nbsp;<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, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<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="QUrl(com.trolltech.qt.core.QUrl)"><!-- --></A><H3>
QUrl</H3>
<PRE>
public <B>QUrl</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>&nbsp;copy)</PRE>
<DL>
<DD><p>Constructs a copy of <tt>copy</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QUrl(java.lang.String)"><!-- --></A><H3>
QUrl</H3>
<PRE>
public <B>QUrl</B>(java.lang.String&nbsp;url)</PRE>
<DL>
<DD><p>Constructs a URL by parsing <tt>url</tt>. <tt>url</tt> is assumed to be in human readable representation, with no percent encoding. <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> will automatically percent encode all characters that are not allowed in a URL.</p>
<p>Example:</p>
<pre>    QUrl url(&quot;http:<span class="comment">//www.example.com/List of holidays.xml&quot;);</span>
<span class="comment">    // url.toEncoded() == &quot;http://www.example.com/List%20of%20holidays.xml&quot;</span></pre>
<p>To construct a URL from an encoded string, call <a href="QUrl.html#fromEncoded(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>fromEncoded</tt></a>:</p>
<pre>    QUrl url = QUrl::fromEncoded(&quot;http:<span class="comment">//www.trolltech.com/List%20of%20holidays.xml&quot;);</span></pre>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>setUrl</tt></a>, 
<a href="QUrl.html#setEncodedUrl(com.trolltech.qt.core.QByteArray)"><tt>setEncodedUrl</tt></a>, 
<a href="QUrl.html#fromEncoded(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>fromEncoded</tt></a>, 
<a href="QUrl.html#ParsingMode-enum"><tt>TolerantMode</tt></a></DL>
</DL>
<HR>

<A NAME="QUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><!-- --></A><H3>
QUrl</H3>
<PRE>
public <B>QUrl</B>(java.lang.String&nbsp;url,
            <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Parses the <tt>url</tt> using the parser mode <tt>mode</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>setUrl</tt></a></DL>
</DL>
<HR>

<A NAME="QUrl()"><!-- --></A><H3>
QUrl</H3>
<PRE>
public <B>QUrl</B>()</PRE>
<DL>
<DD><p>Constructs an empty <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> object.</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="addQueryItem(java.lang.String, java.lang.String)"><!-- --></A><H3>
addQueryItem</H3>
<PRE>
public final void <B>addQueryItem</B>(java.lang.String&nbsp;key,
                               java.lang.String&nbsp;value)</PRE>
<DL>
<DD><p>Inserts the pair <tt>key</tt> = <tt>value</tt> into the query string of the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="allQueryItemValues(java.lang.String)"><!-- --></A><H3>
allQueryItemValues</H3>
<PRE>
public final java.util.List&lt;java.lang.String&gt; <B>allQueryItemValues</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Returns the a list of query string values whose key is equal to <tt>key</tt> from the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#queryItemValue(java.lang.String)"><tt>queryItemValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="authority()"><!-- --></A><H3>
authority</H3>
<PRE>
public final java.lang.String <B>authority</B>()</PRE>
<DL>
<DD><p>Returns the authority of the URL if it is defined; otherwise an empty string is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setAuthority(java.lang.String)"><tt>setAuthority</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public final void <B>clear</B>()</PRE>
<DL>
<DD><p>Resets the content of the <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a>. After calling this function, the <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> is equal to one that has been constructed with the default empty constructor.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="encodedQuery()"><!-- --></A><H3>
encodedQuery</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>encodedQuery</B>()</PRE>
<DL>
<DD><p>Returns the query string of the URL in percent encoded form.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setEncodedQuery(com.trolltech.qt.core.QByteArray)"><tt>setEncodedQuery</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>Returns a text string that explains why an URL is invalid in the case being; otherwise returns an empty string.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fragment()"><!-- --></A><H3>
fragment</H3>
<PRE>
public final java.lang.String <B>fragment</B>()</PRE>
<DL>
<DD><p>Returns the fragment of the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setFragment(java.lang.String)"><tt>setFragment</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasFragment()"><!-- --></A><H3>
hasFragment</H3>
<PRE>
public final boolean <B>hasFragment</B>()</PRE>
<DL>
<DD><p>Returns true if this URL contains a fragment (i.e&#x2e;, if # was seen on it).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#fragment()"><tt>fragment</tt></a>, 
<a href="QUrl.html#setFragment(java.lang.String)"><tt>setFragment</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasQuery()"><!-- --></A><H3>
hasQuery</H3>
<PRE>
public final boolean <B>hasQuery</B>()</PRE>
<DL>
<DD><p>Returns true if this URL contains a Query (i.e&#x2e;, if ? was seen on it).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#hasQueryItem(java.lang.String)"><tt>hasQueryItem</tt></a>, 
<a href="QUrl.html#encodedQuery()"><tt>encodedQuery</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasQueryItem(java.lang.String)"><!-- --></A><H3>
hasQueryItem</H3>
<PRE>
public final boolean <B>hasQueryItem</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Returns true if there is a query string pair whose key is equal to <tt>key</tt> from the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="host()"><!-- --></A><H3>
host</H3>
<PRE>
public final java.lang.String <B>host</B>()</PRE>
<DL>
<DD><p>Returns the host of the URL if it is defined; otherwise an empty string is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setHost(java.lang.String)"><tt>setHost</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public final boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><p>Returns true if the URL has no data; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isParentOf(com.trolltech.qt.core.QUrl)"><!-- --></A><H3>
isParentOf</H3>
<PRE>
public final boolean <B>isParentOf</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>&nbsp;url)</PRE>
<DL>
<DD><p>Returns true if this URL is a parent of <tt>url</tt>. <tt>url</tt> is a child of this URL if the two URLs share the same scheme and authority, and this URL's path is a parent of the path of <tt>url</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isRelative()"><!-- --></A><H3>
isRelative</H3>
<PRE>
public final boolean <B>isRelative</B>()</PRE>
<DL>
<DD><p>Returns true if the URL is relative; otherwise returns false. A URL is relative if its scheme is undefined; this function is therefore equivalent to calling <a href="QUrl.html#scheme()"><tt>scheme</tt></a>.<a href="QUrl.html#isEmpty()"><tt>isEmpty</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isValid()"><!-- --></A><H3>
isValid</H3>
<PRE>
public final boolean <B>isValid</B>()</PRE>
<DL>
<DD><p>Returns true if the URL is valid; otherwise returns false.</p>
<p>The URL is run through a conformance test. Every part of the URL must conform to the standard encoding rules of the URI standard for the URL to be reported as valid.</p>
<pre>    bool checkUrl(const QUrl &amp;url) {
        if (!url.isValid()) {
            qDebug(QString(&quot;Invalid URL: %1&quot;).arg(url.toString()));
            return false;
        }

        return true;
    }</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQUrl to arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QUrl from arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="password()"><!-- --></A><H3>
password</H3>
<PRE>
public final java.lang.String <B>password</B>()</PRE>
<DL>
<DD><p>Returns the password of the URL if it is defined; otherwise an empty string is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setPassword(java.lang.String)"><tt>setPassword</tt></a>, 
<a href="QUrl.html#setUserName(java.lang.String)"><tt>setUserName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="path()"><!-- --></A><H3>
path</H3>
<PRE>
public final java.lang.String <B>path</B>()</PRE>
<DL>
<DD><p>Returns the path of the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setPath(java.lang.String)"><tt>setPath</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="port()"><!-- --></A><H3>
port</H3>
<PRE>
public final int <B>port</B>()</PRE>
<DL>
<DD><p>Returns the port of the URL, or -1 if the port is unspecified.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="port(int)"><!-- --></A><H3>
port</H3>
<PRE>
public final int <B>port</B>(int&nbsp;defaultPort)</PRE>
<DL>
<DD><p>Returns the port of the URL, or <tt>defaultPort</tt> if the port is unspecified.</p>
<p>Example:</p>
<pre>    QFtp ftp;
    ftp.connectToHost(url.host(), url.port(21));</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setPort(int)"><tt>setPort</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="queryItemValue(java.lang.String)"><!-- --></A><H3>
queryItemValue</H3>
<PRE>
public final java.lang.String <B>queryItemValue</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Returns the first query string value whose key is equal to <tt>key</tt> from the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#allQueryItemValues(java.lang.String)"><tt>allQueryItemValues</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="queryItems()"><!-- --></A><H3>
queryItems</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/QPair.html" title="class in com.trolltech.qt">QPair</A>&lt;java.lang.String,java.lang.String&gt;&gt; <B>queryItems</B>()</PRE>
<DL>
<DD><p>Returns the query string of the URL, as a map of keys and values.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setQueryItems(java.lang.String>>)"><tt>setQueryItems</tt></a>, 
<a href="QUrl.html#setEncodedQuery(com.trolltech.qt.core.QByteArray)"><tt>setEncodedQuery</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="queryPairDelimiter()"><!-- --></A><H3>
queryPairDelimiter</H3>
<PRE>
public final byte <B>queryPairDelimiter</B>()</PRE>
<DL>
<DD><p>Returns the character used to delimit between key-value pairs in the query string of the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="queryValueDelimiter()"><!-- --></A><H3>
queryValueDelimiter</H3>
<PRE>
public final byte <B>queryValueDelimiter</B>()</PRE>
<DL>
<DD><p>Returns the character used to delimit between keys and values in the query string of the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="removeAllQueryItems(java.lang.String)"><!-- --></A><H3>
removeAllQueryItems</H3>
<PRE>
public final void <B>removeAllQueryItems</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Removes all the query string pairs whose key is equal to <tt>key</tt> from the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#removeQueryItem(java.lang.String)"><tt>removeQueryItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeQueryItem(java.lang.String)"><!-- --></A><H3>
removeQueryItem</H3>
<PRE>
public final void <B>removeQueryItem</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Removes the first query string pair whose key is equal to <tt>key</tt> from the URL.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#removeAllQueryItems(java.lang.String)"><tt>removeAllQueryItems</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resolved(com.trolltech.qt.core.QUrl)"><!-- --></A><H3>
resolved</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A> <B>resolved</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>&nbsp;relative)</PRE>
<DL>
<DD><p>Returns the result of the merge of this URL with <tt>relative</tt>. This URL is used as a base to convert <tt>relative</tt> to an absolute URL.</p>
<p>If <tt>relative</tt> is not a relative URL, this function will return <tt>relative</tt> directly. Otherwise, the paths of the two URLs are merged, and the new URL returned has the scheme and authority of the base URL, but with the merged path, as in the following example:</p>
<pre>    QUrl baseUrl(&quot;http:<span class="comment">//www.trolltech.com/support&quot;);</span>
    QUrl relativeUrl(&quot;../products/solutions&quot;);
    qDebug(baseUrl.resolved(relativeUrl).toString());
<span class="comment">    // prints &quot;http://www.trolltech.com/products/solutions&quot;</span></pre>
<p>Calling <a href="QUrl.html#resolved(com.trolltech.qt.core.QUrl)"><tt>resolved</tt></a> with &quot;..&quot; returns a <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> whose directory is one level higher than the original. Similarly, calling <a href="QUrl.html#resolved(com.trolltech.qt.core.QUrl)"><tt>resolved</tt></a> with &quot;../&#x2e;.&quot; removes two levels from the path. If <tt>relative</tt> is &quot;/&quot;, the path becomes &quot;/&quot;.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#isRelative()"><tt>isRelative</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scheme()"><!-- --></A><H3>
scheme</H3>
<PRE>
public final java.lang.String <B>scheme</B>()</PRE>
<DL>
<DD><p>Returns the scheme of the URL. If an empty string is returned, this means the scheme is undefined and the URL is then relative.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setScheme(java.lang.String)"><tt>setScheme</tt></a>, 
<a href="QUrl.html#isRelative()"><tt>isRelative</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAuthority(java.lang.String)"><!-- --></A><H3>
setAuthority</H3>
<PRE>
public final void <B>setAuthority</B>(java.lang.String&nbsp;authority)</PRE>
<DL>
<DD><p>Sets the authority of the URL to <tt>authority</tt>.</p>
<p>The authority of a URL is the combination of user info, a host name and a port. All of these elements are optional; an empty authority is therefore valid.</p>
<p>The user info and host are separated by a '<a href="mailto:@">@</tt></a>', and the host and port are separated by a ':'. If the user info is empty, the '<a href="mailto:@">@</tt></a>' must be omitted; although a stray ':' is permitted if the port is empty.</p>
<p>The following example shows a valid authority string:</p>
<p align="center"><img src="%2E%2E/images/qurl-authority.png" /></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#authority()"><tt>authority</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEncodedQuery(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
setEncodedQuery</H3>
<PRE>
public final void <B>setEncodedQuery</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;query)</PRE>
<DL>
<DD><p>Sets the query string of the URL to <tt>query</tt>. The string is inserted as-is, and no further encoding is performed when calling <a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a>.</p>
<p>This function is useful if you need to pass a query string that does not fit into the key-value pattern, or that uses a different scheme for encoding special characters than what is suggested by <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a>.</p>
<p>Passing a value of <a href="%2E%2E/porting4.html#qbytearray"><tt>QByteArray</tt></a> to <tt>query</tt> (a null <a href="QByteArray.html"><tt>QByteArray</tt></a>) unsets the query completely. However, passing a value of <a href="QByteArray.html"><tt>QByteArray</tt></a>(&quot;&quot;) will set the query to an empty value, as if the original URL had a lone &quot;?&quot;.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#encodedQuery()"><tt>encodedQuery</tt></a>, 
<a href="QUrl.html#hasQuery()"><tt>hasQuery</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEncodedUrl(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QUrl.ParsingMode)"><!-- --></A><H3>
setEncodedUrl</H3>
<PRE>
public final void <B>setEncodedUrl</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url,
                                <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Constructs a URL by parsing the contents of <tt>url</tt> using the given <tt>mode</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setEncodedUrl(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
setEncodedUrl</H3>
<PRE>
public final void <B>setEncodedUrl</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url)</PRE>
<DL>
<DD><p>Constructs a URL by parsing the contents of <tt>url</tt>.</p>
<p><tt>url</tt> is assumed to be a URL string in percent encoded form, containing only ASCII characters.</p>
<p>Use <a href="QUrl.html#isValid()"><tt>isValid</tt></a> to determine if a valid URL was constructed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>setUrl</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFragment(java.lang.String)"><!-- --></A><H3>
setFragment</H3>
<PRE>
public final void <B>setFragment</B>(java.lang.String&nbsp;fragment)</PRE>
<DL>
<DD><p>Sets the fragment of the URL to <tt>fragment</tt>. The fragment is the last part of the URL, represented by a '#' followed by a string of characters. It is typically used in HTTP for referring to a certain link or point on a page:</p>
<p align="center"><img src="%2E%2E/images/qurl-fragment.png" /></p><p>The fragment is sometimes also referred to as the URL &quot;reference&quot;.</p>
<p>Passing an argument of <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> (a null <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a>) will unset the fragment. Passing an argument of <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a>(&quot;&quot;) (an empty but not null <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a>) will set the fragment to an empty string (as if the original URL had a lone &quot;#&quot;).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#fragment()"><tt>fragment</tt></a>, 
<a href="QUrl.html#hasFragment()"><tt>hasFragment</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setHost(java.lang.String)"><!-- --></A><H3>
setHost</H3>
<PRE>
public final void <B>setHost</B>(java.lang.String&nbsp;host)</PRE>
<DL>
<DD><p>Sets the host of the URL to <tt>host</tt>. The host is part of the authority.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#host()"><tt>host</tt></a>, 
<a href="QUrl.html#setAuthority(java.lang.String)"><tt>setAuthority</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPassword(java.lang.String)"><!-- --></A><H3>
setPassword</H3>
<PRE>
public final void <B>setPassword</B>(java.lang.String&nbsp;password)</PRE>
<DL>
<DD><p>Sets the URL's password to <tt>password</tt>. The <tt>password</tt> is part of the user info element in the authority of the URL, as described in <a href="QUrl.html#setUserInfo(java.lang.String)"><tt>setUserInfo</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#password()"><tt>password</tt></a>, 
<a href="QUrl.html#setUserInfo(java.lang.String)"><tt>setUserInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPath(java.lang.String)"><!-- --></A><H3>
setPath</H3>
<PRE>
public final void <B>setPath</B>(java.lang.String&nbsp;path)</PRE>
<DL>
<DD><p>Sets the path of the URL to <tt>path</tt>. The path is the part of the URL that comes after the authority but before the query string.</p>
<p align="center"><img src="%2E%2E/images/qurl-ftppath.png" /></p><p>For non-hierarchical schemes, the path will be everything following the scheme declaration, as in the following example:</p>
<p align="center"><img src="%2E%2E/images/qurl-mailtopath.png" /></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#path()"><tt>path</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPort(int)"><!-- --></A><H3>
setPort</H3>
<PRE>
public final void <B>setPort</B>(int&nbsp;port)</PRE>
<DL>
<DD><p>Sets the port of the URL to <tt>port</tt>. The port is part of the authority of the URL, as described in <a href="QUrl.html#setAuthority(java.lang.String)"><tt>setAuthority</tt></a>.</p>
<p><tt>port</tt> must be between 0 and 65535 inclusive. Setting the port to -1 indicates that the port is unspecified.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#port(int)"><tt>port</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setQueryDelimiters(byte, byte)"><!-- --></A><H3>
setQueryDelimiters</H3>
<PRE>
public final void <B>setQueryDelimiters</B>(byte&nbsp;valueDelimiter,
                                     byte&nbsp;pairDelimiter)</PRE>
<DL>
<DD><p>Sets the characters used for delimiting between keys and values, and between key-value pairs in the URL's query string. The default value delimiter is '=' and the default pair delimiter is '&amp;'.</p>
<p align="center"><img src="%2E%2E/images/qurl-querystring.png" /></p><p><tt>valueDelimiter</tt> will be used for separating keys from values, and <tt>pairDelimiter</tt> will be used to separate key-value pairs. Any occurrences of these delimiting characters in the encoded representation of the keys and values of the query string are percent encoded.</p>
<p>If <tt>valueDelimiter</tt> is set to '-' and <tt>pairDelimiter</tt> is '/', the above query string would instead be represented like this:</p>
<pre>    http:<span class="comment">//www.example.com/cgi-bin/drawgraph.cgi?type-pie/color-green</span></pre>
<p>Calling this function does not change the delimiters of the current query string. It only affects <a href="QUrl.html#queryItems()"><tt>queryItems</tt></a>, <a href="QUrl.html#setQueryItems(java.lang.String>>)"><tt>setQueryItems</tt></a> and addQueryItems().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setQueryItems(java.util.List)"><!-- --></A><H3>
setQueryItems</H3>
<PRE>
public final void <B>setQueryItems</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/QPair.html" title="class in com.trolltech.qt">QPair</A>&lt;java.lang.String,java.lang.String&gt;&gt;&nbsp;query)</PRE>
<DL>
<DD>Sets the query string of the URL to an encoded version of
<tt>query</tt>. The contents of <tt>query</tt> are converted to a
string internally, each pair delimited by the character returned by
pairDelimiter(), and the key and value are delimited by
valueDelimiter().
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setScheme(java.lang.String)"><!-- --></A><H3>
setScheme</H3>
<PRE>
public final void <B>setScheme</B>(java.lang.String&nbsp;scheme)</PRE>
<DL>
<DD><p>Sets the scheme of the URL to <tt>scheme</tt>. As a scheme can only contain ASCII characters, no conversion or encoding is done on the input.</p>
<p>The scheme describes the type (or protocol) of the URL. It's represented by one or more ASCII characters at the start the URL, and is followed by a ':'. The following example shows a URL where the scheme is &quot;ftp&quot;:</p>
<p align="center"><img src="%2E%2E/images/qurl-authority2.png" /></p><p>The scheme can also be empty, in which case the URL is interpreted as relative.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#scheme()"><tt>scheme</tt></a>, 
<a href="QUrl.html#isRelative()"><tt>isRelative</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setUrl(java.lang.String)"><!-- --></A><H3>
setUrl</H3>
<PRE>
public final void <B>setUrl</B>(java.lang.String&nbsp;url)</PRE>
<DL>
<DD><p>Constructs a URL by parsing the contents of <tt>url</tt>.</p>
<p><tt>url</tt> is assumed to be in unicode format, with no percent encoding.</p>
<p>Calling <a href="QUrl.html#isValid()"><tt>isValid</tt></a> will tell whether or not a valid URL was constructed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setEncodedUrl(com.trolltech.qt.core.QByteArray)"><tt>setEncodedUrl</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><!-- --></A><H3>
setUrl</H3>
<PRE>
public final void <B>setUrl</B>(java.lang.String&nbsp;url,
                         <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Parses <tt>url</tt> using the parsing mode <tt>mode</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setEncodedUrl(com.trolltech.qt.core.QByteArray)"><tt>setEncodedUrl</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setUserInfo(java.lang.String)"><!-- --></A><H3>
setUserInfo</H3>
<PRE>
public final void <B>setUserInfo</B>(java.lang.String&nbsp;userInfo)</PRE>
<DL>
<DD><p>Sets the user info of the URL to <tt>userInfo</tt>. The user info is an optional part of the authority of the URL, as described in <a href="QUrl.html#setAuthority(java.lang.String)"><tt>setAuthority</tt></a>.</p>
<p>The user info consists of a user name and optionally a password, separated by a ':'. If the password is empty, the colon must be omitted. The following example shows a valid user info string:</p>
<p align="center"><img src="%2E%2E/images/qurl-authority3.png" /></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#userInfo()"><tt>userInfo</tt></a>, 
<a href="QUrl.html#setUserName(java.lang.String)"><tt>setUserName</tt></a>, 
<a href="QUrl.html#setPassword(java.lang.String)"><tt>setPassword</tt></a>, 
<a href="QUrl.html#setAuthority(java.lang.String)"><tt>setAuthority</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setUserName(java.lang.String)"><!-- --></A><H3>
setUserName</H3>
<PRE>
public final void <B>setUserName</B>(java.lang.String&nbsp;userName)</PRE>
<DL>
<DD><p>Sets the URL's user name to <tt>userName</tt>. The <tt>userName</tt> is part of the user info element in the authority of the URL, as described in <a href="QUrl.html#setUserInfo(java.lang.String)"><tt>setUserInfo</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#userName()"><tt>userName</tt></a>, 
<a href="QUrl.html#setUserInfo(java.lang.String)"><tt>setUserInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toEncoded(com.trolltech.qt.core.QUrl.FormattingOption...)"><!-- --></A><H3>
toEncoded</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toEncoded</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core">QUrl.FormattingOption</A>...&nbsp;options)</PRE>
<DL>
<DD><p>Returns the encoded representation of the URL if it's valid; otherwise an empty <a href="QByteArray.html"><tt>QByteArray</tt></a> is returned. The output can be customized by passing flags with <tt>options</tt>.</p>
<p>The user info, path and fragment are all converted to UTF-8, and all non-ASCII characters are then percent encoded. The host name is encoded using Punycode.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toEncoded()"><!-- --></A><H3>
toEncoded</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toEncoded</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a>(None).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><!-- --></A><H3>
toEncoded</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toEncoded</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOptions.html" title="class in com.trolltech.qt.core">QUrl.FormattingOptions</A>&nbsp;options)</PRE>
<DL>
<DD><p>Returns the encoded representation of the URL if it's valid; otherwise an empty <a href="QByteArray.html"><tt>QByteArray</tt></a> is returned. The output can be customized by passing flags with <tt>options</tt>.</p>
<p>The user info, path and fragment are all converted to UTF-8, and all non-ASCII characters are then percent encoded. The host name is encoded using Punycode.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toLocalFile()"><!-- --></A><H3>
toLocalFile</H3>
<PRE>
public final java.lang.String <B>toLocalFile</B>()</PRE>
<DL>
<DD><p>Returns the path of this URL formatted as a local file path.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#fromLocalFile(java.lang.String)"><tt>fromLocalFile</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toString(com.trolltech.qt.core.QUrl.FormattingOption...)"><!-- --></A><H3>
toString</H3>
<PRE>
public final java.lang.String <B>toString</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core">QUrl.FormattingOption</A>...&nbsp;options)</PRE>
<DL>
<DD><p>Returns the human-displayable string representation of the URL. The output can be customized by passing flags with <tt>options</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>FormattingOptions</tt>, 
<a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public final java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QUrl.html#toString(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toString</tt></a>(None).
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toString(com.trolltech.qt.core.QUrl.FormattingOptions)"><!-- --></A><H3>
toString</H3>
<PRE>
public final java.lang.String <B>toString</B>(<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOptions.html" title="class in com.trolltech.qt.core">QUrl.FormattingOptions</A>&nbsp;options)</PRE>
<DL>
<DD><p>Returns the human-displayable string representation of the URL. The output can be customized by passing flags with <tt>options</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>FormattingOptions</tt>, 
<a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="userInfo()"><!-- --></A><H3>
userInfo</H3>
<PRE>
public final java.lang.String <B>userInfo</B>()</PRE>
<DL>
<DD><p>Returns the user info of the URL, or an empty string if the user info is undefined.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setUserInfo(java.lang.String)"><tt>setUserInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="userName()"><!-- --></A><H3>
userName</H3>
<PRE>
public final java.lang.String <B>userName</B>()</PRE>
<DL>
<DD><p>Returns the user name of the URL if it is defined; otherwise an empty string is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setUserName(java.lang.String)"><tt>setUserName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromAce(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
fromAce</H3>
<PRE>
public static java.lang.String <B>fromAce</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the Unicode form of the given domain name <tt>arg__1</tt>, which is encoded in the ASCII Compatible Encoding (ACE). The result of this function is considered equivalent to <tt>arg__1</tt>.</p>
<p>If the value in <tt>arg__1</tt> cannot be encoded, it will be converted to <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> and returned.</p>
<p>The ASCII Compatible Encoding (ACE) is defined by RFC 3490, RFC 3491 and RFC 3492. It is part of the Internationalizing Domain Names in Applications (IDNA) specification, which allows for domain names (like <tt>&quot;www.trolltech.com&quot;</tt>) to be written using international characters.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromEncoded(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
fromEncoded</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A> <B>fromEncoded</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url)</PRE>
<DL>
<DD><p>Parses <tt>url</tt> and returns the corresponding <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a>. <tt>url</tt> is assumed to be in encoded form, containing only ASCII characters.</p>
<p>The URL is parsed using <a href="QUrl.html#ParsingMode-enum"><tt>TolerantMode</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a>, 
<a href="QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>setUrl</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromEncoded(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QUrl.ParsingMode)"><!-- --></A><H3>
fromEncoded</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A> <B>fromEncoded</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;url,
                               <A HREF="../../../../com/trolltech/qt/core/QUrl.ParsingMode.html" title="enum in com.trolltech.qt.core">QUrl.ParsingMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Parses the URL using <tt>mode</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#toEncoded(com.trolltech.qt.core.QUrl.FormattingOptions)"><tt>toEncoded</tt></a>, 
<a href="QUrl.html#setUrl(java.lang.String, com.trolltech.qt.core.QUrl.ParsingMode)"><tt>setUrl</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromLocalFile(java.lang.String)"><!-- --></A><H3>
fromLocalFile</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A> <B>fromLocalFile</B>(java.lang.String&nbsp;localfile)</PRE>
<DL>
<DD><p>Returns a <a href="QUrl.html#QUrl()"><tt>QUrl</tt></a> representation of <tt>localfile</tt>, interpreted as a local file.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#toLocalFile()"><tt>toLocalFile</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromPercentEncoding(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
fromPercentEncoding</H3>
<PRE>
public static java.lang.String <B>fromPercentEncoding</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns a decoded copy of <tt>arg__1</tt>. <tt>arg__1</tt> is first decoded from percent encoding, then converted from UTF-8 to unicode.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="idnWhitelist()"><!-- --></A><H3>
idnWhitelist</H3>
<PRE>
public static java.util.List&lt;java.lang.String&gt; <B>idnWhitelist</B>()</PRE>
<DL>
<DD><p>Returns the current whitelist of top-level domains that are allowed to have non-ASCII characters in their compositions.</p>
<p>See <a href="QUrl.html#setIdnWhitelist(java.util.List<java.lang.String>)"><tt>setIdnWhitelist</tt></a> for the rationale of this list.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#setIdnWhitelist(java.util.List<java.lang.String>)"><tt>setIdnWhitelist</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setIdnWhitelist(java.util.List)"><!-- --></A><H3>
setIdnWhitelist</H3>
<PRE>
public static void <B>setIdnWhitelist</B>(java.util.List&lt;java.lang.String&gt;&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the whitelist of Top-Level Domains (TLDs) that are allowed to have non-ASCII characters in domains to the value of <tt>arg__1</tt>.</p>
<p>Qt has comes a default list that contains the Internet top-level domains that have published support for Internationalized Domain Names (IDNs) and rules to guarantee that no deception can happen between similarly-looking characters (such as the Latin lowercase letter <tt>'a'</tt> and the Cyrillic equivalent, which in most fonts are visually identical).</p>
<p>This list is periodically maintained, as registrars publish new rules.</p>
<p>This function is provided for those who need to manipulate the list, in order to add or remove a TLD. It is not recommended to change its value for purposes other than testing, as it may expose users to security risks.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QUrl.html#idnWhitelist()"><tt>idnWhitelist</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toAce(java.lang.String)"><!-- --></A><H3>
toAce</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toAce</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the ASCII Compatible Encoding of the given domain name <tt>arg__1</tt>. The result of this function is considered equivalent to <tt>arg__1</tt>.</p>
<p>The ASCII-Compatible Encoding (ACE) is defined by RFC 3490, RFC 3491 and RFC 3492. It is part of the Internationalizing Domain Names in Applications (IDNA) specification, which allows for domain names (like <tt>&quot;www.trolltech.com&quot;</tt>) to be written using international characters.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
toPercentEncoding</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toPercentEncoding</B>(java.lang.String&nbsp;arg__1,
                                           <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;exclude)</PRE>
<DL>
<DD><p>Equivalent to <a href="QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><tt>toPercentEncoding</tt></a>(<tt>arg__1</tt>, <tt>exclude</tt>, QByteArray()).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toPercentEncoding(java.lang.String)"><!-- --></A><H3>
toPercentEncoding</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toPercentEncoding</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QUrl.html#toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><tt>toPercentEncoding</tt></a>(<tt>arg__1</tt>, QByteArray(), QByteArray()).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toPercentEncoding(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
toPercentEncoding</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toPercentEncoding</B>(java.lang.String&nbsp;arg__1,
                                           <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;exclude,
                                           <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;include)</PRE>
<DL>
<DD><p>Returns an encoded copy of <tt>arg__1</tt>. <tt>arg__1</tt> is first converted to UTF-8, and all ASCII-characters that are not in the unreserved group are percent encoded. To prevent characters from being percent encoded pass them to <tt>exclude</tt>. To force characters to be percent encoded pass them to <tt>include</tt>.</p>
<p>Unreserved is defined as: ALPHA / DIGIT / &quot;-&quot; / &quot;.&quot; / &quot;_&quot; / &quot;~&quot;</p>
<pre>    QByteArray ba = QUrl::toPercentEncoding(&quot;{a fishy string?}&quot;, &quot;{}&quot;, &quot;s&quot;);
    qDebug(ba.constData());
<span class="comment">    // prints &quot;{a fi%73hy %73tring%3F}&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QUrl instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<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.core.QUrl[])"><!-- --></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/core/QUrl.html" title="class in com.trolltech.qt.core">QUrl</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QUrl array.
<P>
<DD><DL>
</DL>
</DD>
<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>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
compareTo</H3>
<PRE>
public int <B>compareTo</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable</CODE></DL>
</DD>
<DD><DL>
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTranslator.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QUrl.FormattingOption.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QUrl.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QUrl.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>