This file is indexed.

/usr/share/qt3/doc/html/quridrag.html is in qt3-doc 3:3.3.8-b-8ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qdragobject.cpp:1278 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>QUriDrag Class</title>
<style type="text/css"><!--
fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
 <a href="index.html">
<font color="#004faf">Home</font></a>
 | <a href="classes.html">
<font color="#004faf">All&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;Classes</font></a>
 | <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QUriDrag Class Reference</h1>

<p>The QUriDrag class provides a drag object for a list of URI references.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qdragobject-h.html">qdragobject.h</a>&gt;</tt>
<p>Inherits <a href="qstoreddrag.html">QStoredDrag</a>.
<p><a href="quridrag-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li class=fn><a href="#QUriDrag"><b>QUriDrag</b></a> ( QStrList&nbsp;uris, QWidget&nbsp;*&nbsp;dragSource = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#QUriDrag-2"><b>QUriDrag</b></a> ( QWidget&nbsp;*&nbsp;dragSource = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#~QUriDrag"><b>~QUriDrag</b></a> ()</li>
<li class=fn>void setFilenames ( const&nbsp;QStringList&nbsp;&amp;&nbsp;fnames ) &nbsp;<em>(obsolete)</em></li>
<li class=fn>void <a href="#setFileNames"><b>setFileNames</b></a> ( const&nbsp;QStringList&nbsp;&amp;&nbsp;fnames )</li>
<li class=fn>void <a href="#setUnicodeUris"><b>setUnicodeUris</b></a> ( const&nbsp;QStringList&nbsp;&amp;&nbsp;uuris )</li>
<li class=fn>virtual void <a href="#setUris"><b>setUris</b></a> ( QStrList&nbsp;uris )</li>
</ul>
<h2>Static Public Members</h2>
<ul>
<li class=fn>QString <a href="#uriToLocalFile"><b>uriToLocalFile</b></a> ( const&nbsp;char&nbsp;*&nbsp;uri )</li>
<li class=fn>QCString <a href="#localFileToUri"><b>localFileToUri</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;filename )</li>
<li class=fn>QString <a href="#uriToUnicodeUri"><b>uriToUnicodeUri</b></a> ( const&nbsp;char&nbsp;*&nbsp;uri )</li>
<li class=fn>QCString <a href="#unicodeUriToUri"><b>unicodeUriToUri</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;uuri )</li>
<li class=fn>bool <a href="#canDecode"><b>canDecode</b></a> ( const&nbsp;QMimeSource&nbsp;*&nbsp;e )</li>
<li class=fn>bool <a href="#decode"><b>decode</b></a> ( const&nbsp;QMimeSource&nbsp;*&nbsp;e, QStrList&nbsp;&amp;&nbsp;l )</li>
<li class=fn>bool <a href="#decodeToUnicodeUris"><b>decodeToUnicodeUris</b></a> ( const&nbsp;QMimeSource&nbsp;*&nbsp;e, QStringList&nbsp;&amp;&nbsp;l )</li>
<li class=fn>bool <a href="#decodeLocalFiles"><b>decodeLocalFiles</b></a> ( const&nbsp;QMimeSource&nbsp;*&nbsp;e, QStringList&nbsp;&amp;&nbsp;l )</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>


The QUriDrag class provides a drag object for a list of URI references.
<p> 
<p> URIs are a useful way to refer to files that may be distributed
across multiple machines. A URI will often refer to a file on a
machine local to both the drag source and the drop target, so the
URI can be equivalent to passing a file name but is more
extensible.
<p> Use URIs in Unicode form so that the user can comfortably edit and
view them. For use in HTTP or other protocols, use the correctly
escaped ASCII form.
<p> You can convert a list of file names to file URIs using
<a href="#setFileNames">setFileNames</a>(), or into human-readble form with <a href="#setUnicodeUris">setUnicodeUris</a>().
<p> Static functions are provided to convert between filenames and
URIs, e.g. <a href="#uriToLocalFile">uriToLocalFile</a>() and <a href="#localFileToUri">localFileToUri</a>(), and to and from
human-readable form, e.g. <a href="#uriToUnicodeUri">uriToUnicodeUri</a>(), <a href="#unicodeUriToUri">unicodeUriToUri</a>().
You can also decode URIs from a mimesource into a list with
<a href="#decodeLocalFiles">decodeLocalFiles</a>() and <a href="#decodeToUnicodeUris">decodeToUnicodeUris</a>().
<p>See also <a href="draganddrop.html">Drag And Drop Classes</a>.

<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="QUriDrag"></a>QUriDrag::QUriDrag ( <a href="qstrlist.html">QStrList</a>&nbsp;uris, <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;dragSource = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs an object to drag the list of URIs in <em>uris</em>. The <em>dragSource</em> and <em>name</em> arguments are passed on to <a href="qstoreddrag.html">QStoredDrag</a>.
Note that URIs are always in escaped UTF8 encoding.

<h3 class=fn><a name="QUriDrag-2"></a>QUriDrag::QUriDrag ( <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;dragSource = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs an object to drag. You must call <a href="#setUris">setUris</a>() before you
start the <a href="qdragobject.html#drag">drag</a>(). Passes <em>dragSource</em> and <em>name</em> to the
<a href="qstoreddrag.html">QStoredDrag</a> constructor.

<h3 class=fn><a name="~QUriDrag"></a>QUriDrag::~QUriDrag ()
</h3>
Destroys the object.

<h3 class=fn>bool <a name="canDecode"></a>QUriDrag::canDecode ( const&nbsp;<a href="qmimesource.html">QMimeSource</a>&nbsp;*&nbsp;e )<tt> [static]</tt>
</h3>
Returns TRUE if <a href="#decode">decode</a>() would be able to decode <em>e</em>; otherwise
returns FALSE.

<h3 class=fn>bool <a name="decode"></a>QUriDrag::decode ( const&nbsp;<a href="qmimesource.html">QMimeSource</a>&nbsp;*&nbsp;e, <a href="qstrlist.html">QStrList</a>&nbsp;&amp;&nbsp;l )<tt> [static]</tt>
</h3>
Decodes URIs from <em>e</em>, placing the result in <em>l</em> (which is first
cleared).
<p> Returns TRUE if <em>e</em> contained a valid list of URIs; otherwise
returns FALSE.

<p>Example: <a href="dirview-example.html#x1707">dirview/dirview.cpp</a>.
<h3 class=fn>bool <a name="decodeLocalFiles"></a>QUriDrag::decodeLocalFiles ( const&nbsp;<a href="qmimesource.html">QMimeSource</a>&nbsp;*&nbsp;e, <a href="qstringlist.html">QStringList</a>&nbsp;&amp;&nbsp;l )<tt> [static]</tt>
</h3>
Decodes URIs from the mime source event <em>e</em>, converts them to
local files if they refer to local files, and places them in <em>l</em>
(which is first cleared).
<p> Returns TRUE if <em>contained</em> a valid list of URIs; otherwise
returns FALSE. The list will be empty if no URIs were local files.

<p>Example: <a href="fileiconview-example.html#x873">fileiconview/qfileiconview.cpp</a>.
<h3 class=fn>bool <a name="decodeToUnicodeUris"></a>QUriDrag::decodeToUnicodeUris ( const&nbsp;<a href="qmimesource.html">QMimeSource</a>&nbsp;*&nbsp;e, <a href="qstringlist.html">QStringList</a>&nbsp;&amp;&nbsp;l )<tt> [static]</tt>
</h3>
Decodes URIs from the mime source event <em>e</em>, converts them to
Unicode URIs (only useful for displaying to humans), placing them
in <em>l</em> (which is first cleared).
<p> Returns TRUE if <em>contained</em> a valid list of URIs; otherwise
returns FALSE.

<h3 class=fn><a href="qcstring.html">QCString</a> <a name="localFileToUri"></a>QUriDrag::localFileToUri ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;filename )<tt> [static]</tt>
</h3>
Returns the URI equivalent to the absolute local file <em>filename</em>.
<p> <p>See also <a href="#uriToLocalFile">uriToLocalFile</a>().

<h3 class=fn>void <a name="setFileNames"></a>QUriDrag::setFileNames ( const&nbsp;<a href="qstringlist.html">QStringList</a>&nbsp;&amp;&nbsp;fnames )
</h3>
Sets the URIs to be the local-file URIs equivalent to <em>fnames</em>.
<p> <p>See also <a href="#localFileToUri">localFileToUri</a>() and <a href="#setUris">setUris</a>().

<p>Example: <a href="dirview-example.html#x1708">dirview/dirview.cpp</a>.
<h3 class=fn>void <a name="setFilenames"></a>QUriDrag::setFilenames ( const&nbsp;<a href="qstringlist.html">QStringList</a>&nbsp;&amp;&nbsp;fnames )
</h3>

<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> Use <a href="#setFileNames">setFileNames</a>() instead (notice the N).

<h3 class=fn>void <a name="setUnicodeUris"></a>QUriDrag::setUnicodeUris ( const&nbsp;<a href="qstringlist.html">QStringList</a>&nbsp;&amp;&nbsp;uuris )
</h3>
Sets the URIs in <em>uuris</em> to be the Unicode URIs (only useful for
displaying to humans).
<p> <p>See also <a href="#localFileToUri">localFileToUri</a>() and <a href="#setUris">setUris</a>().

<h3 class=fn>void <a name="setUris"></a>QUriDrag::setUris ( <a href="qstrlist.html">QStrList</a>&nbsp;uris )<tt> [virtual]</tt>
</h3>
Changes the list of <em>uris</em> to be dragged.
<p> Note that URIs are always in escaped UTF8 encoding.

<h3 class=fn><a href="qcstring.html">QCString</a> <a name="unicodeUriToUri"></a>QUriDrag::unicodeUriToUri ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;uuri )<tt> [static]</tt>
</h3>
Returns the URI equivalent of the Unicode URI given in <em>uuri</em>
(only useful for displaying to humans).
<p> <p>See also <a href="#uriToLocalFile">uriToLocalFile</a>().

<h3 class=fn><a href="qstring.html">QString</a> <a name="uriToLocalFile"></a>QUriDrag::uriToLocalFile ( const&nbsp;char&nbsp;*&nbsp;uri )<tt> [static]</tt>
</h3>
Returns the name of a local file equivalent to <em>uri</em> or a null
string if <em>uri</em> is not a local file.
<p> Note that URIs are always in escaped UTF8 encoding.
<p> <p>See also <a href="#localFileToUri">localFileToUri</a>().

<p>Example: <a href="dirview-example.html#x1709">dirview/dirview.cpp</a>.
<h3 class=fn><a href="qstring.html">QString</a> <a name="uriToUnicodeUri"></a>QUriDrag::uriToUnicodeUri ( const&nbsp;char&nbsp;*&nbsp;uri )<tt> [static]</tt>
</h3>
Returns the Unicode URI (only useful for displaying to humans)
equivalent of <em>uri</em>.
<p> Note that URIs are always in escaped UTF8 encoding.
<p> <p>See also <a href="#localFileToUri">localFileToUri</a>().

<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">Qt toolkit</a>.
Copyright &copy; 1995-2007
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt 3.3.8</div>
</table></div></address></body>
</html>