This file is indexed.

/usr/share/qt5/doc/qtx11extras/qx11info.html is in qtx11extras5-doc-html 5.5.1-3build1.

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qx11info_x11.cpp -->
  <title>QX11Info Class | Qt X11 Extras 5.5</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li>Qt 5.5</li>
<li><a href="qtx11extras-index.html">Qt X11 Extras</a></li>
<li><a href="qtx11extras-module.html">C++ Classes</a></li>
<li>QX11Info</li>
<li id="buildversion">Qt 5.5.1 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="#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">QX11Info Class</h1>
<!-- $$$QX11Info-brief -->
<p>Provides information about the X display configuration. <a href="#details">More...</a></p>
<!-- @@@QX11Info -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;QX11Info&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += x11extras</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.1</td></tr></table></div><ul>
<li><a href="qx11info-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"> int </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appDpiX">appDpiX</a></b>(int<i> screen</i> = -1)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appDpiY">appDpiY</a></b>(int<i> screen</i> = -1)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appRootWindow">appRootWindow</a></b>(int<i> screen</i> = -1)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appScreen">appScreen</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appTime">appTime</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appUserTime">appUserTime</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> xcb_connection_t * </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#connection">connection</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Display * </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#display">display</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#getTimestamp">getTimestamp</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#isPlatformX11">isPlatformX11</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#nextStartupId">nextStartupId</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#setAppTime">setAppTime</a></b>(unsigned long<i> time</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#setAppUserTime">setAppUserTime</a></b>(unsigned long<i> time</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#setNextStartupId">setNextStartupId</a></b>(const QByteArray &amp;<i> id</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QX11Info-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>Provides information about the X display configuration.</p>
<p>The class provides two APIs: a set of non-static functions that provide information about a specific widget or pixmap, and a set of static functions that provide the default information for the application.</p>
<p><b>Warning:</b> This class is only available on X11. For querying per-screen information in a portable way, use <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a>.</p>
</div>
<!-- @@@QX11Info -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$appDpiX[overload1]$$$appDpiXint -->
<h3 class="fn" id="appDpiX"><a name="appDpiX"></a><code>[static] </code><span class="type">int</span> QX11Info::<span class="name">appDpiX</span>(<span class="type">int</span><i> screen</i> = -1)</h3>
<p>Returns the horizontal resolution of the given <i>screen</i> in terms of the number of dots per inch.</p>
<p>The <i>screen</i> argument is an X screen number. Be aware that if the user's system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#appDpiY">appDpiY</a>().</p>
<!-- @@@appDpiX -->
<!-- $$$appDpiY[overload1]$$$appDpiYint -->
<h3 class="fn" id="appDpiY"><a name="appDpiY"></a><code>[static] </code><span class="type">int</span> QX11Info::<span class="name">appDpiY</span>(<span class="type">int</span><i> screen</i> = -1)</h3>
<p>Returns the vertical resolution of the given <i>screen</i> in terms of the number of dots per inch.</p>
<p>The <i>screen</i> argument is an X screen number. Be aware that if the user's system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#appDpiX">appDpiX</a>().</p>
<!-- @@@appDpiY -->
<!-- $$$appRootWindow[overload1]$$$appRootWindowint -->
<h3 class="fn" id="appRootWindow"><a name="appRootWindow"></a><code>[static] </code><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">appRootWindow</span>(<span class="type">int</span><i> screen</i> = -1)</h3>
<p>Returns a handle for the applications root window on the given <i>screen</i>.</p>
<p>The <i>screen</i> argument is an X screen number. Be aware that if the user's system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="../qtwidgets/qapplication.html#desktop">QApplication::desktop</a>().</p>
<!-- @@@appRootWindow -->
<!-- $$$appScreen[overload1]$$$appScreen -->
<h3 class="fn" id="appScreen"><a name="appScreen"></a><code>[static] </code><span class="type">int</span> QX11Info::<span class="name">appScreen</span>()</h3>
<p>Returns the number of the screen where the application is being displayed.</p>
<p>This method refers to screens in the original X11 meaning with a different DISPLAY environment variable per screen. This information is only useful if your application needs to know on which X screen it is running.</p>
<p>In a typical multi-head configuration, multiple physical monitors are combined in one X11 screen. This means this method returns the same number for each of the physical monitors. In such a setup you are interested in the monitor information as provided by the X11 RandR extension. This is available through <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a> and QScreen.</p>
<p><b>See also </b><a href="qx11info.html#display">display</a>().</p>
<!-- @@@appScreen -->
<!-- $$$appTime[overload1]$$$appTime -->
<h3 class="fn" id="appTime"><a name="appTime"></a><code>[static] </code><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">appTime</span>()</h3>
<p>Returns the X11 time.</p>
<p><b>See also </b><a href="qx11info.html#setAppTime">setAppTime</a>() and <a href="qx11info.html#appUserTime">appUserTime</a>().</p>
<!-- @@@appTime -->
<!-- $$$appUserTime[overload1]$$$appUserTime -->
<h3 class="fn" id="appUserTime"><a name="appUserTime"></a><code>[static] </code><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">appUserTime</span>()</h3>
<p>Returns the X11 user time.</p>
<p><b>See also </b><a href="qx11info.html#setAppUserTime">setAppUserTime</a>() and <a href="qx11info.html#appTime">appTime</a>().</p>
<!-- @@@appUserTime -->
<!-- $$$connection[overload1]$$$connection -->
<h3 class="fn" id="connection"><a name="connection"></a><code>[static] </code><span class="type">xcb_connection_t</span> * QX11Info::<span class="name">connection</span>()</h3>
<p>Returns the default XCB connection for the application.</p>
<p><b>See also </b><a href="qx11info.html#display">display</a>().</p>
<!-- @@@connection -->
<!-- $$$display[overload1]$$$display -->
<h3 class="fn" id="display"><a name="display"></a><code>[static] </code><span class="type">Display</span> * QX11Info::<span class="name">display</span>()</h3>
<p>Returns the default display for the application.</p>
<p><b>See also </b><a href="qx11info.html#appScreen">appScreen</a>().</p>
<!-- @@@display -->
<!-- $$$getTimestamp[overload1]$$$getTimestamp -->
<h3 class="fn" id="getTimestamp"><a name="getTimestamp"></a><code>[static] </code><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">getTimestamp</span>()</h3>
<p>Fetches the current X11 time stamp from the X Server.</p>
<p>This method creates a property notify event and blocks till it is received back from the X Server.</p>
<p>This function was introduced in  Qt 5.2.</p>
<!-- @@@getTimestamp -->
<!-- $$$isPlatformX11[overload1]$$$isPlatformX11 -->
<h3 class="fn" id="isPlatformX11"><a name="isPlatformX11"></a><code>[static] </code><span class="type">bool</span> QX11Info::<span class="name">isPlatformX11</span>()</h3>
<p>Returns true if the application is currently running on X11.</p>
<p>This function was introduced in  Qt 5.2.</p>
<!-- @@@isPlatformX11 -->
<!-- $$$nextStartupId[overload1]$$$nextStartupId -->
<h3 class="fn" id="nextStartupId"><a name="nextStartupId"></a><code>[static] </code><span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QX11Info::<span class="name">nextStartupId</span>()</h3>
<p>Returns the startup ID that will be used for the next window to be shown by this process.</p>
<p>After the next window is shown, the next startup ID will be empty.</p>
<p>http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt</p>
<p>This function was introduced in  Qt 5.4.</p>
<p><b>See also </b><a href="qx11info.html#setNextStartupId">setNextStartupId</a>().</p>
<!-- @@@nextStartupId -->
<!-- $$$setAppTime[overload1]$$$setAppTimeunsignedlong -->
<h3 class="fn" id="setAppTime"><a name="setAppTime"></a><code>[static] </code><span class="type">void</span> QX11Info::<span class="name">setAppTime</span>(<span class="type">unsigned</span> <span class="type">long</span><i> time</i>)</h3>
<p>Sets the X11 time to the value specified by <i>time</i>.</p>
<p><b>See also </b><a href="qx11info.html#appTime">appTime</a>() and <a href="qx11info.html#setAppUserTime">setAppUserTime</a>().</p>
<!-- @@@setAppTime -->
<!-- $$$setAppUserTime[overload1]$$$setAppUserTimeunsignedlong -->
<h3 class="fn" id="setAppUserTime"><a name="setAppUserTime"></a><code>[static] </code><span class="type">void</span> QX11Info::<span class="name">setAppUserTime</span>(<span class="type">unsigned</span> <span class="type">long</span><i> time</i>)</h3>
<p>Sets the X11 user time as specified by <i>time</i>.</p>
<p><b>See also </b><a href="qx11info.html#appUserTime">appUserTime</a>() and <a href="qx11info.html#setAppTime">setAppTime</a>().</p>
<!-- @@@setAppUserTime -->
<!-- $$$setNextStartupId[overload1]$$$setNextStartupIdconstQByteArray& -->
<h3 class="fn" id="setNextStartupId"><a name="setNextStartupId"></a><code>[static] </code><span class="type">void</span> QX11Info::<span class="name">setNextStartupId</span>(const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> &amp;<i> id</i>)</h3>
<p>Sets the next startup ID to <i>id</i>.</p>
<p>This is the startup ID that will be used for the next window to be shown by this process.</p>
<p>The startup ID of the first window comes from the environment variable DESKTOP_STARTUP_ID. This method is useful for subsequent windows, when the request comes from another process (e.g&#x2e; via DBus).</p>
<p>This function was introduced in  Qt 5.4.</p>
<p><b>See also </b><a href="qx11info.html#nextStartupId">nextStartupId</a>().</p>
<!-- @@@setNextStartupId -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2015 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>