Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 4954

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qstatusbar.cpp -->
<head>
  <title>Qt 4.6: Qt 3 Support Members for QStatusBar</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<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>
<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></tr></table><h1 class="title">Qt 3 Support Members for QStatusBar</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="qstatusbar.html">QStatusBar class reference</a></li></ul></p>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstatusbar-qt3.html#QStatusBar-2">QStatusBar</a></b> ( QWidget * <i>parent</i>, const char * <i>name</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qstatusbar-qt3.html#addWidget-2">addWidget</a></b> ( QWidget * <i>widget</i>, int <i>stretch</i>, bool <i>permanent</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>60 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
<li><div bar="2" class="fn"></div>8 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
<li><div bar="2" class="fn"></div>8 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
</ul>
<h2>Public Slots</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qstatusbar-qt3.html#clear">clear</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qstatusbar-qt3.html#message">message</a></b> ( const QString &amp; <i>message</i>, int <i>timeout</i> = 0 )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
</ul>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QStatusBar-2"></a>QStatusBar::QStatusBar ( <a href="qwidget.html">QWidget</a> * <i>parent</i>, const char * <i>name</i> )</h3>
<p>Constructs a status bar with a size grip and the given <i>parent</i> and object <i>name</i>.</p>
<p>Use the <a href="qstatusbar.html#QStatusBar">QStatusBar</a>() constructor and the <a href="qobject.html#objectName-prop">QObject::setObjectName</a>() function instead.</p>
<p>For example, if you have code like</p>
<pre><font color="#404040"> QStatusBar *myStatusBar = new QStatusBar(parent, name);</font></pre>
<p>you can rewrite it as</p>
<pre> QStatusBar *myStatusBar = new QStatusBar(parent);
 myStatusBar-&gt;setObjectName(name);</pre>
<h3 class="fn"><a name="addWidget-2"></a>void QStatusBar::addWidget ( <a href="qwidget.html">QWidget</a> * <i>widget</i>, int <i>stretch</i>, bool <i>permanent</i> )</h3>
<p>Use <a href="qstatusbar.html#addWidget">addWidget</a>() or <a href="qstatusbar.html#addPermanentWidget">addPermanentWidget</a>() instead, depending on the value of the <i>permanent</i> parameter.</p>
<p>For example, if you have code like</p>
<pre><font color="#404040"> QStatusBar *myStatusBar;
 myStatusBar-&gt;addWidget(widget, stretch, permanent);  // permanent == true</font></pre>
<p>you can rewrite it as</p>
<pre> QStatusBar *myStatusBar;
 myStatusBar-&gt;addPermanentWidget(widget, stretch);</pre>
<a name="//apple_ref/cpp/instm/QStatusBar/clear"></a>
<h3 class="fn"><a name="clear"></a>void QStatusBar::clear ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Use the <a href="qstatusbar.html#clearMessage">clearMessage</a>() function instead.</p>
<a name="//apple_ref/cpp/instm/QStatusBar/message"></a>
<h3 class="fn"><a name="message"></a>void QStatusBar::message ( const <a href="qstring.html">QString</a> &amp; <i>message</i>, int <i>timeout</i> = 0 )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Use the <a href="qstatusbar.html#showMessage">showMessage</a>() function instead.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>