Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > ff187cb994c94c614ecc64c5a8528b1b > files > 7147

qt-doc-4.8.5-10.fc18.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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>Qt 4.8: QX11Info Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->

<script src="scripts/superfish.js" type="text/javascript"></script>
<script src="scripts/narrow.js" type="text/javascript"></script>

</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
    <div id="narrowsearch"></div>
    <div id="nav-topright">
      <ul>
        <li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
        <li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
        <li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
          DOC</a></li>
        <li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
        <li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS        </a></li>
      </ul>
     </div>
 <ul class="sf-menu" id="narrowmenu"> 
             <li><a href="#">API Lookup</a> 
                 <ul> 
                     <li><a href="classes.html">Class index</a></li> 
           <li><a href="functions.html">Function index</a></li> 
           <li><a href="modules.html">Modules</a></li> 
           <li><a href="namespaces.html">Namespaces</a></li> 
           <li><a href="qtglobal.html">Global Declarations</a></li> 
           <li><a href="qdeclarativeelements.html">QML elements</a></li> 
             </ul> 
             </li> 
             <li><a href="#">Qt Topics</a> 
                 <ul> 
                        <li><a href="qt-basic-concepts.html">Programming with Qt</a></li>  
                        <li><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li>  
                        <li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>  
                        <li><a href="supported-platforms.html">Supported Platforms</a></li>  
                        <li><a href="technology-apis.html">Qt and Key Technologies</a></li>  
                        <li><a href="best-practices.html">How-To's and Best Practices</a></li>  
              </ul> 
                 </li> 
                 <li><a href="#">Examples</a> 
                     <ul> 
                       <li><a href="all-examples.html">Examples</a></li> 
                       <li><a href="tutorials.html">Tutorials</a></li> 
                       <li><a href="demos.html">Demos</a></li> 
                       <li><a href="qdeclarativeexamples.html">QML Examples</a></li> 
                </ul> 
                     </li> 
                 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search" id="sidebarsearch">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
 <div id="resultdialog"> 
 <a href="#" id="resultclose">Close</a> 
 <p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p> 
 <p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span>&nbsp;results:</p> 
 <ul id="resultlist" class="all"> 
 </ul> 
 </div> 
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="functions.html">Function index</a></li>
              <li class="defaultLink"><a href="modules.html">Modules</a></li>
              <li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
              <li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
              <li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
            </ul> 
          </div>
        </div>
        <div class="box bottombar" id="topics">
          <h2 title="Qt Topics"><span></span>
            Qt Topics</h2>
          <div id="list002" class="list">
            <ul id="ul002" >
               <li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li> 
               <li class="defaultLink"><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li> 
               <li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li> 
               <li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>  
               <li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li> 
               <li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li> 
            </ul>  
          </div>
        </div>
        <div class="box" id="examples">
          <h2 title="Examples"><span></span>
            Examples</h2>
          <div id="list003" class="list">
        <ul id="ul003">
              <li class="defaultLink"><a href="all-examples.html">Examples</a></li>
              <li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
              <li class="defaultLink"><a href="demos.html">Demos</a></li>
              <li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgui.html">QtGui</a></li>
<li>QX11Info</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
        </div>
        </div>
        <div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<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 Reference</h1>
<!-- $$$QX11Info-brief -->
<p>The QX11Info class provides information about the X display configuration. <a href="#details">More...</a></p>
<!-- @@@QX11Info -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QX11Info&gt;</span></pre><ul>
<li><a href="qx11info-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#QX11Info">QX11Info</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#QX11Info-2">QX11Info</a></b> ( const QX11Info &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#dtor.QX11Info">~QX11Info</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#cells">cells</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::HANDLE </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#colormap">colormap</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#defaultColormap">defaultColormap</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#defaultVisual">defaultVisual</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#depth">depth</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#screen">screen</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void * </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#visual">visual</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QX11Info &amp; </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#operator-eq">operator=</a></b> ( const QX11Info &amp; <i>other</i> )</td></tr>
</table>
<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#appCells">appCells</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const char * </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appClass">appClass</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::HANDLE </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appColormap">appColormap</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appDefaultColormap">appDefaultColormap</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appDefaultVisual">appDefaultVisual</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#appDepth">appDepth</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#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"> Qt::HANDLE </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"> void * </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#appVisual">appVisual</a></b> ( int <i>screen</i> = -1 )</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"> bool </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#isCompositingManagerRunning">isCompositingManagerRunning</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#setAppDpiX">setAppDpiX</a></b> ( int <i>screen</i>, int <i>xdpi</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qx11info.html#setAppDpiY">setAppDpiY</a></b> ( int <i>screen</i>, int <i>ydpi</i> )</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>The QX11Info class 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="qdesktopwidget.html">QDesktopWidget</a>.</p>
</div>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>(), <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>(), and <a href="qdesktopwidget.html">QDesktopWidget</a>.</p>
<!-- @@@QX11Info -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QX11Info[overload1]$$$QX11Info -->
<h3 class="fn"><a name="QX11Info"></a>QX11Info::<span class="name">QX11Info</span> ()</h3>
<p>Constructs an empty <a href="qx11info.html">QX11Info</a> object.</p>
<!-- @@@QX11Info -->
<!-- $$$QX11Info$$$QX11InfoconstQX11Info& -->
<h3 class="fn"><a name="QX11Info-2"></a>QX11Info::<span class="name">QX11Info</span> ( const <span class="type">QX11Info</span> &amp; <i>other</i> )</h3>
<p>Constructs a copy of <i>other</i>.</p>
<!-- @@@QX11Info -->
<!-- $$$~QX11Info[overload1]$$$~QX11Info -->
<h3 class="fn"><a name="dtor.QX11Info"></a>QX11Info::<span class="name">~QX11Info</span> ()</h3>
<p>Destroys the <a href="qx11info.html">QX11Info</a> object.</p>
<!-- @@@~QX11Info -->
<!-- $$$appCells[overload1]$$$appCellsint -->
<h3 class="fn"><a name="appCells"></a><span class="type">int</span> QX11Info::<span class="name">appCells</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Returns the number of cells used by the application 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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#cells">cells</a>().</p>
<!-- @@@appCells -->
<!-- $$$appClass[overload1]$$$appClass -->
<h3 class="fn"><a name="appClass"></a>const <span class="type">char</span> * QX11Info::<span class="name">appClass</span> ()<tt> [static]</tt></h3>
<p>Returns the X11 application class.</p>
<p><b>See also </b><a href="qx11info.html#display">display</a>().</p>
<!-- @@@appClass -->
<!-- $$$appColormap[overload1]$$$appColormapint -->
<h3 class="fn"><a name="appColormap"></a><span class="type"><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a></span> QX11Info::<span class="name">appColormap</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Returns a handle for the application's color map 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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#colormap">colormap</a>() and <a href="qx11info.html#defaultColormap">defaultColormap</a>().</p>
<!-- @@@appColormap -->
<!-- $$$appDefaultColormap[overload1]$$$appDefaultColormapint -->
<h3 class="fn"><a name="appDefaultColormap"></a><span class="type">bool</span> QX11Info::<span class="name">appDefaultColormap</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Returns true if the application has a default color map on the given <i>screen</i>; otherwise returns false.</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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<!-- @@@appDefaultColormap -->
<!-- $$$appDefaultVisual[overload1]$$$appDefaultVisualint -->
<h3 class="fn"><a name="appDefaultVisual"></a><span class="type">bool</span> QX11Info::<span class="name">appDefaultVisual</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Returns true if the application has a default visual on the given <i>screen</i>; otherwise returns false.</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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<!-- @@@appDefaultVisual -->
<!-- $$$appDepth[overload1]$$$appDepthint -->
<h3 class="fn"><a name="appDepth"></a><span class="type">int</span> QX11Info::<span class="name">appDepth</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Returns the color depth (bits per pixel) used by the application 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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#depth">depth</a>().</p>
<!-- @@@appDepth -->
<!-- $$$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 <a href="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#setAppDpiX">setAppDpiX</a>() 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 <a href="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#setAppDpiY">setAppDpiY</a>() and <a href="qx11info.html#appDpiX">appDpiX</a>().</p>
<!-- @@@appDpiY -->
<!-- $$$appRootWindow[overload1]$$$appRootWindowint -->
<h3 class="fn"><a name="appRootWindow"></a><span class="type"><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a></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 <a href="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qapplication.html#desktop">QApplication::desktop</a>().</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><b>See also </b><a href="qx11info.html#display">display</a>() and <a href="qx11info.html#screen">screen</a>().</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 -->
<!-- $$$appVisual[overload1]$$$appVisualint -->
<h3 class="fn"><a name="appVisual"></a><span class="type">void</span> * QX11Info::<span class="name">appVisual</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Returns the current visual used by the application 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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#visual">visual</a>() and <a href="qx11info.html#defaultVisual">defaultVisual</a>().</p>
<!-- @@@appVisual -->
<!-- $$$cells[overload1]$$$cells -->
<h3 class="fn"><a name="cells"></a><span class="type">int</span> QX11Info::<span class="name">cells</span> () const</h3>
<p>Returns the number of cells.</p>
<p><b>See also </b><a href="qx11info.html#appCells">appCells</a>().</p>
<!-- @@@cells -->
<!-- $$$colormap[overload1]$$$colormap -->
<h3 class="fn"><a name="colormap"></a><span class="type"><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a></span> QX11Info::<span class="name">colormap</span> () const</h3>
<p>Returns a handle for the color map.</p>
<p><b>See also </b><a href="qx11info.html#defaultColormap">defaultColormap</a>().</p>
<!-- @@@colormap -->
<!-- $$$defaultColormap[overload1]$$$defaultColormap -->
<h3 class="fn"><a name="defaultColormap"></a><span class="type">bool</span> QX11Info::<span class="name">defaultColormap</span> () const</h3>
<p>Returns true if there is a default color map; otherwise returns false.</p>
<p><b>See also </b><a href="qx11info.html#colormap">colormap</a>().</p>
<!-- @@@defaultColormap -->
<!-- $$$defaultVisual[overload1]$$$defaultVisual -->
<h3 class="fn"><a name="defaultVisual"></a><span class="type">bool</span> QX11Info::<span class="name">defaultVisual</span> () const</h3>
<p>Returns true if there is a default visual; otherwise returns false.</p>
<p><b>See also </b><a href="qx11info.html#visual">visual</a>() and <a href="qx11info.html#appVisual">appVisual</a>().</p>
<!-- @@@defaultVisual -->
<!-- $$$depth[overload1]$$$depth -->
<h3 class="fn"><a name="depth"></a><span class="type">int</span> QX11Info::<span class="name">depth</span> () const</h3>
<p>Returns the color depth (bits per pixel) of the X display.</p>
<p><b>See also </b><a href="qx11info.html#appDepth">appDepth</a>().</p>
<!-- @@@depth -->
<!-- $$$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 -->
<!-- $$$isCompositingManagerRunning[overload1]$$$isCompositingManagerRunning -->
<h3 class="fn"><a name="isCompositingManagerRunning"></a><span class="type">bool</span> QX11Info::<span class="name">isCompositingManagerRunning</span> ()<tt> [static]</tt></h3>
<p>Returns true if there is a compositing manager running.</p>
<p>This function was introduced in Qt 4.4.</p>
<!-- @@@isCompositingManagerRunning -->
<!-- $$$screen[overload1]$$$screen -->
<h3 class="fn"><a name="screen"></a><span class="type">int</span> QX11Info::<span class="name">screen</span> () const</h3>
<p>Returns the number of the screen currently in use.</p>
<p>The return value 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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#appScreen">appScreen</a>().</p>
<!-- @@@screen -->
<!-- $$$setAppDpiX[overload1]$$$setAppDpiXintint -->
<h3 class="fn"><a name="setAppDpiX"></a><span class="type">void</span> QX11Info::<span class="name">setAppDpiX</span> ( <span class="type">int</span> <i>screen</i>, <span class="type">int</span> <i>xdpi</i> )<tt> [static]</tt></h3>
<p>Sets the horizontal resolution of the given <i>screen</i> to the number of dots per inch specified by <i>xdpi</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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#appDpiX">appDpiX</a>() and <a href="qx11info.html#setAppDpiY">setAppDpiY</a>().</p>
<!-- @@@setAppDpiX -->
<!-- $$$setAppDpiY[overload1]$$$setAppDpiYintint -->
<h3 class="fn"><a name="setAppDpiY"></a><span class="type">void</span> QX11Info::<span class="name">setAppDpiY</span> ( <span class="type">int</span> <i>screen</i>, <span class="type">int</span> <i>ydpi</i> )<tt> [static]</tt></h3>
<p>Sets the vertical resolution of the given <i>screen</i> to the number of dots per inch specified by <i>ydpi</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="qdesktopwidget.html">QDesktopWidget</a> to query for information about Xinerama screens.</p>
<p><b>See also </b><a href="qx11info.html#appDpiY">appDpiY</a>() and <a href="qx11info.html#setAppDpiX">setAppDpiX</a>().</p>
<!-- @@@setAppDpiY -->
<!-- $$$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 -->
<!-- $$$visual[overload1]$$$visual -->
<h3 class="fn"><a name="visual"></a><span class="type">void</span> * QX11Info::<span class="name">visual</span> () const</h3>
<p>Returns the current visual.</p>
<p><b>See also </b><a href="qx11info.html#appVisual">appVisual</a>() and <a href="qx11info.html#defaultVisual">defaultVisual</a>().</p>
<!-- @@@visual -->
<!-- $$$operator=[overload1]$$$operator=constQX11Info& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QX11Info</span> &amp; QX11Info::<span class="name">operator=</span> ( const <span class="type">QX11Info</span> &amp; <i>other</i> )</h3>
<p>Assigns <i>other</i> to this object and returns a reference to this object.</p>
<!-- @@@operator= -->
</div>
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      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.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      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. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
  </div>

  <script src="scripts/functions.js" type="text/javascript"></script>
</body>
</html>