This file is indexed.

/usr/share/qt5/doc/qtfeedback/qml-themeeffect.html is in qtfeedback5-doc-html 5.0~git20130529-0ubuntu13.

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativethemeeffect.cpp -->
  <title>ThemeEffect QML Type | Qt 5.0 </title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
<body>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li>Qt 5.0</li>
<li id="buildversion">Qt 5.0.0 Reference Documentation</li>
    </ul>
    </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="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</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">ThemeEffect QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ThemeEffect-brief -->
<p>The <a href="qml-themeeffect.html">ThemeEffect</a> element represents a themed feedback effect. <a href="#details">More...</a></p>
<!-- @@@ThemeEffect -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import  .</td></tr></table></div><ul>
<li><a href="qml-themeeffect-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-themeeffect.html#effect-prop">effect</a></b></b> : ThemeEffect</li>
<li class="fn"><b><b><a href="qml-themeeffect.html#supported-prop">supported</a></b></b> : bool</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-themeeffect.html#play-method-2">play</a></b></b>(Effect)</li>
<li class="fn"><b><b><a href="qml-themeeffect.html#play-method">play</a></b></b>()</li>
</ul>
<!-- $$$ThemeEffect-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>This element is used for playing feedback effects that follow the system theme. The actual feedback might be haptic, audio or some other method.</p>
<pre class="qml">//Example 1: using ThemeEffect declaring element

    import QtFeedback 5.0

    Rectangle {
        width: 180; height: 20
        radius:5
        color: &quot;lightgrey&quot;
        Text {
            anchors.centerIn: parent
            text: &quot;Play Theme: Press&quot;
        }
        ThemeEffect {
             id: myOtherThemeEffect
             effect: &quot;Press&quot;
         }
        MouseArea {
            anchors.fill: parent
            onClicked: {
                myOtherThemeEffect.play();
            }
        }
    }

    //Example 2: using ThemeEffect without declaring element

    import QtFeedback.ThemeEffect 5.0 as Effect

    Rectangle {
        width: 180; height: 20
        radius:5
        color: &quot;lightgrey&quot;
        Text {
            anchors.centerIn: parent
            text: &quot;Play Theme: Press&quot;
        }
        MouseArea {
            anchors.fill: parent
            onClicked: {
                Effect.effect = &quot;Press&quot;
                Effect.play();
            }
        }
    }

    //Example 3: using ThemeEffect without declaring element and calling overloaded play function

    import QtFeedback.ThemeEffect 5.0 as Effect

    Rectangle {
        width: 180; height: 20
        radius:5
        color: &quot;lightgrey&quot;
        Text {
            anchors.centerIn: parent
            text: &quot;Play Theme: Press&quot;
        }
        MouseArea {
            anchors.fill: parent
            onClicked: {
                Effect.play(Effect.Press)
            }
        }
    }</pre>
<!-- @@@ThemeEffect -->
<h2>Property Documentation</h2>
<!-- $$$effect -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="effect-prop"><td class="tblQmlPropNode"><p><a name="effect-prop"></a><span class="name">effect</span> : <span class="type"><a href="qml-themeeffect.html">ThemeEffect</a></span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the specific themed effect type to play. It is one of:</p>
<p>Effect.Undefined - Undefined feedback. No feedback is given.</p>
<p>Effect.Press - Feedback for when the screen is pressed.</p>
<p>Effect.Release - Feedback for touch release.</p>
<p>Effect.PressWeak - A weak feedback for press.</p>
<p>Effect.ReleaseWeak - A weak feedback for release.</p>
<p>Effect.PressStrong - A strong feedback for press.</p>
<p>Effect.ReleaseStrong - A strong feedback for release.</p>
<p>Effect.DragStart - Feedback for when dragging starts.</p>
<p>Effect.DragDropInZone - Feedback for when dragging ends and touch is released inside a drop zone.</p>
<p>Effect.DragDropOutOfZone - Feedback for when dragging ends and touch is released outside a drop zone.</p>
<p>Effect.DragCrossBoundary - Feedback for when crossing a boundary while dragging.</p>
<p>Effect.Appear - Feedback for when an item is shown.</p>
<p>Effect.Disappear - Feedback for when an item item is closed.</p>
<p>Effect.Move - Feedback for dragging on screen.</p>
<p><b>See also </b><a href="qfeedbackeffect.html#Effect-enum">QFeedbackEffect::Effect</a>.</p>
</div></div><!-- @@@effect -->
<br/>
<!-- $$$supported -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="supported-prop"><td class="tblQmlPropNode"><p><a name="supported-prop"></a><span class="name">supported</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if the system supports themed feedback effects.</p>
</div></div><!-- @@@supported -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$play -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="play-method-2"><td class="tblQmlFuncNode"><p><a name="play-method-2"></a><span class="name">play</span>(<span class="type">Effect</span>)</p></td></tr></table></div></div><div class="qmldoc"><p>Call this to play the themed effect passed as parameter.</p>
</div></div><!-- @@@play -->
<br/>
<!-- $$$play -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="play-method"><td class="tblQmlFuncNode"><p><a name="play-method"></a><span class="name">play</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Call this to play the themed effect.</p>
</div></div><!-- @@@play -->
<br/>
<div class="footer">Copyright (c) 2011 Nokia Corporation and/or its subsidiaries. All rights reserved.</div>
</body>
</html>