This file is indexed.

/usr/share/qt5/doc/qtquickcontrols2/qquickstyle.html is in qtquickcontrols2-5-doc-html 5.7.1-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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickstyle.cpp -->
  <title>QQuickStyle Class | Qt Quick Controls 2 5.7</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    window.onload = function(){document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");};
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.7</td><td ><a href="qtquickcontrols2-index.html">Qt Quick Controls 2</a></td><td ><a href="qtquickcontrols2-module.html">C++ Classes</a></td><td >QQuickStyle</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.7.1 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QQuickStyle Class</h1>
<!-- $$$QQuickStyle-brief -->
<p>The QQQuickStyle class allows configuring the application style. <a href="#details">More...</a></p>
<!-- @@@QQuickStyle -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QQuickStyle&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.7</td></tr></table></div><ul>
<li><a href="qquickstyle-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qquickstyle.html#name">name</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qquickstyle.html#path">path</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickstyle.html#setStyle">setStyle</a></b>(const QString &amp;<i>style</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QQuickStyle-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The QQQuickStyle class allows configuring the application style.</p>
<p><a href="qquickstyle.html">QQuickStyle</a> provides API for querying and configuring the application <a href="qtquickcontrols2-styles.html">styles</a> of Qt Quick Controls 2.</p>
<pre class="cpp">

  <span class="preprocessor">#include &lt;QGuiApplication&gt;</span>
  <span class="preprocessor">#include &lt;QQmlApplicationEngine&gt;</span>
  <span class="preprocessor">#include &lt;QQuickStyle&gt;</span>

  <span class="type">int</span> main(<span class="type">int</span> argc<span class="operator">,</span> <span class="type">char</span> <span class="operator">*</span>argv<span class="operator">[</span><span class="operator">]</span>)
  {
      <span class="type"><a href="../qtgui/qguiapplication.html">QGuiApplication</a></span><span class="operator">::</span>setAttribute(<span class="type"><a href="../qtcore/qt.html">Qt</a></span><span class="operator">::</span>AA_EnableHighDpiScaling);
      <span class="type"><a href="../qtgui/qguiapplication.html">QGuiApplication</a></span> app(argc<span class="operator">,</span> argv);

      <span class="type"><a href="qquickstyle.html">QQuickStyle</a></span><span class="operator">::</span>setStyle(<span class="string">&quot;Material&quot;</span>);

      <span class="type"><a href="../qtqml/qqmlapplicationengine.html">QQmlApplicationEngine</a></span> engine;
      engine<span class="operator">.</span>load(<span class="type"><a href="../qtcore/qurl.html">QUrl</a></span>(<span class="string">&quot;qrc:/main.qml&quot;</span>));

      <span class="keyword">return</span> app<span class="operator">.</span>exec();
  }

</pre>
<p><b>Note: </b>The style must be configured <b>before</b> loading QML that imports Qt Quick Controls 2. It is not possible to change the style after the QML types have been registered.</p></div>
<p><b>See also </b><a href="qtquickcontrols2-styles.html">Styling Qt Quick Controls 2</a>.</p>
<!-- @@@QQuickStyle -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$name[overload1]$$$name -->
<h3 class="fn" id="name"><a name="name"></a><code>[static] </code><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QQuickStyle::<span class="name">name</span>()</h3>
<p>Returns the name of the application style.</p>
<p><b>Note: </b>The application style can be specified by passing a <code>-style</code> command line argument. Therefore <code>name()</code> may not return a fully resolved value if called before constructing a <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p><!-- @@@name -->
<!-- $$$path[overload1]$$$path -->
<h3 class="fn" id="path"><a name="path"></a><code>[static] </code><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QQuickStyle::<span class="name">path</span>()</h3>
<p>Returns the path of an overridden application style, or an empty string if the style is one of the built-in Qt Quick Controls 2 styles.</p>
<p><b>Note: </b>The application style can be specified by passing a <code>-style</code> command line argument. Therefore <code>path()</code> may not return a fully resolved value if called before constructing a <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p><!-- @@@path -->
<!-- $$$setStyle[overload1]$$$setStyleconstQString& -->
<h3 class="fn" id="setStyle"><a name="setStyle"></a><code>[static] </code><span class="type">void</span> QQuickStyle::<span class="name">setStyle</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>style</i>)</h3>
<p>Sets the application style to <i>style</i>.</p>
<p><b>Note: </b>The style must be configured <b>before</b> loading QML that imports Qt Quick Controls 2. It is not possible to change the style after the QML types have been registered.</p><!-- @@@setStyle -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2016 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>