File: sms-manager_8h_source.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 (58 lines) | stat: -rw-r--r-- 3,538 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
<?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: sms-manager.h Source File</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 -->
<h1>sms-manager.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a><a class="code" href="classSmsManager.html">00001</a> <span class="keyword">class </span><a class="code" href="classSmsManager.html">SmsManager</a> : <span class="keyword">public</span> QObject
<a name="l00002"></a>00002 {
<a name="l00003"></a>00003 <span class="keyword">public</span>:
<a name="l00004"></a>00004     <span class="comment">/* on instantiation SmsManager will get the account ready and prepare all </span>
<a name="l00005"></a>00005 <span class="comment">     * async operations to make it work properly */</span>
<a name="l00006"></a>00006     <a class="code" href="classSmsManager.html#a60b1eaa3837d4ad0651230468dd12fd1">SmsManager</a>(<span class="keyword">const</span> QString &amp;accountObjectPath = 
<a name="l00007"></a>00007         [DEFAULT_SMS_ACCOUNT_PATH]);
<a name="l00008"></a>00008 
<a name="l00009"></a>00009     <span class="comment">/* if sendTextMessage is called and the account is not ready yet, it will </span>
<a name="l00010"></a>00010 <span class="comment">     * make the account ready and then send the message. The returned </span>
<a name="l00011"></a>00011 <span class="comment">     * PendingOperation will finish when the account is ready (or fail) and </span>
<a name="l00012"></a>00012 <span class="comment">     * the message is sent (or fail) */</span>
<a name="l00013"></a>00013     PendingOperation *<a class="code" href="classSmsManager.html#a339b58399358a907e89563fe6363a172">sendTextMessage</a>(<span class="keyword">const</span> QString &amp;phoneNumber,
<a name="l00014"></a>00014         <span class="keyword">const</span> QString &amp;message);
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 Q_SIGNALS:
<a name="l00017"></a>00017     <span class="keywordtype">void</span> <a class="code" href="classSmsManager.html#a4c33ee8d731d33310fde0bfc8231cdb6">textMessageReceived</a>(<span class="keyword">const</span> QString &amp;phoneNumber,
<a name="l00018"></a>00018         <span class="keyword">const</span> QDateTime &amp;timestamp, <span class="keyword">const</span> QString &amp;message);
<a name="l00019"></a>00019 };
</pre></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>