Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > ac91357d6caede925de099a02fced14e > files > 5042

qt4-doc-4.2.1-1.el5_7.1.x86_64.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /tmp/qt-4.2.1-harald-1161357942206/qt-x11-opensource-src-4.2.1/src/network/qurlinfo.cpp -->
<head>
  <title>Qt 4.2: QUrlInfo Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">QUrlInfo Class Reference<br /><sup><sup>[<a href="qtnetwork.html">QtNetwork</a> module]</sup></sup></h1>
<p>The QUrlInfo class stores information about URLs. <a href="#details">More...</a></p>
<pre> #include &lt;QUrlInfo&gt;</pre><ul>
<li><a href="qurlinfo-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h3>Public Types</h3>
<ul>
<li><div class="fn"/>enum <b><a href="qurlinfo.html#PermissionSpec-enum">PermissionSpec</a></b> { ReadOwner, WriteOwner, ExeOwner, ReadGroup, ..., ExeOther }</li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="qurlinfo.html#QUrlInfo">QUrlInfo</a></b> ()</li>
<li><div class="fn"/><b><a href="qurlinfo.html#QUrlInfo-2">QUrlInfo</a></b> ( const QUrlInfo &amp; <i>ui</i> )</li>
<li><div class="fn"/><b><a href="qurlinfo.html#QUrlInfo-3">QUrlInfo</a></b> ( const QString &amp; <i>name</i>, int <i>permissions</i>, const QString &amp; <i>owner</i>, const QString &amp; <i>group</i>, qint64 <i>size</i>, const QDateTime &amp; <i>lastModified</i>, const QDateTime &amp; <i>lastRead</i>, bool <i>isDir</i>, bool <i>isFile</i>, bool <i>isSymLink</i>, bool <i>isWritable</i>, bool <i>isReadable</i>, bool <i>isExecutable</i> )</li>
<li><div class="fn"/><b><a href="qurlinfo.html#QUrlInfo-4">QUrlInfo</a></b> ( const QUrl &amp; <i>url</i>, int <i>permissions</i>, const QString &amp; <i>owner</i>, const QString &amp; <i>group</i>, qint64 <i>size</i>, const QDateTime &amp; <i>lastModified</i>, const QDateTime &amp; <i>lastRead</i>, bool <i>isDir</i>, bool <i>isFile</i>, bool <i>isSymLink</i>, bool <i>isWritable</i>, bool <i>isReadable</i>, bool <i>isExecutable</i> )</li>
<li><div class="fn"/>virtual <b><a href="qurlinfo.html#dtor.QUrlInfo">~QUrlInfo</a></b> ()</li>
<li><div class="fn"/>QString <b><a href="qurlinfo.html#group">group</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isDir">isDir</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isExecutable">isExecutable</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isFile">isFile</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isReadable">isReadable</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isSymLink">isSymLink</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isValid">isValid</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#isWritable">isWritable</a></b> () const</li>
<li><div class="fn"/>QDateTime <b><a href="qurlinfo.html#lastModified">lastModified</a></b> () const</li>
<li><div class="fn"/>QDateTime <b><a href="qurlinfo.html#lastRead">lastRead</a></b> () const</li>
<li><div class="fn"/>QString <b><a href="qurlinfo.html#name">name</a></b> () const</li>
<li><div class="fn"/>QString <b><a href="qurlinfo.html#owner">owner</a></b> () const</li>
<li><div class="fn"/>int <b><a href="qurlinfo.html#permissions">permissions</a></b> () const</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setDir">setDir</a></b> ( bool <i>b</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setFile">setFile</a></b> ( bool <i>b</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setGroup">setGroup</a></b> ( const QString &amp; <i>s</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setLastModified">setLastModified</a></b> ( const QDateTime &amp; <i>dt</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setName">setName</a></b> ( const QString &amp; <i>name</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setOwner">setOwner</a></b> ( const QString &amp; <i>s</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setPermissions">setPermissions</a></b> ( int <i>p</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setReadable">setReadable</a></b> ( bool <i>b</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setSize">setSize</a></b> ( qint64 <i>size</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setSymLink">setSymLink</a></b> ( bool <i>b</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qurlinfo.html#setWritable">setWritable</a></b> ( bool <i>b</i> )</li>
<li><div class="fn"/>qint64 <b><a href="qurlinfo.html#size">size</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#operator-not-eq">operator!=</a></b> ( const QUrlInfo &amp; <i>other</i> ) const</li>
<li><div class="fn"/>QUrlInfo &amp; <b><a href="qurlinfo.html#operator-eq">operator=</a></b> ( const QUrlInfo &amp; <i>ui</i> )</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#operator-eq-eq">operator==</a></b> ( const QUrlInfo &amp; <i>other</i> ) const</li>
</ul>
<a name="static-public-members"></a>
<h3>Static Public Members</h3>
<ul>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#equal">equal</a></b> ( const QUrlInfo &amp; <i>i1</i>, const QUrlInfo &amp; <i>i2</i>, int <i>sortBy</i> )</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#greaterThan">greaterThan</a></b> ( const QUrlInfo &amp; <i>i1</i>, const QUrlInfo &amp; <i>i2</i>, int <i>sortBy</i> )</li>
<li><div class="fn"/>bool <b><a href="qurlinfo.html#lessThan">lessThan</a></b> ( const QUrlInfo &amp; <i>i1</i>, const QUrlInfo &amp; <i>i2</i>, int <i>sortBy</i> )</li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QUrlInfo class stores information about URLs.</p>
<p>The information about a URL that can be retrieved includes <a href="qurlinfo.html#name">name</a>(), <a href="qurlinfo.html#permissions">permissions</a>(), <a href="qurlinfo.html#owner">owner</a>(), <a href="qurlinfo.html#group">group</a>(), <a href="qurlinfo.html#size">size</a>(), <a href="qurlinfo.html#lastModified">lastModified</a>(), <a href="qurlinfo.html#lastRead">lastRead</a>(), <a href="qurlinfo.html#isDir">isDir</a>(), <a href="qurlinfo.html#isFile">isFile</a>(), <a href="qurlinfo.html#isSymLink">isSymLink</a>(), <a href="qurlinfo.html#isWritable">isWritable</a>(), <a href="qurlinfo.html#isReadable">isReadable</a>() and <a href="qurlinfo.html#isExecutable">isExecutable</a>().</p>
<p>You can create your own QUrlInfo objects passing in all the relevant information in the constructor, and you can modify a QUrlInfo; for each getter mentioned above there is an equivalent setter. Note that setting values does not affect the underlying resource that the QUrlInfo provides information about; for example if you call setWritable(true) on a read-only resource the only thing changed is the QUrlInfo object, not the resource.</p>
<p>See also <a href="qurl.html">QUrl</a> and <a href="network-ftp.html">FTP Example</a>.</p>
<hr />
<h2>Member Type Documentation</h2>
<h3 class="fn"><a name="PermissionSpec-enum"></a>enum QUrlInfo::PermissionSpec</h3>
<p>This enum is used by the <a href="qurlinfo.html#permissions">permissions</a>() function to report the permissions of a file.</p>
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
<tr><td valign="top"><tt>QUrlInfo::ReadOwner</tt></td><td align="center" valign="top"><tt>00400</tt></td><td valign="top">The file is readable by the owner of the file.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::WriteOwner</tt></td><td align="center" valign="top"><tt>00200</tt></td><td valign="top">The file is writable by the owner of the file.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::ExeOwner</tt></td><td align="center" valign="top"><tt>00100</tt></td><td valign="top">The file is executable by the owner of the file.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::ReadGroup</tt></td><td align="center" valign="top"><tt>00040</tt></td><td valign="top">The file is readable by the group.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::WriteGroup</tt></td><td align="center" valign="top"><tt>00020</tt></td><td valign="top">The file is writable by the group.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::ExeGroup</tt></td><td align="center" valign="top"><tt>00010</tt></td><td valign="top">The file is executable by the group.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::ReadOther</tt></td><td align="center" valign="top"><tt>00004</tt></td><td valign="top">The file is readable by anyone.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::WriteOther</tt></td><td align="center" valign="top"><tt>00002</tt></td><td valign="top">The file is writable by anyone.</td></tr>
<tr><td valign="top"><tt>QUrlInfo::ExeOther</tt></td><td align="center" valign="top"><tt>00001</tt></td><td valign="top">The file is executable by anyone.</td></tr>
</table></p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QUrlInfo"></a>QUrlInfo::QUrlInfo ()</h3>
<p>Constructs an invalid <a href="qurlinfo.html">QUrlInfo</a> object with default values.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="QUrlInfo-2"></a>QUrlInfo::QUrlInfo ( const QUrlInfo &amp; <i>ui</i> )</h3>
<p>Copy constructor, copies <i>ui</i> to this URL info object.</p>
<h3 class="fn"><a name="QUrlInfo-3"></a>QUrlInfo::QUrlInfo ( const <a href="qstring.html">QString</a> &amp; <i>name</i>, int <i>permissions</i>, const <a href="qstring.html">QString</a> &amp; <i>owner</i>, const <a href="qstring.html">QString</a> &amp; <i>group</i>, <a href="qtglobal.html#qint64-typedef">qint64</a> <i>size</i>, const <a href="qdatetime.html">QDateTime</a> &amp; <i>lastModified</i>, const <a href="qdatetime.html">QDateTime</a> &amp; <i>lastRead</i>, bool <i>isDir</i>, bool <i>isFile</i>, bool <i>isSymLink</i>, bool <i>isWritable</i>, bool <i>isReadable</i>, bool <i>isExecutable</i> )</h3>
<p>Constructs a <a href="qurlinfo.html">QUrlInfo</a> object by specifying all the URL's information.</p>
<p>The information that is passed is the <i>name</i>, file <i>permissions</i>, <i>owner</i> and <i>group</i> and the file's <i>size</i>. Also passed is the <i>lastModified</i> date/time and the <i>lastRead</i> date/time. Flags are also passed, specifically, <i>isDir</i>, <i>isFile</i>, <i>isSymLink</i>, <i>isWritable</i>, <i>isReadable</i> and <i>isExecutable</i>.</p>
<h3 class="fn"><a name="QUrlInfo-4"></a>QUrlInfo::QUrlInfo ( const <a href="qurl.html">QUrl</a> &amp; <i>url</i>, int <i>permissions</i>, const <a href="qstring.html">QString</a> &amp; <i>owner</i>, const <a href="qstring.html">QString</a> &amp; <i>group</i>, <a href="qtglobal.html#qint64-typedef">qint64</a> <i>size</i>, const <a href="qdatetime.html">QDateTime</a> &amp; <i>lastModified</i>, const <a href="qdatetime.html">QDateTime</a> &amp; <i>lastRead</i>, bool <i>isDir</i>, bool <i>isFile</i>, bool <i>isSymLink</i>, bool <i>isWritable</i>, bool <i>isReadable</i>, bool <i>isExecutable</i> )</h3>
<p>Constructs a <a href="qurlinfo.html">QUrlInfo</a> object by specifying all the URL's information.</p>
<p>The information that is passed is the <i>url</i>, file <i>permissions</i>, <i>owner</i> and <i>group</i> and the file's <i>size</i>. Also passed is the <i>lastModified</i> date/time and the <i>lastRead</i> date/time. Flags are also passed, specifically, <i>isDir</i>, <i>isFile</i>, <i>isSymLink</i>, <i>isWritable</i>, <i>isReadable</i> and <i>isExecutable</i>.</p>
<h3 class="fn"><a name="dtor.QUrlInfo"></a>QUrlInfo::~QUrlInfo ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Destroys the URL info object.</p>
<h3 class="fn"><a name="equal"></a>bool QUrlInfo::equal ( const QUrlInfo &amp; <i>i1</i>, const QUrlInfo &amp; <i>i2</i>, int <i>sortBy</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns true if <i>i1</i> equals to <i>i2</i>; otherwise returns false. The objects are compared by the value, which is specified by <i>sortBy</i>. This must be one of <a href="qdir.html#SortFlag-enum">QDir::Name</a>, <a href="qdir.html#SortFlag-enum">QDir::Time</a> or <a href="qdir.html#SortFlag-enum">QDir::Size</a>.</p>
<h3 class="fn"><a name="greaterThan"></a>bool QUrlInfo::greaterThan ( const QUrlInfo &amp; <i>i1</i>, const QUrlInfo &amp; <i>i2</i>, int <i>sortBy</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns true if <i>i1</i> is greater than <i>i2</i>; otherwise returns false. The objects are compared by the value, which is specified by <i>sortBy</i>. This must be one of <a href="qdir.html#SortFlag-enum">QDir::Name</a>, <a href="qdir.html#SortFlag-enum">QDir::Time</a> or <a href="qdir.html#SortFlag-enum">QDir::Size</a>.</p>
<h3 class="fn"><a name="group"></a><a href="qstring.html">QString</a> QUrlInfo::group () const</h3>
<p>Returns the group of the URL.</p>
<p>See also <a href="qurlinfo.html#setGroup">setGroup</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="isDir"></a>bool QUrlInfo::isDir () const</h3>
<p>Returns true if the URL is a directory; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="isExecutable"></a>bool QUrlInfo::isExecutable () const</h3>
<p>Returns true if the URL is executable; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="isFile"></a>bool QUrlInfo::isFile () const</h3>
<p>Returns true if the URL is a file; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="isReadable"></a>bool QUrlInfo::isReadable () const</h3>
<p>Returns true if the URL is readable; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="isSymLink"></a>bool QUrlInfo::isSymLink () const</h3>
<p>Returns true if the URL is a symbolic link; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="isValid"></a>bool QUrlInfo::isValid () const</h3>
<p>Returns true if the URL info is valid; otherwise returns false. Valid means that the <a href="qurlinfo.html">QUrlInfo</a> contains real information.</p>
<p>You should always check if the URL info is valid before relying on the values.</p>
<h3 class="fn"><a name="isWritable"></a>bool QUrlInfo::isWritable () const</h3>
<p>Returns true if the URL is writable; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="lastModified"></a><a href="qdatetime.html">QDateTime</a> QUrlInfo::lastModified () const</h3>
<p>Returns the last modification date of the URL.</p>
<p>See also <a href="qurlinfo.html#setLastModified">setLastModified</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="lastRead"></a><a href="qdatetime.html">QDateTime</a> QUrlInfo::lastRead () const</h3>
<p>Returns the date when the URL was last read.</p>
<p>See also <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="lessThan"></a>bool QUrlInfo::lessThan ( const QUrlInfo &amp; <i>i1</i>, const QUrlInfo &amp; <i>i2</i>, int <i>sortBy</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns true if <i>i1</i> is less than <i>i2</i>; otherwise returns false. The objects are compared by the value, which is specified by <i>sortBy</i>. This must be one of <a href="qdir.html#SortFlag-enum">QDir::Name</a>, <a href="qdir.html#SortFlag-enum">QDir::Time</a> or <a href="qdir.html#SortFlag-enum">QDir::Size</a>.</p>
<h3 class="fn"><a name="name"></a><a href="qstring.html">QString</a> QUrlInfo::name () const</h3>
<p>Returns the file name of the URL.</p>
<p>See also <a href="qurlinfo.html#setName">setName</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="owner"></a><a href="qstring.html">QString</a> QUrlInfo::owner () const</h3>
<p>Returns the owner of the URL.</p>
<p>See also <a href="qurlinfo.html#setOwner">setOwner</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="permissions"></a>int QUrlInfo::permissions () const</h3>
<p>Returns the permissions of the URL. You can use the <tt>PermissionSpec</tt> flags to test for certain permissions.</p>
<p>See also <a href="qurlinfo.html#setPermissions">setPermissions</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setDir"></a>void QUrlInfo::setDir ( bool <i>b</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>If <i>b</i> is true then the URL is set to be a directory; if <i>b</i> is false then the URL is set not to be a directory (which normally means it is a file). (Note that a URL can refer to both a file and a directory even though most file systems do not support this.)</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#isDir">isDir</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setFile"></a>void QUrlInfo::setFile ( bool <i>b</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>If <i>b</i> is true then the URL is set to be a file; if \b is false then the URL is set not to be a file (which normally means it is a directory). (Note that a URL can refer to both a file and a directory even though most file systems do not support this.)</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#isFile">isFile</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setGroup"></a>void QUrlInfo::setGroup ( const <a href="qstring.html">QString</a> &amp; <i>s</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the owning group of the URL is called <i>s</i>.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#group">group</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setLastModified"></a>void QUrlInfo::setLastModified ( const <a href="qdatetime.html">QDateTime</a> &amp; <i>dt</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the object the URL refers to was last modified at <i>dt</i>.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#lastModified">lastModified</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setName"></a>void QUrlInfo::setName ( const <a href="qstring.html">QString</a> &amp; <i>name</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Sets the name of the URL to <i>name</i>. The name is the full text, for example, &quot;http://doc.trolltech.com/qurlinfo.html&quot;.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#name">name</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setOwner"></a>void QUrlInfo::setOwner ( const <a href="qstring.html">QString</a> &amp; <i>s</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the owner of the URL is called <i>s</i>.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#owner">owner</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setPermissions"></a>void QUrlInfo::setPermissions ( int <i>p</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the URL has access permisions, <i>p</i>.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#permissions">permissions</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setReadable"></a>void QUrlInfo::setReadable ( bool <i>b</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the URL is readable if <i>b</i> is true and not readable if <i>b</i> is false.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#isReadable">isReadable</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setSize"></a>void QUrlInfo::setSize ( <a href="qtglobal.html#qint64-typedef">qint64</a> <i>size</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies the <i>size</i> of the URL.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#size">size</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setSymLink"></a>void QUrlInfo::setSymLink ( bool <i>b</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the URL refers to a symbolic link if <i>b</i> is true and that it does not if <i>b</i> is false.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#isSymLink">isSymLink</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="setWritable"></a>void QUrlInfo::setWritable ( bool <i>b</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Specifies that the URL is writable if <i>b</i> is true and not writable if <i>b</i> is false.</p>
<p>If you call this function for an invalid URL info, this function turns it into a valid one.</p>
<p>See also <a href="qurlinfo.html#isWritable">isWritable</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="size"></a><a href="qtglobal.html#qint64-typedef">qint64</a> QUrlInfo::size () const</h3>
<p>Returns the size of the URL.</p>
<p>See also <a href="qurlinfo.html#setSize">setSize</a>() and <a href="qurlinfo.html#isValid">isValid</a>().</p>
<h3 class="fn"><a name="operator-not-eq"></a>bool QUrlInfo::operator!= ( const QUrlInfo &amp; <i>other</i> ) const</h3>
<p>Returns true if this <a href="qurlinfo.html">QUrlInfo</a> is not equal to <i>other</i>; otherwise returns false.</p>
<p>This function was introduced in Qt 4.2.</p>
<p>See also <a href="qurlinfo.html#lessThan">lessThan</a>() and <a href="qurlinfo.html#equal">equal</a>().</p>
<h3 class="fn"><a name="operator-eq"></a>QUrlInfo &amp; QUrlInfo::operator= ( const QUrlInfo &amp; <i>ui</i> )</h3>
<p>Assigns the values of <i>ui</i> to this <a href="qurlinfo.html">QUrlInfo</a> object.</p>
<h3 class="fn"><a name="operator-eq-eq"></a>bool QUrlInfo::operator== ( const QUrlInfo &amp; <i>other</i> ) const</h3>
<p>Returns true if this <a href="qurlinfo.html">QUrlInfo</a> is equal to <i>other</i>; otherwise returns false.</p>
<p>See also <a href="qurlinfo.html#lessThan">lessThan</a>() and <a href="qurlinfo.html#equal">equal</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2006 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.2.1</div></td>
</tr></table></div></address></body>
</html>