1
<?xml version="1.0" encoding="iso-8859-1"?>
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/corelib/global/qglobal.cpp -->
7
<title>Qt 4.0: QFlag Class Reference</title>
8
<style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
9
a:link { color: #004faf; text-decoration: none }
10
a:visited { color: #672967; text-decoration: none }
11
td.postheader { font-family: sans-serif }
12
tr.address { font-family: sans-serif }
13
body { background: #ffffff; color: black; }</style>
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
19
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="annotated.html"><font color="#004faf">Annotated</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QFlag Class Reference</h1>
21
<p>The QFlag class is a helper data type for <a href="qflags.html">QFlags</a>. <a href="#details">More...</a></p>
22
<pre>#include <QFlag></pre><p>Part of the <a href="qtcore.html">QtCore</a> module.</p>
24
<li><a href="qflag-members.html">List of all members, including inherited members</a></li>
26
<a name="public-functions"></a>
27
<h3>Public Functions</h3>
29
<li><div class="fn"/><b><a href="qflag.html#QFlag">QFlag</a></b> ( int <i>value</i> )</li>
30
<li><div class="fn"/><b><a href="qflag.html#operator-int">operator int</a></b> () const</li>
32
<a name="details"></a>
34
<h2>Detailed Description</h2>
35
<p>The QFlag class is a helper data type for <a href="qflags.html">QFlags</a>.</p>
36
<p>It is equivalent to a plain <tt>int</tt>, except with respect to function overloading and type conversions. You should never need to use it in your applications.</p>
37
<p>See also <a href="qflags.html">QFlags</a>.</p>
39
<h2>Member Function Documentation</h2>
40
<h3 class="fn"><a name="QFlag"></a>QFlag::QFlag ( int <i>value</i> )</h3>
41
<p>Constructs a <a href="qflag.html">QFlag</a> object that stores the given <i>value</i>.</p>
42
<h3 class="fn"><a name="operator-int"></a>QFlag::operator int () const</h3>
43
<p>Returns the value stored by the <a href="qflag.html">QFlag</a> object.</p>
44
<p /><address><hr /><div align="center">
45
<table width="100%" cellspacing="0" border="0"><tr class="address">
46
<td width="30%">Copyright © 2005 <a href="trolltech.html">Trolltech</a></td>
47
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
48
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
49
</tr></table></div></address></body>