This file is indexed.

/usr/share/qt5/doc/qtmultimedia/qcamera.html is in qtmultimedia5-doc-html 5.2.1-0ubuntu5.

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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcamera.cpp -->
  <title>QCamera Class | QtMultimedia 5.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li>Qt 5.2</li>
<li><a href="qtmultimedia-index.html">Qt Multimedia</a></li>
<li><a href="qtmultimedia-module.html">C++ Classes</a></li>
<li>QCamera</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</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>
<h1 class="title">QCamera Class</h1>
<!-- $$$QCamera-brief -->
<p>The QCamera class provides interface for system camera devices. <a href="#details">More...</a></p>
<!-- @@@QCamera -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include &lt;QCamera&gt;</span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += multimedia</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qmediaobject.html">QMediaObject</a>.</td></tr></table><ul>
<li><a href="qcamera-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#CaptureMode-enum">CaptureMode</a></b> { CaptureViewfinder, CaptureStillImage, CaptureVideo }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#CaptureMode-enum">CaptureModes</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#Error-enum">Error</a></b> { NoError, CameraError, InvalidRequestError, ServiceMissingError, NotSupportedFeatureError }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#LockChangeReason-enum">LockChangeReason</a></b> { UserRequest, LockAcquired, LockFailed, LockLost, LockTemporaryLost }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#LockStatus-enum">LockStatus</a></b> { Unlocked, Searching, Locked }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#LockType-enum">LockType</a></b> { NoLock, LockExposure, LockWhiteBalance, LockFocus }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#LockType-enum">LockTypes</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#State-enum">State</a></b> { UnloadedState, LoadedState, ActiveState }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#Status-enum">Status</a></b> { ActiveStatus, StartingStatus, StoppingStatus, StandbyStatus, ..., UnavailableStatus }</td></tr>
</table>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><a href="qcamera.html#captureMode-prop">captureMode</a></b> : QCamera::CaptureModes</li>
<li class="fn"><b><a href="qcamera.html#lockStatus-prop">lockStatus</a></b> : const QCamera::LockStatus</li>
<li class="fn"><b><a href="qcamera.html#state-prop">state</a></b> : const QCamera::State</li>
<li class="fn"><b><a href="qcamera.html#status-prop">status</a></b> : const QCamera::Status</li>
</ul>
<ul>
<li class="fn">1 property inherited from <a href="qmediaobject.html#properties">QMediaObject</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#QCamera">QCamera</a></b>(QObject *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#QCamera-2">QCamera</a></b>(const QByteArray &amp;<i> device</i>, QObject *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#dtor.QCamera">~QCamera</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> CaptureModes </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#captureMode-prop">captureMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Error </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#error">error</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#errorString">errorString</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCameraExposure * </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#exposure">exposure</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCameraFocus * </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#focus">focus</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCameraImageProcessing * </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#imageProcessing">imageProcessing</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#isCaptureModeSupported">isCaptureModeSupported</a></b>(CaptureModes<i> mode</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCamera::LockStatus </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#lockStatus-prop">lockStatus</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCamera::LockStatus </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#lockStatus-prop">lockStatus</a></b>(QCamera::LockType<i> lockType</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCamera::LockTypes </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#requestedLocks">requestedLocks</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#setViewfinder">setViewfinder</a></b>(QVideoWidget *<i> viewfinder</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#setViewfinder-2">setViewfinder</a></b>(QGraphicsVideoItem *<i> viewfinder</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#setViewfinder-3">setViewfinder</a></b>(QAbstractVideoSurface *<i> surface</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> State </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#state-prop">state</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Status </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#status-prop">status</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCamera::LockTypes </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#supportedLocks">supportedLocks</a></b>() const</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QMultimedia::AvailabilityStatus </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#availability">availability</a></b>() const</td></tr>
</table>
<ul>
<li class="fn">10 public functions inherited from <a href="qmediaobject.html#public-functions">QMediaObject</a></li>
</ul>
<a name="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#load">load</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#searchAndLock">searchAndLock</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#searchAndLock-2">searchAndLock</a></b>(QCamera::LockTypes<i> locks</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#captureMode-prop">setCaptureMode</a></b>(QCamera::CaptureModes<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#start">start</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#stop">stop</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#unload">unload</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#unlock">unlock</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#unlock-2">unlock</a></b>(QCamera::LockTypes<i> locks</i>)</td></tr>
</table>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#captureMode-prop">captureModeChanged</a></b>(QCamera::CaptureModes<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#error-2">error</a></b>(QCamera::Error<i> value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#lockFailed">lockFailed</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#lockStatus-prop">lockStatusChanged</a></b>(QCamera::LockStatus<i> status</i>, QCamera::LockChangeReason<i> reason</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#lockStatus-prop">lockStatusChanged</a></b>(QCamera::LockType<i> lock</i>, QCamera::LockStatus<i> status</i>, QCamera::LockChangeReason<i> reason</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#locked">locked</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#state-prop">stateChanged</a></b>(QCamera::State<i> state</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#status-prop">statusChanged</a></b>(QCamera::Status<i> status</i>)</td></tr>
</table>
<ul>
<li class="fn">6 signals inherited from <a href="qmediaobject.html#signals">QMediaObject</a></li>
</ul>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QByteArray&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#availableDevices">availableDevices</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcamera.html#deviceDescription">deviceDescription</a></b>(const QByteArray &amp;<i> device</i>)</td></tr>
</table>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">2 protected functions inherited from <a href="qmediaobject.html#protected-functions">QMediaObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QCamera-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QCamera class provides interface for system camera devices.</p>
<p>QCamera can be used with QVideoWidget for viewfinder display, <a href="qmediarecorder.html">QMediaRecorder</a> for video recording and <a href="qcameraimagecapture.html">QCameraImageCapture</a> for image taking.</p>
<p>See the <a href="cameraoverview.html">camera overview</a> for more information.</p>
<pre class="cpp"><span class="type"><a href="qmediaplayercontrol.html">QMediaPlayerControl</a></span> <span class="operator">*</span>control <span class="operator">=</span> qobject_cast<span class="operator">&lt;</span><span class="type"><a href="qmediaplayercontrol.html">QMediaPlayerControl</a></span> <span class="operator">*</span><span class="operator">&gt;</span>(
        mediaService<span class="operator">-</span><span class="operator">&gt;</span>requestControl(<span class="string">&quot;org.qt-project.qt.mediaplayercontrol/5.0&quot;</span>));</pre>
</div>
<!-- @@@QCamera -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$CaptureMode$$$CaptureViewfinder$$$CaptureStillImage$$$CaptureVideo -->
<h3 class="flags"><a name="CaptureMode-enum"></a>enum QCamera::<span class="name">CaptureMode</span><br/>flags QCamera::<span class="name">CaptureModes</span></h3>
<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"><tt>QCamera::CaptureViewfinder</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">Camera is only configured to display viewfinder.</td></tr>
<tr><td class="topAlign"><tt>QCamera::CaptureStillImage</tt></td><td class="topAlign"><tt>0x01</tt></td><td class="topAlign">Camera is configured for still frames capture.</td></tr>
<tr><td class="topAlign"><tt>QCamera::CaptureVideo</tt></td><td class="topAlign"><tt>0x02</tt></td><td class="topAlign">Camera is configured for video capture.</td></tr>
</table>
<p>The CaptureModes type is a typedef for <a href="">QFlags</a>&lt;CaptureMode&gt;. It stores an OR combination of CaptureMode values.</p>
<!-- @@@CaptureMode -->
<!-- $$$Error$$$NoError$$$CameraError$$$InvalidRequestError$$$ServiceMissingError$$$NotSupportedFeatureError -->
<h3 class="fn"><a name="Error-enum"></a>enum QCamera::<span class="name">Error</span></h3>
<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"><tt>QCamera::NoError</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No errors have occurred.</td></tr>
<tr><td class="topAlign"><tt>QCamera::CameraError</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">An error has occurred.</td></tr>
<tr><td class="topAlign"><tt>QCamera::InvalidRequestError</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">System resource doesn't support requested functionality.</td></tr>
<tr><td class="topAlign"><tt>QCamera::ServiceMissingError</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">No camera service available.</td></tr>
<tr><td class="topAlign"><tt>QCamera::NotSupportedFeatureError</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">The feature is not supported.</td></tr>
</table>
<!-- @@@Error -->
<!-- $$$LockChangeReason$$$UserRequest$$$LockAcquired$$$LockFailed$$$LockLost$$$LockTemporaryLost -->
<h3 class="fn"><a name="LockChangeReason-enum"></a>enum QCamera::<span class="name">LockChangeReason</span></h3>
<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"><tt>QCamera::UserRequest</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The lock status changed in result of user request, usually to unlock camera settings.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockAcquired</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The lock status successfuly changed to <a href="qcamera.html#LockStatus-enum">QCamera::Locked</a>.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockFailed</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">The camera failed to acquire the requested lock in result of autofocus failure, exposure out of supported range, etc.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockLost</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">The camera is not able to maintain the requested lock any more. Lock status is changed to <a href="qcamera.html#LockStatus-enum">QCamera::Unlocked</a>.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockTemporaryLost</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">The lock is lost, but the camera is working hard to reacquire it. This value may be used in continuous focusing mode, when the camera loses the focus, the focus lock state is changed to Qcamera::Searching with LockTemporaryLost reason.</td></tr>
</table>
<!-- @@@LockChangeReason -->
<!-- $$$LockStatus$$$Unlocked$$$Searching$$$Locked -->
<h3 class="fn"><a name="LockStatus-enum"></a>enum QCamera::<span class="name">LockStatus</span></h3>
<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"><tt>QCamera::Unlocked</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The application is not interested in camera settings value. The camera may keep this parameter without changes, this is common with camera focus, or adjust exposure and white balance constantly to keep the viewfinder image nice.</td></tr>
<tr><td class="topAlign"><tt>QCamera::Searching</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The application has requested the camera focus, exposure or white balance lock with <a href="qcamera.html#searchAndLock">QCamera::searchAndLock</a>(). This state indicates the camera is focusing or calculating exposure and white balance.</td></tr>
<tr><td class="topAlign"><tt>QCamera::Locked</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">The camera focus, exposure or white balance is locked. The camera is ready to capture, application may check the exposure parameters.</td></tr>
</table>
<p>The locked state usually means the requested parameter stays the same, except of the cases when the parameter is requested to be constantly updated. For example in continuous focusing mode, the focus is considered locked as long and the object is in focus, even while the actual focusing distance may be constantly changing.</p>
<!-- @@@LockStatus -->
<!-- $$$LockType$$$NoLock$$$LockExposure$$$LockWhiteBalance$$$LockFocus -->
<h3 class="flags"><a name="LockType-enum"></a>enum QCamera::<span class="name">LockType</span><br/>flags QCamera::<span class="name">LockTypes</span></h3>
<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"><tt>QCamera::NoLock</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockExposure</tt></td><td class="topAlign"><tt>0x01</tt></td><td class="topAlign">Lock camera exposure.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockWhiteBalance</tt></td><td class="topAlign"><tt>0x02</tt></td><td class="topAlign">Lock the white balance.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LockFocus</tt></td><td class="topAlign"><tt>0x04</tt></td><td class="topAlign">Lock camera focus.</td></tr>
</table>
<p>The LockTypes type is a typedef for <a href="">QFlags</a>&lt;LockType&gt;. It stores an OR combination of LockType values.</p>
<!-- @@@LockType -->
<!-- $$$State$$$UnloadedState$$$LoadedState$$$ActiveState -->
<h3 class="fn"><a name="State-enum"></a>enum QCamera::<span class="name">State</span></h3>
<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"><tt>QCamera::UnloadedState</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The initial camera state, with camera not loaded, the camera capabilities except of supported capture modes are unknown.</td></tr>
</table>
<p>While the supported settings are unknown in this state, it's allowed to set the camera capture settings like codec, resolution, or frame rate.</p>
<table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QCamera::LoadedState</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The camera is loaded and ready to be configured.</td></tr>
</table>
<p>In the Idle state it's allowed to query camera capabilities, set capture resolution, codecs, etc.</p>
<p>The viewfinder is not active in the loaded state.</p>
<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"><tt>QCamera::ActiveState</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">In the active state as soon as camera is started the viewfinder displays video frames and the camera is ready for capture.</td></tr>
</table>
<!-- @@@State -->
<!-- $$$Status$$$UnavailableStatus$$$UnloadedStatus$$$LoadingStatus$$$UnloadingStatus$$$LoadedStatus$$$StandbyStatus$$$StartingStatus$$$StoppingStatus$$$ActiveStatus -->
<h3 class="fn"><a name="Status-enum"></a>enum QCamera::<span class="name">Status</span></h3>
<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"><tt>QCamera::ActiveStatus</tt></td><td class="topAlign"><tt>8</tt></td><td class="topAlign">The camera has been started and can produce data. The viewfinder displays video frames in active state.</td></tr>
</table>
<p>Depending on backend, changing some camera settings like capture mode, codecs or resolution in <a href="qcamera.html#State-enum">ActiveState</a> may lead to changing the camera status to LoadedStatus and StartingStatus while the settings are applied and back to ActiveStatus when the camera is ready.</p>
<table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QCamera::StartingStatus</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">The camera is starting in result of state transition to <a href="qcamera.html#State-enum">QCamera::ActiveState</a>. The camera service is not ready to capture yet.</td></tr>
<tr><td class="topAlign"><tt>QCamera::StoppingStatus</tt></td><td class="topAlign"><tt>7</tt></td><td class="topAlign">The camera is stopping in result of state transition from <a href="qcamera.html#State-enum">QCamera::ActiveState</a> to <a href="qcamera.html#State-enum">QCamera::LoadedState</a> or <a href="qcamera.html#State-enum">QCamera::UnloadedState</a>.</td></tr>
<tr><td class="topAlign"><tt>QCamera::StandbyStatus</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">The camera is in the power saving standby mode. The camera may come to the standby mode after some time of inactivity in the <a href="qcamera.html#State-enum">QCamera::LoadedState</a> state.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LoadedStatus</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">The camera is loaded and ready to be configured. This status indicates the camera device is opened and it's possible to query for supported image and video capture settings, like resolution, framerate and codecs.</td></tr>
<tr><td class="topAlign"><tt>QCamera::LoadingStatus</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">The camera device loading in result of state transition from <a href="qcamera.html#State-enum">QCamera::UnloadedState</a> to <a href="qcamera.html#State-enum">QCamera::LoadedState</a> or <a href="qcamera.html#State-enum">QCamera::ActiveState</a>.</td></tr>
<tr><td class="topAlign"><tt>QCamera::UnloadingStatus</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">The camera device is unloading in result of state transition from <a href="qcamera.html#State-enum">QCamera::LoadedState</a> or <a href="qcamera.html#State-enum">QCamera::ActiveState</a> to <a href="qcamera.html#State-enum">QCamera::UnloadedState</a>.</td></tr>
<tr><td class="topAlign"><tt>QCamera::UnloadedStatus</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The initial camera status, with camera not loaded. The camera capabilities including supported capture settings may be unknown.</td></tr>
<tr><td class="topAlign"><tt>QCamera::UnavailableStatus</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The camera or camera backend is not available.</td></tr>
</table>
<!-- @@@Status -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$captureMode-prop$$$captureMode$$$setCaptureModeQCamera::CaptureModes$$$captureModeChangedQCamera::CaptureModes -->
<h3 class="fn"><a name="captureMode-prop"></a><span class="name">captureMode</span> : <span class="type"><a href="qcamera.html#CaptureMode-enum">QCamera::CaptureModes</a></span></h3>
<p>The type of media (video or still images), the camera is configured to capture.</p>
<p>It's allowed to change capture mode in any camera state, but if the camera is currently active, chaging capture mode is likely to lead to camera status chaged to <a href="qcamera.html#Status-enum">QCamera::LoadedStatus</a>, <a href="qcamera.html#Status-enum">QCamera::LoadingStatus</a>, and when the camera is ready to <a href="qcamera.html#Status-enum">QCamera::ActiveStatus</a>.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> CaptureModes </td><td class="memItemRight bottomAlign"><span class="name"><b>captureMode</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setCaptureMode</b></span>(QCamera::CaptureModes<i> mode</i>)</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>captureModeChanged</b></span>(QCamera::CaptureModes<i> mode</i>)</td></tr>
</table>
<!-- @@@captureMode -->
<!-- $$$lockStatus-prop$$$lockStatus$$$lockStatusQCamera::LockType$$$lockStatusChangedQCamera::LockStatusQCamera::LockChangeReason$$$lockStatusChangedQCamera::LockTypeQCamera::LockStatusQCamera::LockChangeReason -->
<h3 class="fn"><a name="lockStatus-prop"></a><span class="name">lockStatus</span> : const <span class="type"><a href="qcamera.html#LockStatus-enum">QCamera::LockStatus</a></span></h3>
<p>This property holds the overall status for all the requested camera locks.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QCamera::LockStatus </td><td class="memItemRight bottomAlign"><span class="name"><b>lockStatus</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> QCamera::LockStatus </td><td class="memItemRight bottomAlign"><span class="name"><b>lockStatus</b></span>(QCamera::LockType<i> lockType</i>) const</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>lockStatusChanged</b></span>(QCamera::LockStatus<i> status</i>, QCamera::LockChangeReason<i> reason</i>)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>lockStatusChanged</b></span>(QCamera::LockType<i> lock</i>, QCamera::LockStatus<i> status</i>, QCamera::LockChangeReason<i> reason</i>)</td></tr>
</table>
<!-- @@@lockStatus -->
<!-- $$$state-prop$$$state$$$stateChangedQCamera::State -->
<h3 class="fn"><a name="state-prop"></a><span class="name">state</span> : const <span class="type"><a href="qcamera.html#State-enum">QCamera::State</a></span></h3>
<p>This property holds the current state of the camera object.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> State </td><td class="memItemRight bottomAlign"><span class="name"><b>state</b></span>() const</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>stateChanged</b></span>(QCamera::State<i> state</i>)</td></tr>
</table>
<!-- @@@state -->
<!-- $$$status-prop$$$status$$$statusChangedQCamera::Status -->
<h3 class="fn"><a name="status-prop"></a><span class="name">status</span> : const <span class="type"><a href="qcamera.html#Status-enum">QCamera::Status</a></span></h3>
<p>This property holds the current status of the camera object.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Status </td><td class="memItemRight bottomAlign"><span class="name"><b>status</b></span>() const</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>statusChanged</b></span>(QCamera::Status<i> status</i>)</td></tr>
</table>
<!-- @@@status -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QCamera[overload1]$$$QCameraQObject* -->
<h3 class="fn"><a name="QCamera"></a>QCamera::<span class="name">QCamera</span>(<span class="type">QObject</span> *<i> parent</i> = 0)</h3>
<p>Construct a <a href="qcamera.html">QCamera</a> with a <i>parent</i>.</p>
<!-- @@@QCamera -->
<!-- $$$QCamera$$$QCameraconstQByteArray&QObject* -->
<h3 class="fn"><a name="QCamera-2"></a>QCamera::<span class="name">QCamera</span>(const <span class="type">QByteArray</span> &amp;<i> device</i>, <span class="type">QObject</span> *<i> parent</i> = 0)</h3>
<p>Construct a <a href="qcamera.html">QCamera</a> from device name <i>device</i> and <i>parent</i>.</p>
<!-- @@@QCamera -->
<!-- $$$~QCamera[overload1]$$$~QCamera -->
<h3 class="fn"><a name="dtor.QCamera"></a>QCamera::<span class="name">~QCamera</span>()</h3>
<p>Destroys the camera object.</p>
<!-- @@@~QCamera -->
<!-- $$$availability[overload1]$$$availability -->
<h3 class="fn"><a name="availability"></a><span class="type"><a href="qmultimedia.html#AvailabilityStatus-enum">QMultimedia::AvailabilityStatus</a></span> QCamera::<span class="name">availability</span>() const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmediaobject.html#availability">QMediaObject::availability</a>().</p>
<p>Returns the availability state of the camera service.</p>
<!-- @@@availability -->
<!-- $$$availableDevices[overload1]$$$availableDevices -->
<h3 class="fn"><a name="availableDevices"></a><span class="type">QList</span>&lt;<span class="type">QByteArray</span>&gt; QCamera::<span class="name">availableDevices</span>()<tt> [static]</tt></h3>
<p>Returns a list of camera device's available from the default service provider.</p>
<!-- @@@availableDevices -->
<!-- $$$deviceDescription[overload1]$$$deviceDescriptionconstQByteArray& -->
<h3 class="fn"><a name="deviceDescription"></a><span class="type">QString</span> QCamera::<span class="name">deviceDescription</span>(const <span class="type">QByteArray</span> &amp;<i> device</i>)<tt> [static]</tt></h3>
<p>Returns the description of the <i>device</i>.</p>
<!-- @@@deviceDescription -->
<!-- $$$error[overload1]$$$error -->
<h3 class="fn"><a name="error"></a><span class="type"><a href="qcamera.html#Error-enum">Error</a></span> QCamera::<span class="name">error</span>() const</h3>
<p>Returns the error state of the object.</p>
<!-- @@@error -->
<!-- $$$error$$$errorQCamera::Error -->
<h3 class="fn"><a name="error-2"></a><span class="type">void</span> QCamera::<span class="name">error</span>(<span class="type"><a href="qcamera.html#Error-enum">QCamera::Error</a></span><i> value</i>)<tt> [signal]</tt></h3>
<p>Signal emitted when error state changes to <i>value</i>.</p>
<!-- @@@error -->
<!-- $$$errorString[overload1]$$$errorString -->
<h3 class="fn"><a name="errorString"></a><span class="type">QString</span> QCamera::<span class="name">errorString</span>() const</h3>
<p>Returns a string describing a camera's error state.</p>
<!-- @@@errorString -->
<!-- $$$exposure[overload1]$$$exposure -->
<h3 class="fn"><a name="exposure"></a><span class="type"><a href="qcameraexposure.html">QCameraExposure</a></span> * QCamera::<span class="name">exposure</span>() const</h3>
<p>Returns the camera exposure control object.</p>
<!-- @@@exposure -->
<!-- $$$focus[overload1]$$$focus -->
<h3 class="fn"><a name="focus"></a><span class="type"><a href="qcamerafocus.html">QCameraFocus</a></span> * QCamera::<span class="name">focus</span>() const</h3>
<p>Returns the camera focus control object.</p>
<!-- @@@focus -->
<!-- $$$imageProcessing[overload1]$$$imageProcessing -->
<h3 class="fn"><a name="imageProcessing"></a><span class="type"><a href="qcameraimageprocessing.html">QCameraImageProcessing</a></span> * QCamera::<span class="name">imageProcessing</span>() const</h3>
<p>Returns the camera image processing control object.</p>
<!-- @@@imageProcessing -->
<!-- $$$isCaptureModeSupported[overload1]$$$isCaptureModeSupportedCaptureModes -->
<h3 class="fn"><a name="isCaptureModeSupported"></a><span class="type">bool</span> QCamera::<span class="name">isCaptureModeSupported</span>(<span class="type"><a href="qcamera.html#CaptureMode-enum">CaptureModes</a></span><i> mode</i>) const</h3>
<p>Returns true if the capture <i>mode</i> is suported.</p>
<!-- @@@isCaptureModeSupported -->
<!-- $$$load[overload1]$$$load -->
<h3 class="fn"><a name="load"></a><span class="type">void</span> QCamera::<span class="name">load</span>()<tt> [slot]</tt></h3>
<p>Open the camera device. The camera state is changed to <a href="qcamera.html#Status-enum">QCamera::LoadedStatus</a>.</p>
<p>It's not necessary to explcitly load the camera, unless unless the application have to read the supported camera settings and change the default depending on the camera capabilities.</p>
<p>In all the other cases it's possible to start the camera directly from unloaded state.</p>
<!-- @@@load -->
<!-- $$$lockFailed[overload1]$$$lockFailed -->
<h3 class="fn"><a name="lockFailed"></a><span class="type">void</span> QCamera::<span class="name">lockFailed</span>()<tt> [signal]</tt></h3>
<p>Signals locking of at least one requested camera settings failed.</p>
<!-- @@@lockFailed -->
<!-- $$$locked[overload1]$$$locked -->
<h3 class="fn"><a name="locked"></a><span class="type">void</span> QCamera::<span class="name">locked</span>()<tt> [signal]</tt></h3>
<p>Signals all the requested camera settings are locked.</p>
<!-- @@@locked -->
<!-- $$$requestedLocks[overload1]$$$requestedLocks -->
<h3 class="fn"><a name="requestedLocks"></a><span class="type"><a href="qcamera.html#LockType-enum">QCamera::LockTypes</a></span> QCamera::<span class="name">requestedLocks</span>() const</h3>
<p>Returns the requested lock types.</p>
<!-- @@@requestedLocks -->
<!-- $$$searchAndLock[overload1]$$$searchAndLock -->
<h3 class="fn"><a name="searchAndLock"></a><span class="type">void</span> QCamera::<span class="name">searchAndLock</span>()<tt> [slot]</tt></h3>
<p>Lock all the supported camera settings.</p>
<!-- @@@searchAndLock -->
<!-- $$$searchAndLock$$$searchAndLockQCamera::LockTypes -->
<h3 class="fn"><a name="searchAndLock-2"></a><span class="type">void</span> QCamera::<span class="name">searchAndLock</span>(<span class="type"><a href="qcamera.html#LockType-enum">QCamera::LockTypes</a></span><i> locks</i>)<tt> [slot]</tt></h3>
<p>Locks the camera settings with the requested <i>locks</i>, including focusing in the single autofocus mode, exposure and white balance if the exposure and white balance modes are not manual.</p>
<p>The camera settings are usually locked before taking one or multiple still images, in responce to the shutter button being half pressed.</p>
<p>The <a href="qcamera.html#locked">QCamera::locked</a>() signal is emitted when camera settings are successfully locked, otherwise <a href="qcamera.html#lockFailed">QCamera::lockFailed</a>() is emitted.</p>
<p><a href="qcamera.html">QCamera</a> also emits lockStatusChanged(<a href="qcamera.html#LockType-enum">QCamera::LockType</a>, <a href="qcamera.html#LockStatus-enum">QCamera::LockStatus</a>) on individual lock status changes and lockStatusChanged(<a href="qcamera.html#LockStatus-enum">QCamera::LockStatus</a>) signal on composite status changes.</p>
<p>Locking serves two roles: it initializes calculation of automatic parameter (focusing, calculating the correct exposure and white balance) and allows to keep some or all of those parameters during number of shots.</p>
<p>If the camera doesn't support keeping one of parameters between shots, the related lock state changes to <a href="qcamera.html#LockStatus-enum">QCamera::Unlocked</a>.</p>
<p>It's also acceptable to relock already locked settings, depending on the lock parameter this initiates new focusing, exposure or white balance calculation.</p>
<!-- @@@searchAndLock -->
<!-- $$$setViewfinder[overload1]$$$setViewfinderQVideoWidget* -->
<h3 class="fn"><a name="setViewfinder"></a><span class="type">void</span> QCamera::<span class="name">setViewfinder</span>(<span class="type">QVideoWidget</span> *<i> viewfinder</i>)</h3>
<p>Sets the QVideoWidget based camera <i>viewfinder</i>. The previously set viewfinder is detached.</p>
<!-- @@@setViewfinder -->
<!-- $$$setViewfinder$$$setViewfinderQGraphicsVideoItem* -->
<h3 class="fn"><a name="setViewfinder-2"></a><span class="type">void</span> QCamera::<span class="name">setViewfinder</span>(<span class="type">QGraphicsVideoItem</span> *<i> viewfinder</i>)</h3>
<p>Sets the QGraphicsVideoItem based camera <i>viewfinder</i>. The previously set viewfinder is detached.</p>
<!-- @@@setViewfinder -->
<!-- $$$setViewfinder$$$setViewfinderQAbstractVideoSurface* -->
<h3 class="fn"><a name="setViewfinder-3"></a><span class="type">void</span> QCamera::<span class="name">setViewfinder</span>(<span class="type"><a href="qabstractvideosurface.html">QAbstractVideoSurface</a></span> *<i> surface</i>)</h3>
<p>Sets a video <i>surface</i> as the viewfinder of a camera.</p>
<p>If a viewfinder has already been set on the camera the new surface will replace it.</p>
<!-- @@@setViewfinder -->
<!-- $$$start[overload1]$$$start -->
<h3 class="fn"><a name="start"></a><span class="type">void</span> QCamera::<span class="name">start</span>()<tt> [slot]</tt></h3>
<p>Starts the camera.</p>
<p>State is changed to <a href="qcamera.html#State-enum">QCamera::ActiveState</a> if camera is started successfully, otherwise <a href="qcamera.html#error">error</a>() signal is emitted.</p>
<p>While the camera state is changed to <a href="qcamera.html#State-enum">QCamera::ActiveState</a>, starting the camera service can be asynchronous with the actual status reported with <a href="qcamera.html#status-prop">QCamera::status</a> property.</p>
<!-- @@@start -->
<!-- $$$stop[overload1]$$$stop -->
<h3 class="fn"><a name="stop"></a><span class="type">void</span> QCamera::<span class="name">stop</span>()<tt> [slot]</tt></h3>
<p>Stops the camera. The camera state is changed from <a href="qcamera.html#State-enum">QCamera::ActiveState</a> to <a href="qcamera.html#State-enum">QCamera::LoadedState</a>.</p>
<!-- @@@stop -->
<!-- $$$supportedLocks[overload1]$$$supportedLocks -->
<h3 class="fn"><a name="supportedLocks"></a><span class="type"><a href="qcamera.html#LockType-enum">QCamera::LockTypes</a></span> QCamera::<span class="name">supportedLocks</span>() const</h3>
<p>Returns the lock types, camera supports.</p>
<!-- @@@supportedLocks -->
<!-- $$$unload[overload1]$$$unload -->
<h3 class="fn"><a name="unload"></a><span class="type">void</span> QCamera::<span class="name">unload</span>()<tt> [slot]</tt></h3>
<p>Close the camera device and deallocate the related resources. The camera state is changed to <a href="qcamera.html#Status-enum">QCamera::UnloadedStatus</a>.</p>
<!-- @@@unload -->
<!-- $$$unlock[overload1]$$$unlock -->
<h3 class="fn"><a name="unlock"></a><span class="type">void</span> QCamera::<span class="name">unlock</span>()<tt> [slot]</tt></h3>
<p>Unlock all the requested camera locks.</p>
<!-- @@@unlock -->
<!-- $$$unlock$$$unlockQCamera::LockTypes -->
<h3 class="fn"><a name="unlock-2"></a><span class="type">void</span> QCamera::<span class="name">unlock</span>(<span class="type"><a href="qcamera.html#LockType-enum">QCamera::LockTypes</a></span><i> locks</i>)<tt> [slot]</tt></h3>
<p>Unlocks the camera settings specified with <i>locks</i> or cancel the current locking if one is active.</p>
<!-- @@@unlock -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
   subsidiaries. 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>    Digia, Qt and their respective logos are trademarks of Digia Plc     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>