/usr/share/qt5/doc/qtx11extras/qx11info.html is in qtx11extras5-doc-html 5.2.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 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 | <?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qx11info_x11.cpp -->
<title>QX11Info Class | QtX11Extras 5.2</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.2</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.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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>
<h1 class="title">QX11Info Class</h1>
<!-- $$$QX11Info-brief -->
<p>Provides information about the X display configuration. <a href="#details">More...</a></p>
<!-- @@@QX11Info -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QX11Info></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += x11extras</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.1</td></tr></table><ul>
<li><a href="qx11info-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<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"> 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>
</table>
<a name="details"></a>
<!-- $$$QX11Info-description -->
<div class="descr">
<h2>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 QDesktopWidget.</p>
</div>
<!-- @@@QX11Info -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$appDpiX[overload1]$$$appDpiXint -->
<h3 class="fn"><a name="appDpiX"></a><span class="type">int</span> QX11Info::<span class="name">appDpiX</span>(<span class="type">int</span><i> screen</i> = -1)<tt> [static]</tt></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 QDesktopWidget to query for information about Xinerama screens.</p>
<p><b>See also </b>setAppDpiX() and <a href="qx11info.html#appDpiY">appDpiY</a>().</p>
<!-- @@@appDpiX -->
<!-- $$$appDpiY[overload1]$$$appDpiYint -->
<h3 class="fn"><a name="appDpiY"></a><span class="type">int</span> QX11Info::<span class="name">appDpiY</span>(<span class="type">int</span><i> screen</i> = -1)<tt> [static]</tt></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 QDesktopWidget to query for information about Xinerama screens.</p>
<p><b>See also </b>setAppDpiY() and <a href="qx11info.html#appDpiX">appDpiX</a>().</p>
<!-- @@@appDpiY -->
<!-- $$$appRootWindow[overload1]$$$appRootWindowint -->
<h3 class="fn"><a name="appRootWindow"></a><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)<tt> [static]</tt></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 QDesktopWidget to query for information about Xinerama screens.</p>
<p><b>See also </b>QApplication::desktop().</p>
<!-- @@@appRootWindow -->
<!-- $$$appScreen[overload1]$$$appScreen -->
<h3 class="fn"><a name="appScreen"></a><span class="type">int</span> QX11Info::<span class="name">appScreen</span>()<tt> [static]</tt></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 QDesktopWidget and QScreen.</p>
<p><b>See also </b><a href="qx11info.html#display">display</a>() and screen().</p>
<!-- @@@appScreen -->
<!-- $$$appTime[overload1]$$$appTime -->
<h3 class="fn"><a name="appTime"></a><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">appTime</span>()<tt> [static]</tt></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"><a name="appUserTime"></a><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">appUserTime</span>()<tt> [static]</tt></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"><a name="connection"></a><span class="type">xcb_connection_t</span> * QX11Info::<span class="name">connection</span>()<tt> [static]</tt></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"><a name="display"></a><span class="type">Display</span> * QX11Info::<span class="name">display</span>()<tt> [static]</tt></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"><a name="getTimestamp"></a><span class="type">unsigned</span> <span class="type">long</span> QX11Info::<span class="name">getTimestamp</span>()<tt> [static]</tt></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"><a name="isPlatformX11"></a><span class="type">bool</span> QX11Info::<span class="name">isPlatformX11</span>()<tt> [static]</tt></h3>
<p>Returns true if the application is currently running on X11.</p>
<p>This function was introduced in Qt 5.2.</p>
<!-- @@@isPlatformX11 -->
<!-- $$$setAppTime[overload1]$$$setAppTimeunsignedlong -->
<h3 class="fn"><a name="setAppTime"></a><span class="type">void</span> QX11Info::<span class="name">setAppTime</span>(<span class="type">unsigned</span> <span class="type">long</span><i> time</i>)<tt> [static]</tt></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"><a name="setAppUserTime"></a><span class="type">void</span> QX11Info::<span class="name">setAppUserTime</span>(<span class="type">unsigned</span> <span class="type">long</span><i> time</i>)<tt> [static]</tt></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 -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|