This file is indexed.

/usr/share/doc/libqdjango-doc/html/classQDjango.html is in libqdjango-doc 0.6.2-1.

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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>QDjango: QDjango Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QDjango
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classQDjango-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QDjango Class Reference<div class="ingroups"><a class="el" href="group__Database.html">Database</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a> class provides a set of static functions.  
 <a href="classQDjango.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="QDjango_8h_source.html">QDjango.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7b2c53fdd96b3d6db199e411bb76f0f4"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQDjango.html#a7b2c53fdd96b3d6db199e411bb76f0f4">createTables</a> ()</td></tr>
<tr class="memdesc:a7b2c53fdd96b3d6db199e411bb76f0f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the database tables for all registered models.  <a href="#a7b2c53fdd96b3d6db199e411bb76f0f4">More...</a><br /></td></tr>
<tr class="separator:a7b2c53fdd96b3d6db199e411bb76f0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a048353657fcc85d02d136f0342da42c5"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQDjango.html#a048353657fcc85d02d136f0342da42c5">dropTables</a> ()</td></tr>
<tr class="memdesc:a048353657fcc85d02d136f0342da42c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drops the database tables for all registered models.  <a href="#a048353657fcc85d02d136f0342da42c5">More...</a><br /></td></tr>
<tr class="separator:a048353657fcc85d02d136f0342da42c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a944127defa81b71150ae052fe596720f"><td class="memItemLeft" align="right" valign="top">static QSqlDatabase&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQDjango.html#a944127defa81b71150ae052fe596720f">database</a> ()</td></tr>
<tr class="memdesc:a944127defa81b71150ae052fe596720f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the database used by <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a>.  <a href="#a944127defa81b71150ae052fe596720f">More...</a><br /></td></tr>
<tr class="separator:a944127defa81b71150ae052fe596720f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a6962db6d787d8bcadc525a01fa6a2d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQDjango.html#a9a6962db6d787d8bcadc525a01fa6a2d">setDatabase</a> (QSqlDatabase <a class="el" href="classQDjango.html#a944127defa81b71150ae052fe596720f">database</a>)</td></tr>
<tr class="memdesc:a9a6962db6d787d8bcadc525a01fa6a2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the database used by <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a>.  <a href="#a9a6962db6d787d8bcadc525a01fa6a2d">More...</a><br /></td></tr>
<tr class="separator:a9a6962db6d787d8bcadc525a01fa6a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3e7f569631b1af5933b4d8a9412c23e"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQDjango.html#af3e7f569631b1af5933b4d8a9412c23e">isDebugEnabled</a> ()</td></tr>
<tr class="memdesc:af3e7f569631b1af5933b4d8a9412c23e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether debugging information should be printed.  <a href="#af3e7f569631b1af5933b4d8a9412c23e">More...</a><br /></td></tr>
<tr class="separator:af3e7f569631b1af5933b4d8a9412c23e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76320043c64f142e619122178659d69c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQDjango.html#a76320043c64f142e619122178659d69c">setDebugEnabled</a> (bool enabled)</td></tr>
<tr class="memdesc:a76320043c64f142e619122178659d69c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether debugging information should be printed.  <a href="#a76320043c64f142e619122178659d69c">More...</a><br /></td></tr>
<tr class="separator:a76320043c64f142e619122178659d69c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5c33aff92420cc2984894683e25d86c"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:ad5c33aff92420cc2984894683e25d86c"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="classQDjangoMetaModel.html">QDjangoMetaModel</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classQDjango.html#ad5c33aff92420cc2984894683e25d86c">registerModel</a> ()</td></tr>
<tr class="separator:ad5c33aff92420cc2984894683e25d86c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a305f008bbc3980fa72ff84f7025ebc3e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a305f008bbc3980fa72ff84f7025ebc3e"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QDjangoCompiler</b></td></tr>
<tr class="separator:a305f008bbc3980fa72ff84f7025ebc3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6fa88713b81898325465f7a5bee9212"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6fa88713b81898325465f7a5bee9212"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QDjangoModel</b></td></tr>
<tr class="separator:ab6fa88713b81898325465f7a5bee9212"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af30c531130ac6b1b5972ef94626ece31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af30c531130ac6b1b5972ef94626ece31"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QDjangoMetaModel</b></td></tr>
<tr class="separator:af30c531130ac6b1b5972ef94626ece31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aada66a2556faaf1a3444a83aa969ff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aada66a2556faaf1a3444a83aa969ff"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QDjangoQuerySetPrivate</b></td></tr>
<tr class="separator:a6aada66a2556faaf1a3444a83aa969ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a> class provides a set of static functions. </p>
<p>It is used to access registered <a class="el" href="classQDjangoModel.html" title="The QDjangoModel class is the base class for all models. ">QDjangoModel</a> classes. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a7b2c53fdd96b3d6db199e411bb76f0f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QDjango::createTables </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates the database tables for all registered models. </p>
<dl class="section return"><dt>Returns</dt><dd>true if all the tables were created, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a944127defa81b71150ae052fe596720f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSqlDatabase QDjango::database </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the database used by <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a>. </p>
<p>If you call this method from any thread but the application's main thread, a new connection to the database will be created. The connection will automatically be torn down once the thread finishes.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQDjango.html#a9a6962db6d787d8bcadc525a01fa6a2d" title="Sets the database used by QDjango. ">setDatabase()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a048353657fcc85d02d136f0342da42c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QDjango::dropTables </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Drops the database tables for all registered models. </p>
<dl class="section return"><dt>Returns</dt><dd>true if all the tables were dropped, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="af3e7f569631b1af5933b4d8a9412c23e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QDjango::isDebugEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns whether debugging information should be printed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQDjango.html#a76320043c64f142e619122178659d69c" title="Sets whether debugging information should be printed. ">setDebugEnabled()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad5c33aff92420cc2984894683e25d86c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQDjangoMetaModel.html">QDjangoMetaModel</a> QDjango::registerModel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Register a <a class="el" href="classQDjangoModel.html" title="The QDjangoModel class is the base class for all models. ">QDjangoModel</a> class with <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a>. </p>

</div>
</div>
<a class="anchor" id="a9a6962db6d787d8bcadc525a01fa6a2d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QDjango::setDatabase </td>
          <td>(</td>
          <td class="paramtype">QSqlDatabase&#160;</td>
          <td class="paramname"><em>database</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the database used by <a class="el" href="classQDjango.html" title="The QDjango class provides a set of static functions. ">QDjango</a>. </p>
<p>You must call this method from your application's main thread.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQDjango.html#a944127defa81b71150ae052fe596720f" title="Returns the database used by QDjango. ">database()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a76320043c64f142e619122178659d69c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QDjango::setDebugEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets whether debugging information should be printed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQDjango.html#af3e7f569631b1af5933b4d8a9412c23e" title="Returns whether debugging information should be printed. ">isDebugEnabled()</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="QDjango_8h_source.html">QDjango.h</a></li>
<li>QDjango.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>