/usr/share/qt5/doc/qtcontacts/qcontactaction.html is in qtpim5-doc-html 5.0~git20140515~29475884-0ubuntu24~7.
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 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 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactaction.cpp -->
<title>QContactAction Class | Qt 5.0</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.0</td><td >QContactAction</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.0.0 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QContactAction Class</h1>
<!-- $$$QContactAction-brief -->
<p>The <a href="qcontactaction.html">QContactAction</a> class provides an interface for performing an action on a <a href="qcontact.html">QContact</a> or <a href="qcontactdetail.html">QContactDetail</a>. <a href="#details">More...</a></p>
<!-- @@@QContactAction -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QContactAction></span>
</td></tr></table></div><ul>
<li><a href="qcontactaction-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#State-enum">State</a></b> { InactiveState, FinishedDetachedState, ActiveState, FinishedState, FinishedWithErrorState }</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#dtor.QContactAction">~QContactAction</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#invokeAction">invokeAction</a></b>(const QList<QContactActionTarget> &<i>targets</i>, const QVariantMap &<i>parameters</i> = QVariantMap()) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#invokeAction-1">invokeAction</a></b>(const QContactActionTarget &<i>target</i>, const QVariantMap &<i>parameters</i> = QVariantMap())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#invokeAction-2">invokeAction</a></b>(const QContact &<i>contact</i>, const QContactDetail &<i>detail</i> = QContactDetail(), const QVariantMap &<i>parameters</i> = QVariantMap())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVariantMap </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#results">results</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual State </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#state">state</a></b>() const = 0</td></tr>
</table></div>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#resultsAvailable">resultsAvailable</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#stateChanged">stateChanged</a></b>(QContactAction::State <i>newState</i>)</td></tr>
</table></div>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionCall">ActionCall</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionChat">ActionChat</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionEmail">ActionEmail</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionMms">ActionMms</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionOpenInEditor">ActionOpenInEditor</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionOpenInViewer">ActionOpenInViewer</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionSms">ActionSms</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#ActionVideoCall">ActionVideoCall</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactAction *</td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#action">action</a></b>(const QContactActionDescriptor &<i>descriptor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList<QContactActionDescriptor> </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a></b>(const QString &<i>actionName</i> = QString())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qcontactaction.html#availableActions">availableActions</a></b>(const QString &<i>serviceName</i> = QString())</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QContactAction-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcontactaction.html">QContactAction</a> class provides an interface for performing an action on a <a href="qcontact.html">QContact</a> or <a href="qcontactdetail.html">QContactDetail</a>.</p>
<p>An action is anything that can be performed on a contact, or a detail of a contact. An example of an action might be "Send Email" or "Dial" or "Plot Navigation Route". One action may be implemented by multiple vendors, and indeed one vendor may provide multiple implementations of the same action. The name of an action identifies its semantics, while its implementation version distinguishes it from other implementations of the action by the same vendor.</p>
<p>Invocation of an action is asynchronous; at some stage after calling <a href="qcontactaction.html#invokeAction">invokeAction</a>() the action instance will emit the <a href="qcontactaction.html#stateChanged">stateChanged</a>() signal. Any results of the action may be retrieved by calling <a href="qcontactaction.html#results">results</a>(), and as results become available the action will emit <a href="qcontactaction.html#resultsAvailable">resultsAvailable</a>().</p>
<p>Each instance of a <a href="qcontactaction.html">QContactAction</a> is created by a <a href="qcontactactionfactory.html">QContactActionFactory</a> when <a href="qcontactaction.html#action">QContactAction::action</a>() is called; the caller takes ownership of the action instance. Each action is uniquely described by a <a href="qcontactactiondescriptor.html">QContactActionDescriptor</a>, which is passed to the <a href="qcontactaction.html#action">QContactAction::action</a>() function to instantiate an action.</p>
</div>
<p><b>See also </b><a href="qcontactactionfactory.html">QContactActionFactory</a> and <a href="qcontactactionfilter.html">QContactActionFilter</a>.</p>
<!-- @@@QContactAction -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$State$$$InactiveState$$$ActiveState$$$FinishedState$$$FinishedDetachedState$$$FinishedWithErrorState -->
<h3 class="fn" id="State-enum"><a name="State-enum"></a>enum QContactAction::<span class="name">State</span></h3>
<p>Describes the current status of the asynchronous action operation</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QContactAction::InactiveState</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The operation has not yet been initiated</td></tr>
<tr><td class="topAlign"><code>QContactAction::FinishedDetachedState</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The operation was initiated but no further information is or will be available</td></tr>
<tr><td class="topAlign"><code>QContactAction::ActiveState</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The operation was initiated and is not yet finished</td></tr>
<tr><td class="topAlign"><code>QContactAction::FinishedState</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The operation successfully completed</td></tr>
<tr><td class="topAlign"><code>QContactAction::FinishedWithErrorState</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The operation has finished, but an error occurred</td></tr>
</table></div>
<!-- @@@State -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QContactAction[overload1]$$$~QContactAction -->
<h3 class="fn" id="dtor.QContactAction"><a name="dtor.QContactAction"></a><code>[pure virtual] </code>QContactAction::<span class="name">~QContactAction</span>()</h3>
<p>Clears any memory in use by this instance of the action implementation</p>
<!-- @@@~QContactAction -->
<!-- $$$ActionCall[overload1]$$$ActionCall -->
<h3 class="fn" id="ActionCall"><a name="ActionCall"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionCall</span>()</h3>
<p>The name of the default call action. Actions of this name will allow the client to call the specified action target (contact or detail of a contact).</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionCall -->
<!-- $$$ActionChat[overload1]$$$ActionChat -->
<h3 class="fn" id="ActionChat"><a name="ActionChat"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionChat</span>()</h3>
<p>The name of the default IM chat action. Actions of this name will allow the client to begin an IM chat session with the specified action target.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionChat -->
<!-- $$$ActionEmail[overload1]$$$ActionEmail -->
<h3 class="fn" id="ActionEmail"><a name="ActionEmail"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionEmail</span>()</h3>
<p>The name of the default send email action. Actions of this name will either open a graphical element which allows the client to send the specified action target an email, or directly send the specified action target an email if the correct parameters to invocation are specified.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionEmail -->
<!-- $$$ActionMms[overload1]$$$ActionMms -->
<h3 class="fn" id="ActionMms"><a name="ActionMms"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionMms</span>()</h3>
<p>The name of the default send mms action. Actions of this name will allow the client to send the specified action target an mms.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionMms -->
<!-- $$$ActionOpenInEditor[overload1]$$$ActionOpenInEditor -->
<h3 class="fn" id="ActionOpenInEditor"><a name="ActionOpenInEditor"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionOpenInEditor</span>()</h3>
<p>The name of the default "edit contact" action. Actions of this name will open a graphical element which allows the user to edit the contact.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionOpenInEditor -->
<!-- $$$ActionOpenInViewer[overload1]$$$ActionOpenInViewer -->
<h3 class="fn" id="ActionOpenInViewer"><a name="ActionOpenInViewer"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionOpenInViewer</span>()</h3>
<p>The name of the default view contact action. Actions of this name will open a graphical element which allows the user to view the contact.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionOpenInViewer -->
<!-- $$$ActionSms[overload1]$$$ActionSms -->
<h3 class="fn" id="ActionSms"><a name="ActionSms"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionSms</span>()</h3>
<p>The name of the default send sms action. Actions of this name will allow the client to send the specified action target an sms.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionSms -->
<!-- $$$ActionVideoCall[overload1]$$$ActionVideoCall -->
<h3 class="fn" id="ActionVideoCall"><a name="ActionVideoCall"></a><code>[static] </code>const <span class="type">QString</span> QContactAction::<span class="name">ActionVideoCall</span>()</h3>
<p>The name of the default video call action. Actions of this name will allow clients to initiate a video call with the specified action target.</p>
<p><b>See also </b><a href="qcontactaction.html#actionDescriptors">actionDescriptors</a>().</p>
<!-- @@@ActionVideoCall -->
<!-- $$$action[overload1]$$$actionconstQContactActionDescriptor& -->
<h3 class="fn" id="action"><a name="action"></a><code>[static] </code><span class="type"><a href="qcontactaction.html">QContactAction</a></span> *QContactAction::<span class="name">action</span>(const <span class="type"><a href="qcontactactiondescriptor.html">QContactActionDescriptor</a></span> &<i>descriptor</i>)</h3>
<p>Returns a pointer to a new instance of the action implementation identified by the given <i>descriptor</i>. The caller takes ownership of the action implementation and must delete it to avoid leaking memory. The caller is able to delete the action at any time, however doing so prior to when the action transitions to a finished state may have an undefined outcome depending on the implementation of the action.</p>
<!-- @@@action -->
<!-- $$$actionDescriptors[overload1]$$$actionDescriptorsconstQString& -->
<h3 class="fn" id="actionDescriptors"><a name="actionDescriptors"></a><code>[static] </code><span class="type">QList</span><<span class="type"><a href="qcontactactiondescriptor.html">QContactActionDescriptor</a></span>> QContactAction::<span class="name">actionDescriptors</span>(const <span class="type">QString</span> &<i>actionName</i> = QString())</h3>
<p>Returns a list of <a href="qcontactactiondescriptor.html">QContactActionDescriptor</a> instances which identified implementations of the given <i>actionName</i>. The action name may either be one of the default action names, or any other arbitrary string.</p>
<p>Example:</p>
<pre class="cpp">
<span class="type">QList</span><span class="operator"><</span><span class="type"><a href="qcontactactiondescriptor.html">QContactActionDescriptor</a></span><span class="operator">></span> availableCallActions <span class="operator">=</span> <span class="type"><a href="qcontactaction.html">QContactAction</a></span><span class="operator">::</span>actionDescriptors(<span class="type"><a href="qcontactaction.html">QContactAction</a></span><span class="operator">::</span>ActionCall());
</pre>
<p>Example 2:</p>
<pre class="cpp">
<span class="type">QList</span><span class="operator"><</span><span class="type"><a href="qcontactactiondescriptor.html">QContactActionDescriptor</a></span><span class="operator">></span> customActions <span class="operator">=</span> <span class="type"><a href="qcontactaction.html">QContactAction</a></span><span class="operator">::</span>actionDescriptors(<span class="type">QStringLiteral</span>(<span class="string">"customActionName"</span>));
</pre>
<p>The actions which are available depend on which action plugins have been installed. For more information on this topic (for example, if you are interested in providing an action plugin for third-party developers to use) please see the relevant documentation for <a href="contactsactions.html">action providers</a>.</p>
<!-- @@@actionDescriptors -->
<!-- $$$availableActions[overload1]$$$availableActionsconstQString& -->
<h3 class="fn" id="availableActions"><a name="availableActions"></a><code>[static] </code><span class="type">QStringList</span> QContactAction::<span class="name">availableActions</span>(const <span class="type">QString</span> &<i>serviceName</i> = QString())</h3>
<p>Returns a list of identifiers of the available actions which are provided by the service provider with the given <i>serviceName</i>. If <i>serviceName</i> is empty, actions from all service providers and of any implementation version are returned.</p>
<!-- @@@availableActions -->
<!-- $$$invokeAction[overload1]$$$invokeActionconstQList<QContactActionTarget>&constQVariantMap& -->
<h3 class="fn" id="invokeAction"><a name="invokeAction"></a><code>[pure virtual] </code><span class="type">bool</span> QContactAction::<span class="name">invokeAction</span>(const <span class="type">QList</span><<span class="type"><a href="qcontactactiontarget.html">QContactActionTarget</a></span>> &<i>targets</i>, const <span class="type">QVariantMap</span> &<i>parameters</i> = QVariantMap())</h3>
<p>This is an overloaded function.</p>
<p>Initiates the action on the specified list of <i>targets</i> with the optional supplied <i>parameters</i>.</p>
<p>At some point after invocation, one or more <a href="qcontactaction.html#resultsAvailable">resultsAvailable</a>() signals will be emitted by the action instance. The results of the action (if any) may be retrieved by calling <a href="qcontactaction.html#results">results</a>(). When the state of the action changes, the <a href="qcontactaction.html#stateChanged">stateChanged</a>() signal will be emitted.</p>
<p>Returns true if the action was invoked successfully, otherwise false. The return value says nothing about whether the action which was invoked was successful or not, only whether it was initiated or the request for it to be initiated was sent successfully (e.g., if the action is implemented as a one-way RPC call).</p>
<p><b>See also </b><a href="qcontactaction.html#results">results</a>() and <a href="qcontactaction.html#stateChanged">stateChanged</a>().</p>
<!-- @@@invokeAction -->
<!-- $$$invokeAction$$$invokeActionconstQContactActionTarget&constQVariantMap& -->
<h3 class="fn" id="invokeAction-1"><a name="invokeAction-1"></a><span class="type">bool</span> QContactAction::<span class="name">invokeAction</span>(const <span class="type"><a href="qcontactactiontarget.html">QContactActionTarget</a></span> &<i>target</i>, const <span class="type">QVariantMap</span> &<i>parameters</i> = QVariantMap())</h3>
<p>This is an overloaded function.</p>
<p>This is a convenience function,</p>
<p>Initiates the action on the specified <i>target</i> with the given <i>parameters</i> specified.</p>
<p><b>See also </b><a href="qcontactaction.html#results">results</a>() and <a href="qcontactaction.html#stateChanged">stateChanged</a>().</p>
<!-- @@@invokeAction -->
<!-- $$$invokeAction$$$invokeActionconstQContact&constQContactDetail&constQVariantMap& -->
<h3 class="fn" id="invokeAction-2"><a name="invokeAction-2"></a><span class="type">bool</span> QContactAction::<span class="name">invokeAction</span>(const <span class="type"><a href="qcontact.html">QContact</a></span> &<i>contact</i>, const <span class="type"><a href="qcontactdetail.html">QContactDetail</a></span> &<i>detail</i> = QContactDetail(), const <span class="type">QVariantMap</span> &<i>parameters</i> = QVariantMap())</h3>
<p>This is an overloaded function.</p>
<p>This is a convenience function.</p>
<p>Initiates the action on the specified <i>detail</i> of the given <i>contact</i>, or on the first eligible detail saved in the contact if the given <i>detail</i> is empty, with the given <i>parameters</i> specified.</p>
<p><b>See also </b><a href="qcontactaction.html#results">results</a>() and <a href="qcontactaction.html#stateChanged">stateChanged</a>().</p>
<!-- @@@invokeAction -->
<!-- $$$results[overload1]$$$results -->
<h3 class="fn" id="results"><a name="results"></a><code>[pure virtual] </code><span class="type">QVariantMap</span> QContactAction::<span class="name">results</span>() const</h3>
<p>Returns the result of the action, if any exists. Calling this function prior to receiving the <a href="qcontactaction.html#resultsAvailable">resultsAvailable</a>() signal will not return a meaningful result.</p>
<!-- @@@results -->
<!-- $$$resultsAvailable[overload1]$$$resultsAvailable -->
<h3 class="fn" id="resultsAvailable"><a name="resultsAvailable"></a><code>[signal] </code><span class="type">void</span> QContactAction::<span class="name">resultsAvailable</span>()</h3>
<p>This signal is emitted by an action instance whose functionality has been initiated with <a href="qcontactaction.html#invokeAction">invokeAction</a>() when results of the action are available. Not all actions will have results, and these actions will not emit the resultsAvailable() signal.</p>
<p>If the action implementation is incapable of reporting results of the operation (for example, the action is implemented via a one-way IPC call) it should transition to the <code>QContactAction::FinishedDetachedState</code> state immediately upon invocation.</p>
<!-- @@@resultsAvailable -->
<!-- $$$state[overload1]$$$state -->
<h3 class="fn" id="state"><a name="state"></a><code>[pure virtual] </code><span class="type"><a href="qcontactaction.html#State-enum">State</a></span> QContactAction::<span class="name">state</span>() const</h3>
<p>Returns the current state of the action.</p>
<p><b>See also </b><a href="qcontactaction.html#stateChanged">stateChanged</a>().</p>
<!-- @@@state -->
<!-- $$$stateChanged[overload1]$$$stateChangedQContactAction::State -->
<h3 class="fn" id="stateChanged"><a name="stateChanged"></a><code>[signal] </code><span class="type">void</span> QContactAction::<span class="name">stateChanged</span>(<span class="type"><a href="qcontactaction.html#State-enum">QContactAction::State</a></span> <i>newState</i>)</h3>
<p>This signal is emitted when the state of an action changes to the given <i>newState</i>.</p>
<p><b>See also </b><a href="qcontactaction.html#state">state</a>().</p>
<!-- @@@stateChanged -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|