~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qpaintdevice-qt3.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/doc/src/qpaintdevice.qdoc -->
 
5
<!-- qpaintdevice.qdoc -->
6
6
<head>
7
 
  <title>Qt 4.5: Qt 3 Support Members for QPaintDevice</title>
 
7
  <title>Qt 4.6: Qt 3 Support Members for QPaintDevice</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
11
11
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
12
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">Qt 3 Support Members for QPaintDevice</h1>
 
13
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
14
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
15
</tr></table><h1 class="title">Qt 3 Support Members for QPaintDevice</h1>
16
16
<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>
17
17
<p><ul><li><a href="qpaintdevice.html">QPaintDevice class reference</a></li></ul></p>
18
 
<h3>Public Functions</h3>
19
 
<ul>
20
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11Cells">x11Cells</a></b> () const</li>
21
 
<li><div class="fn"></div>Qt::HANDLE <b><a href="qpaintdevice-qt3.html#x11Colormap">x11Colormap</a></b> () const</li>
22
 
<li><div class="fn"></div>bool <b><a href="qpaintdevice-qt3.html#x11DefaultColormap">x11DefaultColormap</a></b> () const</li>
23
 
<li><div class="fn"></div>bool <b><a href="qpaintdevice-qt3.html#x11DefaultVisual">x11DefaultVisual</a></b> () const</li>
24
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11Depth">x11Depth</a></b> () const</li>
25
 
<li><div class="fn"></div>Display * <b><a href="qpaintdevice-qt3.html#x11Display">x11Display</a></b> () const</li>
26
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11Screen">x11Screen</a></b> () const</li>
27
 
<li><div class="fn"></div>void * <b><a href="qpaintdevice-qt3.html#x11Visual">x11Visual</a></b> () const</li>
28
 
</ul>
29
 
<h3>Static Public Members</h3>
30
 
<ul>
31
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11AppCells">x11AppCells</a></b> ( int <i>screen</i> = -1 )</li>
32
 
<li><div class="fn"></div>Qt::HANDLE <b><a href="qpaintdevice-qt3.html#x11AppColormap">x11AppColormap</a></b> ( int <i>screen</i> = -1 )</li>
33
 
<li><div class="fn"></div>bool <b><a href="qpaintdevice-qt3.html#x11AppDefaultColormap">x11AppDefaultColormap</a></b> ( int <i>screen</i> = -1 )</li>
34
 
<li><div class="fn"></div>bool <b><a href="qpaintdevice-qt3.html#x11AppDefaultVisual">x11AppDefaultVisual</a></b> ( int <i>screen</i> = -1 )</li>
35
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11AppDepth">x11AppDepth</a></b> ( int <i>screen</i> = -1 )</li>
36
 
<li><div class="fn"></div>Display * <b><a href="qpaintdevice-qt3.html#x11AppDisplay">x11AppDisplay</a></b> ()</li>
37
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11AppDpiX">x11AppDpiX</a></b> ( int <i>screen</i> = -1 )</li>
38
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11AppDpiY">x11AppDpiY</a></b> ( int <i>screen</i> = -1 )</li>
39
 
<li><div class="fn"></div>Qt::HANDLE <b><a href="qpaintdevice-qt3.html#x11AppRootWindow">x11AppRootWindow</a></b> ( int <i>screen</i> = -1 )</li>
40
 
<li><div class="fn"></div>int <b><a href="qpaintdevice-qt3.html#x11AppScreen">x11AppScreen</a></b> ()</li>
41
 
<li><div class="fn"></div>void * <b><a href="qpaintdevice-qt3.html#x11AppVisual">x11AppVisual</a></b> ( int <i>screen</i> = -1 )</li>
42
 
<li><div class="fn"></div>void <b><a href="qpaintdevice-qt3.html#x11SetAppDpiX">x11SetAppDpiX</a></b> ( int <i>dpi</i>, int <i>screen</i> )</li>
43
 
<li><div class="fn"></div>void <b><a href="qpaintdevice-qt3.html#x11SetAppDpiY">x11SetAppDpiY</a></b> ( int <i>dpi</i>, int <i>screen</i> )</li>
44
 
</ul>
 
18
<h2>Public Functions</h2>
 
19
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
20
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11Cells">x11Cells</a></b> () const</td></tr>
 
21
<tr><td class="memItemLeft" align="right" valign="top">Qt::HANDLE </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11Colormap">x11Colormap</a></b> () const</td></tr>
 
22
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11DefaultColormap">x11DefaultColormap</a></b> () const</td></tr>
 
23
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11DefaultVisual">x11DefaultVisual</a></b> () const</td></tr>
 
24
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11Depth">x11Depth</a></b> () const</td></tr>
 
25
<tr><td class="memItemLeft" align="right" valign="top">Display * </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11Display">x11Display</a></b> () const</td></tr>
 
26
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11Screen">x11Screen</a></b> () const</td></tr>
 
27
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11Visual">x11Visual</a></b> () const</td></tr>
 
28
</table>
 
29
<h2>Static Public Members</h2>
 
30
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
31
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppCells">x11AppCells</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
32
<tr><td class="memItemLeft" align="right" valign="top">Qt::HANDLE </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppColormap">x11AppColormap</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
33
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppDefaultColormap">x11AppDefaultColormap</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
34
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppDefaultVisual">x11AppDefaultVisual</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
35
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppDepth">x11AppDepth</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
36
<tr><td class="memItemLeft" align="right" valign="top">Display * </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppDisplay">x11AppDisplay</a></b> ()</td></tr>
 
37
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppDpiX">x11AppDpiX</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
38
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppDpiY">x11AppDpiY</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
39
<tr><td class="memItemLeft" align="right" valign="top">Qt::HANDLE </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppRootWindow">x11AppRootWindow</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
40
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppScreen">x11AppScreen</a></b> ()</td></tr>
 
41
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11AppVisual">x11AppVisual</a></b> ( int <i>screen</i> = -1 )</td></tr>
 
42
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11SetAppDpiX">x11SetAppDpiX</a></b> ( int <i>dpi</i>, int <i>screen</i> )</td></tr>
 
43
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qpaintdevice-qt3.html#x11SetAppDpiY">x11SetAppDpiY</a></b> ( int <i>dpi</i>, int <i>screen</i> )</td></tr>
 
44
</table>
45
45
<hr />
46
46
<h2>Member Function Documentation</h2>
 
47
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppCells" />
47
48
<h3 class="fn"><a name="x11AppCells"></a>int QPaintDevice::x11AppCells ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
48
49
<p>Use <a href="qx11info.html#cells">QX11Info::cells</a>() instead.</p>
49
50
<p>For example, if you have code like</p>
51
52
<p>you can rewrite it as</p>
52
53
<pre> int cells = qApp-&gt;x11Info(screen).cells();</pre>
53
54
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
55
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppColormap" />
54
56
<h3 class="fn"><a name="x11AppColormap"></a><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a> QPaintDevice::x11AppColormap ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
55
57
<p>Use <a href="qx11info.html#colormap">QX11Info::colormap</a>() instead.</p>
56
58
<p>For example, if you have code like</p>
58
60
<p>you can rewrite it as</p>
59
61
<pre> unsigned long colormap = qApp-&gt;x11Info(screen).colormap();</pre>
60
62
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
63
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppDefaultColormap" />
61
64
<h3 class="fn"><a name="x11AppDefaultColormap"></a>bool QPaintDevice::x11AppDefaultColormap ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
62
65
<p>Use <a href="qx11info.html#defaultColormap">QX11Info::defaultColormap</a>() instead.</p>
63
66
<p>For example, if you have code like</p>
65
68
<p>you can rewrite it as</p>
66
69
<pre> bool isDefault = qApp-&gt;x11Info(screen).defaultColormap();</pre>
67
70
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
71
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppDefaultVisual" />
68
72
<h3 class="fn"><a name="x11AppDefaultVisual"></a>bool QPaintDevice::x11AppDefaultVisual ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
69
73
<p>Use <a href="qx11info.html#defaultVisual">QX11Info::defaultVisual</a>() instead.</p>
70
74
<p>For example, if you have code like</p>
72
76
<p>you can rewrite it as</p>
73
77
<pre> bool isDefault = qApp-&gt;x11Info(screen).defaultVisual();</pre>
74
78
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
79
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppDepth" />
75
80
<h3 class="fn"><a name="x11AppDepth"></a>int QPaintDevice::x11AppDepth ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
76
81
<p>Use <a href="qx11info.html#depth">QX11Info::depth</a>() instead.</p>
77
82
<p>For example, if you have code like</p>
79
84
<p>you can rewrite it as</p>
80
85
<pre> int depth = qApp-&gt;x11Info(screen).depth();</pre>
81
86
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
87
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppDisplay" />
82
88
<h3 class="fn"><a name="x11AppDisplay"></a>Display * QPaintDevice::x11AppDisplay ()&nbsp;&nbsp;<tt> [static]</tt></h3>
83
89
<p>Use <a href="qx11info.html#display">QX11Info::display</a>() instead.</p>
84
90
<p>For example, if you have code like</p>
86
92
<p>you can rewrite it as</p>
87
93
<pre> Display *display = qApp-&gt;x11Info().display();</pre>
88
94
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
95
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppDpiX" />
89
96
<h3 class="fn"><a name="x11AppDpiX"></a>int QPaintDevice::x11AppDpiX ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
90
97
<p>Use <a href="qx11info.html#appDpiX">QX11Info::appDpiX</a>() instead.</p>
91
98
<p>For example, if you have code like</p>
93
100
<p>you can rewrite it as</p>
94
101
<pre> bool isDefault = qApp-&gt;x11Info(screen).appDpiX();</pre>
95
102
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
103
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppDpiY" />
96
104
<h3 class="fn"><a name="x11AppDpiY"></a>int QPaintDevice::x11AppDpiY ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
97
105
<p>Use <a href="qx11info.html#appDpiY">QX11Info::appDpiY</a>() instead.</p>
98
106
<p>For example, if you have code like</p>
100
108
<p>you can rewrite it as</p>
101
109
<pre> bool isDefault = qApp-&gt;x11Info(screen).appDpiY();</pre>
102
110
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
111
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppRootWindow" />
103
112
<h3 class="fn"><a name="x11AppRootWindow"></a><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a> QPaintDevice::x11AppRootWindow ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
104
113
<p>Use <a href="qx11info.html#appRootWindow">QX11Info::appRootWindow</a>() instead.</p>
105
114
<p>For example, if you have code like</p>
107
116
<p>you can rewrite it as</p>
108
117
<pre> unsigned long window = qApp-&gt;x11Info(screen).appRootWindow();</pre>
109
118
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
119
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppScreen" />
110
120
<h3 class="fn"><a name="x11AppScreen"></a>int QPaintDevice::x11AppScreen ()&nbsp;&nbsp;<tt> [static]</tt></h3>
111
121
<p>Use <a href="qx11info.html#screen">QX11Info::screen</a>() instead.</p>
112
122
<p>For example, if you have code like</p>
114
124
<p>you can rewrite it as</p>
115
125
<pre> int screen = qApp-&gt;x11Info().screen();</pre>
116
126
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
127
<a name="//apple_ref/cpp/clm/QPaintDevice/x11AppVisual" />
117
128
<h3 class="fn"><a name="x11AppVisual"></a>void * QPaintDevice::x11AppVisual ( int <i>screen</i> = -1 )&nbsp;&nbsp;<tt> [static]</tt></h3>
118
129
<p>Use <a href="qx11info.html#visual">QX11Info::visual</a>() instead.</p>
119
130
<p>For example, if you have code like</p>
121
132
<p>you can rewrite it as</p>
122
133
<pre> void *visual = qApp-&gt;x11Info(screen).visual();</pre>
123
134
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
135
<a name="//apple_ref/cpp/instm/QPaintDevice/x11Cells" />
124
136
<h3 class="fn"><a name="x11Cells"></a>int QPaintDevice::x11Cells () const</h3>
125
137
<p>Use <a href="qx11info.html#cells">QX11Info::cells</a>() instead.</p>
126
138
<p>For example, if you have code like</p>
128
140
<p>you can rewrite it as</p>
129
141
<pre> int cells = widget-&gt;x11Info().cells();</pre>
130
142
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
143
<a name="//apple_ref/cpp/instm/QPaintDevice/x11Colormap" />
131
144
<h3 class="fn"><a name="x11Colormap"></a><a href="qt.html#HANDLE-typedef">Qt::HANDLE</a> QPaintDevice::x11Colormap () const</h3>
132
145
<p>Use <a href="qx11info.html#colormap">QX11Info::colormap</a>() instead.</p>
133
146
<p>For example, if you have code like</p>
135
148
<p>you can rewrite it as</p>
136
149
<pre> unsigned long screen = widget-&gt;x11Info().colormap();</pre>
137
150
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
151
<a name="//apple_ref/cpp/instm/QPaintDevice/x11DefaultColormap" />
138
152
<h3 class="fn"><a name="x11DefaultColormap"></a>bool QPaintDevice::x11DefaultColormap () const</h3>
139
153
<p>Use <a href="qx11info.html#defaultColormap">QX11Info::defaultColormap</a>() instead.</p>
140
154
<p>For example, if you have code like</p>
142
156
<p>you can rewrite it as</p>
143
157
<pre> bool isDefault = widget-&gt;x11Info().defaultColormap();</pre>
144
158
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
159
<a name="//apple_ref/cpp/instm/QPaintDevice/x11DefaultVisual" />
145
160
<h3 class="fn"><a name="x11DefaultVisual"></a>bool QPaintDevice::x11DefaultVisual () const</h3>
146
161
<p>Use <a href="qx11info.html#defaultVisual">QX11Info::defaultVisual</a>() instead.</p>
147
162
<p>For example, if you have code like</p>
149
164
<p>you can rewrite it as</p>
150
165
<pre> bool isDefault = widget-&gt;x11Info().defaultVisual();</pre>
151
166
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
167
<a name="//apple_ref/cpp/instm/QPaintDevice/x11Depth" />
152
168
<h3 class="fn"><a name="x11Depth"></a>int QPaintDevice::x11Depth () const</h3>
153
169
<p>Use <a href="qx11info.html#depth">QX11Info::depth</a>() instead.</p>
154
170
<p>For example, if you have code like</p>
156
172
<p>you can rewrite it as</p>
157
173
<pre> int depth = widget-&gt;x11Info().depth();</pre>
158
174
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
175
<a name="//apple_ref/cpp/instm/QPaintDevice/x11Display" />
159
176
<h3 class="fn"><a name="x11Display"></a>Display * QPaintDevice::x11Display () const</h3>
160
177
<p>Use <a href="qx11info.html#display">QX11Info::display</a>() instead.</p>
161
178
<p>For example, if you have code like</p>
163
180
<p>you can rewrite it as</p>
164
181
<pre> Display *display = QX11Info::display();</pre>
165
182
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qx11info.html#display">QX11Info::display</a>().</p>
 
183
<a name="//apple_ref/cpp/instm/QPaintDevice/x11Screen" />
166
184
<h3 class="fn"><a name="x11Screen"></a>int QPaintDevice::x11Screen () const</h3>
167
185
<p>Use <a href="qx11info.html#screen">QX11Info::screen</a>() instead.</p>
168
186
<p>For example, if you have code like</p>
170
188
<p>you can rewrite it as</p>
171
189
<pre> int screen = widget-&gt;x11Info().screen();</pre>
172
190
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
 
191
<a name="//apple_ref/cpp/clm/QPaintDevice/x11SetAppDpiX" />
173
192
<h3 class="fn"><a name="x11SetAppDpiX"></a>void QPaintDevice::x11SetAppDpiX ( int <i>dpi</i>, int <i>screen</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
174
193
<p>Use <a href="qx11info.html#setAppDpiX">QX11Info::setAppDpiX</a>() instead.</p>
 
194
<a name="//apple_ref/cpp/clm/QPaintDevice/x11SetAppDpiY" />
175
195
<h3 class="fn"><a name="x11SetAppDpiY"></a>void QPaintDevice::x11SetAppDpiY ( int <i>dpi</i>, int <i>screen</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
176
196
<p>Use <a href="qx11info.html#setAppDpiY">QX11Info::setAppDpiY</a>() instead.</p>
 
197
<a name="//apple_ref/cpp/instm/QPaintDevice/x11Visual" />
177
198
<h3 class="fn"><a name="x11Visual"></a>void * QPaintDevice::x11Visual () const</h3>
178
199
<p>Use <a href="qx11info.html#visual">QX11Info::visual</a>() instead.</p>
179
200
<p>For example, if you have code like</p>
183
204
<p>See also <a href="qwidget.html#x11Info">QWidget::x11Info</a>() and <a href="qpixmap.html#x11Info">QPixmap::x11Info</a>().</p>
184
205
<p /><address><hr /><div align="center">
185
206
<table width="100%" cellspacing="0" border="0"><tr class="address">
186
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
187
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
188
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
189
 
</tr></table></div></address></body>
 
207
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
208
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
209
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
210
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
190
211
</html>