This file is indexed.

/usr/share/doc/qmf/html/qmailaccountconfiguration-serviceconfiguration.html is in qmf-doc-html 1.0.7~2011w23.2-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
<?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">
<!-- qmailaccountconfiguration.cpp -->
<head>
  <title>ServiceConfiguration Class Reference</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"><img src="images/qtlogo.png" align="left" border="0" /></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
<td align="right" valign="top" width="230"><img src="images/codeless.png"  border="0" /></td></tr></table><h1 class="title">ServiceConfiguration Class Reference<br /><span class="small-subtitle">(QMailAccountConfiguration::ServiceConfiguration)<br /></span>
</h1>
<p>The ServiceConfiguration class provides access to the configuration parameters of a single named service within an account. <a href="#details">More...</a></p>
<p><b>This class is under development and is subject to change.</b></p>
<ul>
<li><a href="qmailaccountconfiguration-serviceconfiguration-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountId </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountconfiguration-serviceconfiguration.html#id">id</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountconfiguration-serviceconfiguration.html#removeValue">removeValue</a></b> ( const QString &amp; <i>name</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountconfiguration-serviceconfiguration.html#service">service</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountconfiguration-serviceconfiguration.html#setValue">setValue</a></b> ( const QString &amp; <i>name</i>, const QString &amp; <i>value</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountconfiguration-serviceconfiguration.html#value">value</a></b> ( const QString &amp; <i>name</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QMap&lt;QString, QString&gt; &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountconfiguration-serviceconfiguration.html#values">values</a></b> () const</td></tr>
</table>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The ServiceConfiguration class provides access to the configuration parameters of a single named service within an account.</p>
<p>ServiceConfiguration provides an interface mapping the configuration parameters of the service as a set of key-value pairs, where all data is maintained in <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> form.</p>
<p>A ServiceConfiguration object cannot be directly constructed, but can be acquired from the containing account's <a href="qmailaccountconfiguration.html">QMailAccountConfiguration</a> object. For example:</p>
<pre>    QMailAccountConfiguration config(accountId);

    if (config.id().isValid()) {
        qDebug() &lt;&lt; &quot;Account&quot; &lt;&lt; config.id() &lt;&lt; &quot;:&quot;;
        foreach (const QString&amp; service, config.services()) {
            QMailAccountConfiguration::ServiceConfiguration &amp;svcCfg(config.serviceConfiguration(service));
            qDebug() &lt;&lt; &quot;\tService&quot; &lt;&lt; service &lt;&lt; &quot;:&quot;;
            foreach (const QString &amp;name, svcCfg.values().keys()) {
                qDebug() &lt;&lt; &quot;\t\t&quot; &lt;&lt; name &lt;&lt; &quot;:&quot; &lt;&lt; svcCfg.value(name);
            }
        }
    }</pre>
<p>See also <a href="qmailaccountconfiguration.html#serviceConfiguration">QMailAccountConfiguration::serviceConfiguration</a>().</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="id"></a><a href="qmailaccountid.html">QMailAccountId</a> ServiceConfiguration::id () const</h3>
<p>Returns the identifier of the account to which this configuration pertains.</p>
<h3 class="fn"><a name="removeValue"></a>void ServiceConfiguration::removeValue ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>name</i> )</h3>
<p>Removes the parameter named <i>name</i> from the service configuration.</p>
<h3 class="fn"><a name="service"></a><a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> ServiceConfiguration::service () const</h3>
<p>Returns the name of the service to which this configuration pertains.</p>
<h3 class="fn"><a name="setValue"></a>void ServiceConfiguration::setValue ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>name</i>, const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i> )</h3>
<p>Sets the parameter named <i>name</i> to contain the value <i>value</i> in the service configuration.</p>
<p>See also <a href="qmailaccountconfiguration-serviceconfiguration.html#value">value</a>().</p>
<h3 class="fn"><a name="value"></a><a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> ServiceConfiguration::value ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>name</i> ) const</h3>
<p>Returns the value of the parameter named <i>name</i> in the service configuration.</p>
<p>See also <a href="qmailaccountconfiguration-serviceconfiguration.html#setValue">setValue</a>().</p>
<h3 class="fn"><a name="values"></a>const <a href="http://doc.trolltech.com/4.5/qmap.html">QMap</a>&lt;<a href="http://doc.trolltech.com/4.5/qstring.html">QString</a>, <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a>&gt; &amp; ServiceConfiguration::values () const</h3>
<p>Returns the values of the service configuration parameters.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2010 QtSoftware</td>
<td align="right"><div align="right">Messaging Framework</div></td>
</tr></table></div></address></body>
</html>