1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
<?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">
<head>
<title>TelepathyQt4: Common debug support</title>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<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="namespaces.html">
<font color="#004faf">All Namespaces</font></a> ·
<a href="modules.html">
<font color="#004faf">Modules</font></a> ·
<a href="functions.html">
<font color="#004faf">Functions</font></a> ·
<a href="files.html">
<font color="#004faf">Files</font></a>
</td>
</tr>
</table>
</body>
</html>
<!-- Generated by Doxygen 1.6.3 -->
<div class="contents">
<h1>Common debug support</h1><h2>Functions</h2>
<ul>
<li>void <a class="el" href="group__debug.html#ga52cbf229d908f8ea516b53f074e44241">Tp::enableDebug</a> (bool enable)
<li>void <a class="el" href="group__debug.html#ga7cc429d87fa4d829de26cd835cc005d3">Tp::enableWarnings</a> (bool enable)
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>TelepathyQt4 has an internal mechanism for displaying debugging output. It uses the Qt4 debugging subsystem, so if you want to redirect the messages, use qInstallMsgHandler() from <QtGlobal>.</p>
<p>Debugging output is divided into two categories: normal debug output and warning messages. Normal debug output results in the normal operation of the library, warning messages are output only when something goes wrong. Each category can be invidually enabled. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga52cbf229d908f8ea516b53f074e44241"></a><!-- doxytag: member="Tp::enableDebug" ref="ga52cbf229d908f8ea516b53f074e44241" args="(bool enable)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Tp::enableDebug </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>enable</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Enable or disable normal debug output from the library. If the library is not compiled with debug support enabled, this has no effect; no output is produced in any case.</p>
<p>The default is <code>false</code> ie. no debug output.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>enable</em> </td><td>Whether debug output should be enabled or not. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga7cc429d87fa4d829de26cd835cc005d3"></a><!-- doxytag: member="Tp::enableWarnings" ref="ga7cc429d87fa4d829de26cd835cc005d3" args="(bool enable)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Tp::enableWarnings </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>enable</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Enable or disable warning output from the library. If the library is not compiled with debug support enabled, this has no effect; no output is produced in any case.</p>
<p>The default is <code>true</code> ie. warning output enabled.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>enable</em> </td><td>Whether warnings should be enabled or not. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation</td>
<td width="30%" align="right"><div align="right">Telepathy-Qt4 0.3.6</div></td>
</tr></table></div></address>
</body>
</html>
|