aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/doc/html/subscriberinterface_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextsubscriber/doc/html/subscriberinterface_8h_source.html')
-rw-r--r--libcontextsubscriber/doc/html/subscriberinterface_8h_source.html101
1 files changed, 101 insertions, 0 deletions
diff --git a/libcontextsubscriber/doc/html/subscriberinterface_8h_source.html b/libcontextsubscriber/doc/html/subscriberinterface_8h_source.html
new file mode 100644
index 00000000..71bffe50
--- /dev/null
+++ b/libcontextsubscriber/doc/html/subscriberinterface_8h_source.html
@@ -0,0 +1,101 @@
+<!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>libcontextsubscriber: subscriberinterface.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<!-- Generated by Doxygen 1.6.1 -->
+<div class="navigation" id="top">
+ <div class="tabs">
+ <ul>
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</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>
+ </ul>
+ </div>
+ <div class="tabs">
+ <ul>
+ <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+ <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
+ </ul>
+ </div>
+<h1>subscriberinterface.h</h1><a href="subscriberinterface_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
+<a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 2008, 2009 Nokia Corporation.</span>
+<a name="l00003"></a>00003 <span class="comment"> *</span>
+<a name="l00004"></a>00004 <span class="comment"> * Contact: Marius Vollmer &lt;marius.vollmer@nokia.com&gt;</span>
+<a name="l00005"></a>00005 <span class="comment"> *</span>
+<a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
+<a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the GNU Lesser General Public License</span>
+<a name="l00008"></a>00008 <span class="comment"> * version 2.1 as published by the Free Software Foundation.</span>
+<a name="l00009"></a>00009 <span class="comment"> *</span>
+<a name="l00010"></a>00010 <span class="comment"> * This library is distributed in the hope that it will be useful, but</span>
+<a name="l00011"></a>00011 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
+<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
+<a name="l00013"></a>00013 <span class="comment"> * Lesser General Public License for more details.</span>
+<a name="l00014"></a>00014 <span class="comment"> *</span>
+<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
+<a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
+<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA</span>
+<a name="l00018"></a>00018 <span class="comment"> * 02110-1301 USA</span>
+<a name="l00019"></a>00019 <span class="comment"> *</span>
+<a name="l00020"></a>00020 <span class="comment"> */</span>
+<a name="l00021"></a>00021
+<a name="l00022"></a>00022 <span class="preprocessor">#ifndef SUBSCRIBERINTERFACE_H</span>
+<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define SUBSCRIBERINTERFACE_H</span>
+<a name="l00024"></a>00024 <span class="preprocessor"></span>
+<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;QObject&gt;</span>
+<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;QMap&gt;</span>
+<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;QString&gt;</span>
+<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;QStringList&gt;</span>
+<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;QDBusAbstractInterface&gt;</span>
+<a name="l00030"></a>00030
+<a name="l00031"></a>00031 <span class="keyword">class </span>QDBusConnection;
+<a name="l00032"></a>00032 <span class="keyword">class </span>QDBusPendingCallWatcher;
+<a name="l00033"></a>00033
+<a name="l00034"></a>00034 <span class="keyword">namespace </span>ContextSubscriber {
+<a name="l00035"></a>00035
+<a name="l00036"></a><a class="code" href="class_context_subscriber_1_1_subscriber_interface.html">00036</a> <span class="keyword">class </span><a class="code" href="class_context_subscriber_1_1_subscriber_interface.html">SubscriberInterface</a> : <span class="keyword">public</span> QDBusAbstractInterface
+<a name="l00037"></a>00037 {
+<a name="l00038"></a>00038 Q_OBJECT
+<a name="l00039"></a>00039
+<a name="l00040"></a>00040 <span class="keyword">public</span>:
+<a name="l00041"></a>00041 <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a87e096c9a1ecfb1453d29722731fbb51" title="Constructs the SubscriberInterface.">SubscriberInterface</a>(<span class="keyword">const</span> QDBusConnection connection, <span class="keyword">const</span> QString&amp; busName,
+<a name="l00042"></a>00042 <span class="keyword">const</span> QString&amp; objectPath, QObject* parent = 0);
+<a name="l00043"></a>00043
+<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#ada9126ec7363321f97124a4edc6553ec" title="Calls the Subscribe function over DBus asynchronously.">subscribe</a>(QSet&lt;QString&gt; keys);
+<a name="l00045"></a>00045 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a4227c404be7915805dbab93e0704914d" title="Calls the Unsubscribe function over DBus asynchronously.">unsubscribe</a>(QSet&lt;QString&gt; keys);
+<a name="l00046"></a>00046
+<a name="l00047"></a>00047 signals:
+<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a960dc79d9b47fbbda16e6eed05826c5d">valuesChanged</a>(QMap&lt;QString, QVariant&gt; values);
+<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a1705fc2b48624313ef52f279ede97e5b">subscribeFinished</a>(QList&lt;QString&gt; keys);
+<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a0e99f03c74e942caed4a12013771a4d2">subscribeFailed</a>(QList&lt;QString&gt; keys, QString error);
+<a name="l00051"></a>00051 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#aaf5cbaccd8318fd13389b2da11b03e7c">Changed</a>(<span class="keyword">const</span> QMap&lt;QString, QVariant&gt; &amp;values, <span class="keyword">const</span> QStringList &amp;unknownKeys);
+<a name="l00052"></a>00052
+<a name="l00053"></a>00053 <span class="keyword">private</span> slots:
+<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a5405b720d8596ab0abbc2ce817a61b14" title="Is called when the asynchronous DBus call to Subscribe has finished.">onSubscribeFinished</a>(QDBusPendingCallWatcher* watcher);
+<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a20de105eef3bdd1de40708536a7f4238" title="Processes the results of the Changed signal which comes over DBus.">onChanged</a>(<span class="keyword">const</span> QMap&lt;QString, QVariant&gt; &amp;values, <span class="keyword">const</span> QStringList &amp;unknownKeys);
+<a name="l00056"></a>00056
+<a name="l00057"></a>00057 <span class="keyword">private</span>:
+<a name="l00058"></a>00058 <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a87e096c9a1ecfb1453d29722731fbb51" title="Constructs the SubscriberInterface.">SubscriberInterface</a>(<span class="keyword">const</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html">SubscriberInterface</a>&amp; other);
+<a name="l00059"></a>00059 <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html">SubscriberInterface</a>&amp; <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#aa9b18edfb5899e8884a1c3c7c7d5caff">operator=</a>(<span class="keyword">const</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html">SubscriberInterface</a>&amp; other);
+<a name="l00060"></a>00060 QMap&lt;QString, QVariant&gt;&amp; <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a913f90d59398e97fbb363c84b0d3c403" title="A helper function. Sets the values of given keys to a null QVariant in a QMap.">mergeNullsWithMap</a>(QMap&lt;QString, QVariant&gt; &amp;map, QStringList nulls) <span class="keyword">const</span>;
+<a name="l00061"></a>00061
+<a name="l00062"></a>00062 <span class="keyword">protected</span>:
+<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a1c7ee2c99941a60bc1a3d43aa794063b">connectNotify</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *signal);
+<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a9f726b29f65d7340ac2df345cf462c66">disconnectNotify</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *signal);
+<a name="l00065"></a>00065
+<a name="l00066"></a><a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a6ebfcf76e474281993e681afb15975c9">00066</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_context_subscriber_1_1_subscriber_interface.html#a6ebfcf76e474281993e681afb15975c9">interfaceName</a>;
+<a name="l00067"></a>00067 };
+<a name="l00068"></a>00068 } <span class="comment">// end namespace</span>
+<a name="l00069"></a>00069 <span class="preprocessor">#endif</span>
+</pre></div></div>
+<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Oct 19 14:21:01 2009 for libcontextsubscriber by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
+</body>
+</html>