File: classTp_1_1ManagerFile.html

package info (click to toggle)
telepathy-qt4 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 14,260 kB
  • ctags: 12,185
  • sloc: cpp: 29,241; xml: 23,692; ansic: 16,079; sh: 10,327; python: 3,080; makefile: 1,553
file content (208 lines) | stat: -rw-r--r-- 9,227 bytes parent folder | download
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<?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: Tp::ManagerFile Class Reference</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">&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 Classes</font></a>&nbsp;&middot;
<a href="namespaces.html">
<font color="#004faf">All Namespaces</font></a>&nbsp;&middot;
<a href="modules.html">
<font color="#004faf">Modules</font></a>&nbsp;&middot;
<a href="functions.html">
<font color="#004faf">Functions</font></a>&nbsp;&middot;
<a href="files.html">
<font color="#004faf">Files</font></a>
</td>
</tr>
</table>
</body>
</html>
<!-- Generated by Doxygen 1.6.3 -->
  <div class="navpath"><a class="el" href="namespaceTp.html">Tp</a>::<a class="el" href="classTp_1_1ManagerFile.html">ManagerFile</a>
  </div>
<div class="contents">
<h1>Tp::ManagerFile Class Reference</h1><!-- doxytag: class="Tp::ManagerFile" -->
<p>The <a class="el" href="classTp_1_1ManagerFile.html" title="The ManagerFile class provides an easy way to read telepathy manager files according...">ManagerFile</a> class provides an easy way to read telepathy manager files according to <a href="http://telepathy.freedesktop.org/spec.html.">http://telepathy.freedesktop.org/spec.html.</a>  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="manager-file_8h_source.html">TelepathyQt4/ManagerFile</a>&gt;</code></p>

<p><a href="classTp_1_1ManagerFile-members.html">List of all members.</a></p>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classTp_1_1ManagerFile.html#a332395a3f571e6895e8403ab8720cde1">ManagerFile</a> (const QString &amp;cmName)
<li><a class="el" href="classTp_1_1ManagerFile.html#a9ec53b3438d78bce31a3b54e38377001">~ManagerFile</a> ()
<li>QString <a class="el" href="classTp_1_1ManagerFile.html#a035db9e16caaf3cb9b684fdff686a7a6">cmName</a> () const 
<li>bool <a class="el" href="classTp_1_1ManagerFile.html#a524dd15682be1dde343ea86bd49b0d7d">isValid</a> () const 
<li>QStringList <a class="el" href="classTp_1_1ManagerFile.html#abb788f46cfaf06dfadf1bcc5c17215d4">protocols</a> () const 
<li>ParamSpecList <a class="el" href="classTp_1_1ManagerFile.html#ae37ed84776dad116f3b8b1001e8c9b15">parameters</a> (const QString &amp;protocol) const 
</ul>
<h2>Static Public Member Functions</h2>
<ul>
<li>static QVariant::Type <a class="el" href="classTp_1_1ManagerFile.html#acd908e1130c031df73c40b2d18c87d4d">variantTypeFromDBusSignature</a> (const QString &amp;signature)
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <a class="el" href="classTp_1_1ManagerFile.html" title="The ManagerFile class provides an easy way to read telepathy manager files according...">ManagerFile</a> class provides an easy way to read telepathy manager files according to <a href="http://telepathy.freedesktop.org/spec.html.">http://telepathy.freedesktop.org/spec.html.</a> </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a332395a3f571e6895e8403ab8720cde1"></a><!-- doxytag: member="Tp::ManagerFile::ManagerFile" ref="a332395a3f571e6895e8403ab8720cde1" args="(const QString &amp;cmName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tp::ManagerFile::ManagerFile </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>cmName</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classTp_1_1ManagerFile.html" title="The ManagerFile class provides an easy way to read telepathy manager files according...">ManagerFile</a> object used to read .manager compliant files.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cmName</em>&nbsp;</td><td>Name of the connection manager to read the file for. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9ec53b3438d78bce31a3b54e38377001"></a><!-- doxytag: member="Tp::ManagerFile::~ManagerFile" ref="a9ec53b3438d78bce31a3b54e38377001" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tp::ManagerFile::~ManagerFile </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Class destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a035db9e16caaf3cb9b684fdff686a7a6"></a><!-- doxytag: member="Tp::ManagerFile::cmName" ref="a035db9e16caaf3cb9b684fdff686a7a6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Tp::ManagerFile::cmName </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a524dd15682be1dde343ea86bd49b0d7d"></a><!-- doxytag: member="Tp::ManagerFile::isValid" ref="a524dd15682be1dde343ea86bd49b0d7d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Tp::ManagerFile::isValid </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check whether or not a <a class="el" href="classTp_1_1ManagerFile.html" title="The ManagerFile class provides an easy way to read telepathy manager files according...">ManagerFile</a> object is valid. If the file for the specified connection manager cannot be found it will be considered invalid.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if valid, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="abb788f46cfaf06dfadf1bcc5c17215d4"></a><!-- doxytag: member="Tp::ManagerFile::protocols" ref="abb788f46cfaf06dfadf1bcc5c17215d4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList Tp::ManagerFile::protocols </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a list of all protocols defined in the manager file.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>List of all protocols defined in the file. </dd></dl>

</div>
</div>
<a class="anchor" id="ae37ed84776dad116f3b8b1001e8c9b15"></a><!-- doxytag: member="Tp::ManagerFile::parameters" ref="ae37ed84776dad116f3b8b1001e8c9b15" args="(const QString &amp;protocol) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ParamSpecList Tp::ManagerFile::parameters </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>protocol</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a list of all protocols defined in the manager file.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>protocol</em>&nbsp;</td><td>Name of the protocol to look for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>List of ParamSpec of a specific protocol defined in the file, or an empty list if the protocol is not defined. </dd></dl>

</div>
</div>
<a class="anchor" id="acd908e1130c031df73c40b2d18c87d4d"></a><!-- doxytag: member="Tp::ManagerFile::variantTypeFromDBusSignature" ref="acd908e1130c031df73c40b2d18c87d4d" args="(const QString &amp;signature)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant::Type Tp::ManagerFile::variantTypeFromDBusSignature </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>signature</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 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>