123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <title>QS60Telephony: qs60telephony.h Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javaScript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
- </head>
- <body onload='searchBox.OnSelectItem(0);'>
- <!-- Generated by Doxygen 1.7.1 -->
- <script type="text/javascript"><!--
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- --></script>
- <div class="navigation" id="top">
- <div class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li id="searchli">
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- </ul>
- </div>
- <div class="header">
- <div class="headertitle">
- <h1>qs60telephony.h</h1> </div>
- </div>
- <div class="contents">
- <div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef QS60TELEPHONY_H</span>
- <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define QS60TELEPHONY_H</span>
- <a name="l00003"></a>00003 <span class="preprocessor"></span>
- <a name="l00004"></a>00004 <span class="comment">// INCLUDES</span>
- <a name="l00005"></a>00005 <span class="preprocessor">#include <QObject></span>
- <a name="l00006"></a>00006 <span class="preprocessor">#include "telephony_global.h"</span>
- <a name="l00007"></a>00007
- <a name="l00008"></a>00008 <span class="comment">// FORWARD DECLARATIONS</span>
- <a name="l00009"></a>00009 <span class="keyword">class </span><a class="code" href="class_q_s60_telephony_private.html">QS60TelephonyPrivate</a>;
- <a name="l00010"></a>00010
- <a name="l00011"></a>00011 <span class="comment">// CLASS DECLARATION</span>
- <a name="l00012"></a><a class="code" href="class_q_s60_telephony.html">00012</a> <span class="keyword">class </span><a class="code" href="class_q_s60_telephony.html" title="The QS60Telephony class can be used for establishing circuit switched calls and monitoring the status...">QS60Telephony</a> : <span class="keyword">public</span> QObject
- <a name="l00013"></a>00013 {
- <a name="l00014"></a>00014 Q_OBJECT
- <a name="l00015"></a>00015 Q_DECLARE_PRIVATE(<a class="code" href="class_q_s60_telephony.html" title="The QS60Telephony class can be used for establishing circuit switched calls and monitoring the status...">QS60Telephony</a>)
- <a name="l00016"></a>00016 Q_ENUMS(<a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2">LineStatus</a>)
- <a name="l00017"></a>00017 Q_ENUMS(<a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396">Error</a>)
- <a name="l00018"></a>00018 Q_CLASSINFO(<span class="stringliteral">"Author"</span>, <span class="stringliteral">"Sebastiano Galazzo"</span>)
- <a name="l00019"></a>00019 Q_CLASSINFO(<span class="stringliteral">"Email"</span>, <span class="stringliteral">"sebastiano.galazzo@gmail.com"</span>)
- <a name="l00020"></a>00020
- <a name="l00021"></a>00021 <span class="keyword">public</span>:
- <a name="l00022"></a><a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396">00022</a> <span class="keyword">enum</span> <a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396">Error</a> {
- <a name="l00023"></a><a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396a4bd8c4063d25af2e9f58f7604feeab4b">00023</a> <a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396a4bd8c4063d25af2e9f58f7604feeab4b">NoError</a> = 0,
- <a name="l00024"></a><a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396aa72cc1b574fd2a4fbfe403e8e73d986b">00024</a> OutOfMemoryError,
- <a name="l00025"></a>00025 AccessDeniedError,
- <a name="l00026"></a>00026 TimedOutError,
- <a name="l00027"></a><a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396a5b8b3e5d177b6e3dc4196d05822a25b2">00027</a> <a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396a5b8b3e5d177b6e3dc4196d05822a25b2">UnknownError</a> = -1
- <a name="l00028"></a>00028 };
- <a name="l00029"></a>00029
- <a name="l00030"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2">00030</a> <span class="keyword">enum</span> <a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2">LineStatus</a> {
- <a name="l00031"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a072e554d3bf1426aaab0449a63215fb5">00031</a> StatusUnknown,
- <a name="l00032"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a0a0151435ffd52b6eb58909b82fe74dd">00032</a> StatusIdle,
- <a name="l00033"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2afcf73ac8b9c94d5fbb35b7f4d56fcd4b">00033</a> StatusDialling,
- <a name="l00034"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a5697cbc236dfbb034e5253f4275934eb">00034</a> StatusRinging,
- <a name="l00035"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2ace3007b43d30e775018e5c745baa3b09">00035</a> StatusAnswering,
- <a name="l00036"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a2e0eec1bb3df95d3aa239c1fa2a284b3">00036</a> StatusConnecting,
- <a name="l00037"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a4bdd9b6ba80641da6adef66028da7bf7">00037</a> StatusConnected,
- <a name="l00038"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2adc1d2ea7d6a098e5e57aaaadc92eb626">00038</a> StatusReconnectPending,
- <a name="l00039"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a2af930790d7a8f871dd326020962da2b">00039</a> StatusDisconnecting,
- <a name="l00040"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a6edb7c5f6aba1e54dbbefc7109a692ab">00040</a> StatusHold,
- <a name="l00041"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a3fea17607f5497e2dc771a9a75d75944">00041</a> StatusTransferring,
- <a name="l00042"></a><a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a4bd0fc666d146502788cbe00b0e4104b">00042</a> <a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2a4bd0fc666d146502788cbe00b0e4104b">StatusTransferAlerting</a>
- <a name="l00043"></a>00043 };
- <a name="l00044"></a>00044
- <a name="l00045"></a>00045 <span class="keyword">explicit</span> <a class="code" href="class_q_s60_telephony.html#a492aae2ecd06558be374baff3fa67744">QS60Telephony</a>(QObject* parent = 0);
- <a name="l00046"></a>00046 <a class="code" href="class_q_s60_telephony.html#a86d95e7e5f155a931121d6ea7df146d8">~QS60Telephony</a>();
- <a name="l00047"></a>00047
- <a name="l00051"></a>00051 Q_INVOKABLE QString <a class="code" href="class_q_s60_telephony.html#a95da5e5269bf7b007bbc9beec686fa28" title="Read the IMEI Code.">IMEI</a>();
- <a name="l00052"></a>00052
- <a name="l00053"></a>00053 Q_INVOKABLE <a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396">QS60Telephony::Error</a> <a class="code" href="class_q_s60_telephony.html#a8fcbaba3e2f21b7bff10429241b150f9">error</a>() <span class="keyword">const</span>;
- <a name="l00054"></a>00054
- <a name="l00055"></a>00055 <span class="keyword">public</span> slots:
- <a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#a6323bd94e6324ff43be82da1adab2987" title="Make a phone call.">call</a>(<span class="keyword">const</span> QString& phoneNumber);
- <a name="l00061"></a>00061
- <a name="l00065"></a>00065 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#aeecf870fe1c4efa8fdbc744abd78bdee" title="Answer incoming call.">answerIncomingCall</a>();
- <a name="l00066"></a>00066
- <a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#a0b9b9863bed9a162fa0bc35b78783999" title="Terminate a call.">terminateCall</a>();
- <a name="l00071"></a>00071
- <a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#a381ae0aee00449a1b6274b903f4335aa" title="Reject a call.">rejectCall</a>();
- <a name="l00076"></a>00076 <span class="preprocessor">#ifdef RECENT_CALLS</span>
- <a name="l00077"></a>00077 <span class="preprocessor"></span> <span class="keywordtype">void</span> recentCalls();
- <a name="l00078"></a>00078 <span class="preprocessor">#endif</span>
- <a name="l00079"></a>00079 <span class="preprocessor"></span> <span class="keywordtype">bool</span> <a class="code" href="class_q_s60_telephony.html#a072ff54336b22721ed2421610423a501">startMonitoringLine</a>();
- <a name="l00080"></a>00080 <span class="keywordtype">void</span> toBackground();
- <a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#a22f113d831c682b9374ee8fc3c415372">stopMonitoringLine</a>();
- <a name="l00082"></a>00082 <span class="keywordtype">void</span> showOnTop();
- <a name="l00083"></a>00083 <span class="keywordtype">void</span> showNormal();
- <a name="l00084"></a>00084
- <a name="l00085"></a>00085 <span class="keyword">private</span> slots:
- <a name="l00086"></a>00086 <span class="keywordtype">void</span> showOnTopDelayed();
- <a name="l00087"></a>00087
- <a name="l00088"></a>00088 signals:
- <a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#ab3aa77f80f5c05a1cb21f99c6b79bced">lineStatusChanged</a>(<a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2">QS60Telephony::LineStatus</a> status, QString number);
- <a name="l00090"></a>00090 <span class="keywordtype">void</span> <a class="code" href="class_q_s60_telephony.html#a8fcbaba3e2f21b7bff10429241b150f9">error</a>(<a class="code" href="class_q_s60_telephony.html#a6b55f3dcb9e6db4d983885fbd7f7d396">QS60Telephony::Error</a> <a class="code" href="class_q_s60_telephony.html#a8fcbaba3e2f21b7bff10429241b150f9">error</a>);
- <a name="l00091"></a>00091 <span class="keywordtype">void</span> answered();
- <a name="l00092"></a>00092 <span class="keywordtype">void</span> terminated();
- <a name="l00093"></a>00093
- <a name="l00094"></a>00094 <span class="keyword">private</span>:
- <a name="l00095"></a>00095 <a class="code" href="class_q_s60_telephony.html#ad3b8df9c910b9d18474a6580a8f869f2">LineStatus</a> cStatus;
- <a name="l00096"></a>00096
- <a name="l00097"></a>00097 <span class="keyword">private</span>:
- <a name="l00098"></a>00098 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_q_s60_telephony_private.html">QS60TelephonyPrivate</a>;
- <a name="l00099"></a>00099 <a class="code" href="class_q_s60_telephony_private.html">QS60TelephonyPrivate</a>* d;
- <a name="l00100"></a>00100 };
- <a name="l00101"></a>00101
- <a name="l00102"></a>00102 <span class="preprocessor">#endif // QS60TELEPHONY_H</span>
- <a name="l00103"></a>00103 <span class="preprocessor"></span>
- <a name="l00104"></a>00104 <span class="comment">// End of file</span>
- </pre></div></div>
- </div>
- <!--- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Enumerator</a></div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <hr class="footer"/><address class="footer"><small>Generated on Thu Apr 12 2012 16:57:29 for QS60Telephony by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
- </body>
- </html>
|