Sophie

Sophie

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

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">
<!-- qobject.cpp -->
<head>
  <title>Qt 4.6: Qt 3 Support Members for QObject</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 QObject</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="qobject.html">QObject 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="qobject-qt3.html#QObject-3">QObject</a></b> ( QObject * <i>parent</i>, const char * <i>name</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QObject * </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#child">child</a></b> ( const char * <i>objName</i>, const char * <i>inheritsClass</i> = 0, bool <i>recursiveSearch</i> = true ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#className">className</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#insertChild">insertChild</a></b> ( QObject * <i>object</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#isA">isA</a></b> ( const char * <i>className</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#name">name</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#name-2">name</a></b> ( const char * <i>defaultName</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#removeChild">removeChild</a></b> ( QObject * <i>object</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#setName">setName</a></b> ( const char * <i>name</i> )</td></tr>
</table>
<h2>Protected Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#checkConnectArgs">checkConnectArgs</a></b> ( const char * <i>signal</i>, const QObject * <i>object</i>, const char * <i>method</i> )</td></tr>
</table>
<h2>Static Protected Members</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><b><a href="qobject-qt3.html#normalizeSignalSlot">normalizeSignalSlot</a></b> ( const char * <i>signalSlot</i> )</td></tr>
</table>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QObject-3"></a>QObject::QObject ( QObject * <i>parent</i>, const char * <i>name</i> )</h3>
<p>This function overloads <a href="qobject.html#QObject">QObject</a>().</p>
<p>Creates a new <a href="qobject.html">QObject</a> with the given <i>parent</i> and object <i>name</i>.</p>
<a name="//apple_ref/cpp/instm/QObject/checkConnectArgs"></a>
<h3 class="fn"><a name="checkConnectArgs"></a>bool QObject::checkConnectArgs ( const char * <i>signal</i>, const QObject * <i>object</i>, const char * <i>method</i> )&nbsp;&nbsp;<tt> [protected]</tt></h3>
<p>Use <a href="qmetaobject.html#checkConnectArgs">QMetaObject::checkConnectArgs</a>() instead.</p>
<a name="//apple_ref/cpp/instm/QObject/child"></a>
<h3 class="fn"><a name="child"></a>QObject * QObject::child ( const char * <i>objName</i>, const char * <i>inheritsClass</i> = 0, bool <i>recursiveSearch</i> = true ) const</h3>
<p>Searches the children and optionally grandchildren of this object, and returns a child that is called <i>objName</i> that inherits <i>inheritsClass</i>. If <i>inheritsClass</i> is 0 (the default), any class matches.</p>
<p>If <i>recursiveSearch</i> is true (the default), child() performs a depth-first search of the object's children.</p>
<p>If there is no such object, this function returns 0. If there are more than one, the first one found is returned.</p>
<a name="//apple_ref/cpp/instm/QObject/className"></a>
<h3 class="fn"><a name="className"></a>const char * QObject::className () const</h3>
<p>Use <a href="qobject.html#metaObject">metaObject</a>()-&gt;className() instead.</p>
<a name="//apple_ref/cpp/instm/QObject/insertChild"></a>
<h3 class="fn"><a name="insertChild"></a>void QObject::insertChild ( QObject * <i>object</i> )</h3>
<p>Use <a href="qobject.html#setParent">setParent</a>() instead, i.e&#x2e;, call object-&gt;setParent(this).</p>
<a name="//apple_ref/cpp/instm/QObject/isA"></a>
<h3 class="fn"><a name="isA"></a>bool QObject::isA ( const char * <i>className</i> ) const</h3>
<p>Compare <i>className</i> with the object's <a href="qobject.html#metaObject">metaObject</a>()-&gt;<a href="qobject-qt3.html#className">className</a>() instead.</p>
<a name="//apple_ref/cpp/instm/QObject/name"></a>
<h3 class="fn"><a name="name"></a>const char * QObject::name () const</h3>
<p>Use <a href="qobject.html#objectName-prop">objectName</a>() instead.</p>
<p>See also <a href="qobject-qt3.html#setName">setName</a>().</p>
<h3 class="fn"><a name="name-2"></a>const char * QObject::name ( const char * <i>defaultName</i> ) const</h3>
<p>Use <a href="qobject.html#objectName-prop">objectName</a>() instead.</p>
<a name="//apple_ref/cpp/clm/QObject/normalizeSignalSlot"></a>
<h3 class="fn"><a name="normalizeSignalSlot"></a><a href="qbytearray.html">QByteArray</a> QObject::normalizeSignalSlot ( const char * <i>signalSlot</i> )&nbsp;&nbsp;<tt> [static protected]</tt></h3>
<p>Use <a href="qmetaobject.html#normalizedSignature">QMetaObject::normalizedSignature</a>() instead.</p>
<a name="//apple_ref/cpp/instm/QObject/removeChild"></a>
<h3 class="fn"><a name="removeChild"></a>void QObject::removeChild ( QObject * <i>object</i> )</h3>
<p>Use <a href="qobject.html#setParent">setParent</a>() instead, i.e&#x2e;, call object-&gt;setParent(0).</p>
<a name="//apple_ref/cpp/instm/QObject/setName"></a>
<h3 class="fn"><a name="setName"></a>void QObject::setName ( const char * <i>name</i> )</h3>
<p>Use <a href="qobject.html#objectName-prop">setObjectName</a>() instead.</p>
<p>See also <a href="qobject-qt3.html#name">name</a>().</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>