Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 1dd17e0d683ef79b4bb6872bbf359d7f > files > 6091

qt4-doc-4.8.7-26.2.mga7.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" />
<!-- qpaintdevice.qdoc -->
  <title>Qt 4.8: Qt 3 Support Members for QPaintDevice</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>QPaintDevice</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">
<h1 class="title">Qt 3 Support Members for QPaintDevice</h1>
<p><b>The following class members are part of the <a href="qt3support.html">Qt 3 support layer</a>.</b> They are provided to help you port old code to Qt 4. We advise against using them in new code.</p>
<p><ul><li><a href="qpaintdevice.html">QPaintDevice class reference</a></li></ul></p>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11Cells">x11Cells</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Qt::HANDLE </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11Colormap">x11Colormap</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11DefaultColormap">x11DefaultColormap</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11DefaultVisual">x11DefaultVisual</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11Depth">x11Depth</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Display * </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11Display">x11Display</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11Screen">x11Screen</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void * </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11Visual">x11Visual</a></b> () const</td></tr>
</table>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppCells">x11AppCells</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Qt::HANDLE </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppColormap">x11AppColormap</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppDefaultColormap">x11AppDefaultColormap</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppDefaultVisual">x11AppDefaultVisual</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppDepth">x11AppDepth</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Display * </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppDisplay">x11AppDisplay</a></b> ()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppDpiX">x11AppDpiX</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppDpiY">x11AppDpiY</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Qt::HANDLE </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppRootWindow">x11AppRootWindow</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppScreen">x11AppScreen</a></b> ()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void * </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11AppVisual">x11AppVisual</a></b> ( int <i>screen</i> = -1 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11SetAppDpiX">x11SetAppDpiX</a></b> ( int <i>dpi</i>, int <i>screen</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpaintdevice-qt3.html#x11SetAppDpiY">x11SetAppDpiY</a></b> ( int <i>dpi</i>, int <i>screen</i> )</td></tr>
</table>
<h2>Member Function Documentation</h2>
<!-- $$$x11AppCells[overload1]$$$x11AppCellsint -->
<h3 class="fn"><a name="x11AppCells"></a><span class="type">int</span> QPaintDevice::<span class="name">x11AppCells</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#cells">QX11Info::cells</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> int cells = QPaintDevice::x11AppCells(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">int</span> cells <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appCells(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppCells -->
<!-- $$$x11AppColormap[overload1]$$$x11AppColormapint -->
<h3 class="fn"><a name="x11AppColormap"></a><span class="type"><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a></span> QPaintDevice::<span class="name">x11AppColormap</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#colormap">QX11Info::colormap</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> unsigned long colormap = QPaintDevice::x11AppColormap(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">unsigned</span> <span class="type">long</span> colormap <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appColormap(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppColormap -->
<!-- $$$x11AppDefaultColormap[overload1]$$$x11AppDefaultColormapint -->
<h3 class="fn"><a name="x11AppDefaultColormap"></a><span class="type">bool</span> QPaintDevice::<span class="name">x11AppDefaultColormap</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#defaultColormap">QX11Info::defaultColormap</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> bool isDefault = QPaintDevice::x11AppDefaultColormap(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">bool</span> isDefault <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appDefaultColormap(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppDefaultColormap -->
<!-- $$$x11AppDefaultVisual[overload1]$$$x11AppDefaultVisualint -->
<h3 class="fn"><a name="x11AppDefaultVisual"></a><span class="type">bool</span> QPaintDevice::<span class="name">x11AppDefaultVisual</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#defaultVisual">QX11Info::defaultVisual</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> bool isDefault = QPaintDevice::x11AppDefaultVisual(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">bool</span> isDefault <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appDefaultVisual(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppDefaultVisual -->
<!-- $$$x11AppDepth[overload1]$$$x11AppDepthint -->
<h3 class="fn"><a name="x11AppDepth"></a><span class="type">int</span> QPaintDevice::<span class="name">x11AppDepth</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#depth">QX11Info::depth</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> int depth = QPaintDevice::x11AppDepth(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">int</span> depth <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appDepth(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppDepth -->
<!-- $$$x11AppDisplay[overload1]$$$x11AppDisplay -->
<h3 class="fn"><a name="x11AppDisplay"></a><span class="type">Display</span> * QPaintDevice::<span class="name">x11AppDisplay</span> ()<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#display">QX11Info::display</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> Display *display = QPaintDevice::x11AppDisplay();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> Display <span class="operator">*</span>display <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>display();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppDisplay -->
<!-- $$$x11AppDpiX[overload1]$$$x11AppDpiXint -->
<h3 class="fn"><a name="x11AppDpiX"></a><span class="type">int</span> QPaintDevice::<span class="name">x11AppDpiX</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#appDpiX">QX11Info::appDpiX</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> bool isDefault = QPaintDevice::x11AppDpiX(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">bool</span> isDefault <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appDpiX(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppDpiX -->
<!-- $$$x11AppDpiY[overload1]$$$x11AppDpiYint -->
<h3 class="fn"><a name="x11AppDpiY"></a><span class="type">int</span> QPaintDevice::<span class="name">x11AppDpiY</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#appDpiY">QX11Info::appDpiY</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> bool isDefault = QPaintDevice::x11AppDpiY(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">bool</span> isDefault <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appDpiY(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppDpiY -->
<!-- $$$x11AppRootWindow[overload1]$$$x11AppRootWindowint -->
<h3 class="fn"><a name="x11AppRootWindow"></a><span class="type"><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a></span> QPaintDevice::<span class="name">x11AppRootWindow</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#appRootWindow">QX11Info::appRootWindow</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> unsigned long window = QPaintDevice::x11AppRootWindow(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">unsigned</span> <span class="type">long</span> window <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appRootWindow(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppRootWindow -->
<!-- $$$x11AppScreen[overload1]$$$x11AppScreen -->
<h3 class="fn"><a name="x11AppScreen"></a><span class="type">int</span> QPaintDevice::<span class="name">x11AppScreen</span> ()<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#screen">QX11Info::screen</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> int screen = QPaintDevice::x11AppScreen();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">int</span> screen <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appScreen();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppScreen -->
<!-- $$$x11AppVisual[overload1]$$$x11AppVisualint -->
<h3 class="fn"><a name="x11AppVisual"></a><span class="type">void</span> * QPaintDevice::<span class="name">x11AppVisual</span> ( <span class="type">int</span> <i>screen</i> = -1 )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#visual">QX11Info::visual</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> void *visual = QPaintDevice::x11AppVisual(screen);</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">void</span> <span class="operator">*</span>visual <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>appVisual(screen);</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11AppVisual -->
<!-- $$$x11Cells[overload1]$$$x11Cells -->
<h3 class="fn"><a name="x11Cells"></a><span class="type">int</span> QPaintDevice::<span class="name">x11Cells</span> () const</h3>
<p>Use <a href="qx11info.html#cells">QX11Info::cells</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> int cells = widget-&gt;x11Cells();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">int</span> cells <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>cells();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11Cells -->
<!-- $$$x11Colormap[overload1]$$$x11Colormap -->
<h3 class="fn"><a name="x11Colormap"></a><span class="type"><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a></span> QPaintDevice::<span class="name">x11Colormap</span> () const</h3>
<p>Use <a href="qx11info.html#colormap">QX11Info::colormap</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> unsigned long screen = widget-&gt;x11Colormap();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">unsigned</span> <span class="type">long</span> screen <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>colormap();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11Colormap -->
<!-- $$$x11DefaultColormap[overload1]$$$x11DefaultColormap -->
<h3 class="fn"><a name="x11DefaultColormap"></a><span class="type">bool</span> QPaintDevice::<span class="name">x11DefaultColormap</span> () const</h3>
<p>Use <a href="qx11info.html#defaultColormap">QX11Info::defaultColormap</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> bool isDefault = widget-&gt;x11DefaultColormap();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">bool</span> isDefault <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>defaultColormap();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11DefaultColormap -->
<!-- $$$x11DefaultVisual[overload1]$$$x11DefaultVisual -->
<h3 class="fn"><a name="x11DefaultVisual"></a><span class="type">bool</span> QPaintDevice::<span class="name">x11DefaultVisual</span> () const</h3>
<p>Use <a href="qx11info.html#defaultVisual">QX11Info::defaultVisual</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> bool isDefault = widget-&gt;x11DefaultVisual();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">bool</span> isDefault <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>defaultVisual();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11DefaultVisual -->
<!-- $$$x11Depth[overload1]$$$x11Depth -->
<h3 class="fn"><a name="x11Depth"></a><span class="type">int</span> QPaintDevice::<span class="name">x11Depth</span> () const</h3>
<p>Use <a href="qx11info.html#depth">QX11Info::depth</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> int depth = widget-&gt;x11Depth();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">int</span> depth <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span><a href="qpaintdevice.html#depth">depth</a>();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11Depth -->
<!-- $$$x11Display[overload1]$$$x11Display -->
<h3 class="fn"><a name="x11Display"></a><span class="type">Display</span> * QPaintDevice::<span class="name">x11Display</span> () const</h3>
<p>Use <a href="qx11info.html#display">QX11Info::display</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> Display *display = widget-&gt;x11Display();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> Display <span class="operator">*</span>display <span class="operator">=</span> QX11Info<span class="operator">::</span>display();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qx11info.html#display">QX11Info::display</a>().</p>
<!-- @@@x11Display -->
<!-- $$$x11Screen[overload1]$$$x11Screen -->
<h3 class="fn"><a name="x11Screen"></a><span class="type">int</span> QPaintDevice::<span class="name">x11Screen</span> () const</h3>
<p>Use <a href="qx11info.html#screen">QX11Info::screen</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> int screen = widget-&gt;x11Screen();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">int</span> screen <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>screen();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11Screen -->
<!-- $$$x11SetAppDpiX[overload1]$$$x11SetAppDpiXintint -->
<h3 class="fn"><a name="x11SetAppDpiX"></a><span class="type">void</span> QPaintDevice::<span class="name">x11SetAppDpiX</span> ( <span class="type">int</span> <i>dpi</i>, <span class="type">int</span> <i>screen</i> )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#setAppDpiX">QX11Info::setAppDpiX</a>() instead.</p>
<!-- @@@x11SetAppDpiX -->
<!-- $$$x11SetAppDpiY[overload1]$$$x11SetAppDpiYintint -->
<h3 class="fn"><a name="x11SetAppDpiY"></a><span class="type">void</span> QPaintDevice::<span class="name">x11SetAppDpiY</span> ( <span class="type">int</span> <i>dpi</i>, <span class="type">int</span> <i>screen</i> )<tt> [static]</tt></h3>
<p>Use <a href="qx11info.html#setAppDpiY">QX11Info::setAppDpiY</a>() instead.</p>
<!-- @@@x11SetAppDpiY -->
<!-- $$$x11Visual[overload1]$$$x11Visual -->
<h3 class="fn"><a name="x11Visual"></a><span class="type">void</span> * QPaintDevice::<span class="name">x11Visual</span> () const</h3>
<p>Use <a href="qx11info.html#visual">QX11Info::visual</a>() instead.</p>
<p>For example, if you have code like</p>
<pre class="cpp"> void *visual = widget-&gt;x11Visual();</pre>
<p>you can rewrite it as</p>
<pre class="cpp"> <span class="type">void</span> <span class="operator">*</span>visual <span class="operator">=</span> widget<span class="operator">-</span><span class="operator">&gt;</span>x11Info()<span class="operator">.</span>visual();</pre>
<p><b>See also </b><a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
<!-- @@@x11Visual -->
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </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.</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>
      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. <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>