1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<!-- qorganizeritemmanagerenginefactory.cpp -->
7
<title>Qt Mobility 1.1: QOrganizerItemManagerEngineFactory Class Reference</title>
8
<link rel="stylesheet" type="text/css" href="style/style.css"
10
<meta name="MSSmartTagsPreventParsing" content="true">
11
<meta http-equiv="imagetoolbar" content="no">
14
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
17
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
20
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
22
<script src="scripts/jquery.js" type="text/javascript"></script>
23
<script src="scripts/functions.js" type="text/javascript"></script>
24
<script src="./scripts/superfish.js" type="text/javascript"></script>
25
<script src="./scripts/narrow.js" type="text/javascript"></script>
26
<link rel="stylesheet" type="text/css" href="style/superfish.css" /> <link rel="stylesheet" type="text/css" href="style/narrow.css" /></head>
27
<body class="" onload="CheckEmptyAndLoadList();">
28
<div class="header" id="qtdocheader">
31
<a href="index.html">Home</a></div>
32
<a href="index.html" class="qtref"><span>Qt Mobility Reference Documentation</span></a>
33
<div id="narrowsearch"><form onsubmit="return false;" action="" id="qtdocsearchTop">
35
<input type="text" value="" id="pageType2" name="searchstring"/>
38
<div id="nav-topright">
40
<li class="nav-topright-home"><a href="http://qt.nokia.com/">Qt HOME</a></li>
41
<li class="nav-topright-dev"><a href="http://developer.qt.nokia.com/">DEV</a></li>
42
<li class="nav-topright-labs"><a href="http://labs.qt.nokia.com/blogs/">LABS</a></li>
43
<li class="nav-topright-doc nav-topright-doc-active"><a href="http://doc.qt.nokia.com/">
45
<li class="nav-topright-blog"><a href="http://blog.qt.nokia.com/">BLOG</a></li>
50
<li class="shortCut-topleft-inactive"><span><a href="index.html">Mobility 1.1 BETA</a></span></li>
51
<li class="shortCut-topleft-active"><a href="http://doc.qt.nokia.com">ALL VERSIONS </a></li>
54
<ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu">
55
<li><a href="#">API Lookup</a>
57
<li><a href="classes.html">Class index</a></li>
58
<li><a href="functions.html">Function index</a></li>
59
<li><a href="modules.html">Modules</a></li>
62
<li><a href="#">Examples</a>
63
<ul id="topmenuexample">
64
<li><a href="all-examples.html">Examples</a></li>
74
<div class="bd group">
76
<div class="searchlabel">
79
<form id="qtdocsearch" action="" onsubmit="return false;">
81
<input type="text" name="searchstring" id="pageType" value="" />
85
<div class="box first bottombar" id="lookup">
86
<h2 title="API Lookup"><span></span>
88
<div id="list001" class="list">
90
<li class="defaultLink"><a href="classes.html">Class index</a></li>
91
<li class="defaultLink"><a href="functions.html">Function index</a></li>
92
<li class="defaultLink"><a href="modules.html">Modules</a></li>
93
<li class="defaultLink"><a href="index.html#platform-compatibility">Platform Compatibility</a></li>
94
<li class="defaultLink"><a href="qml-plugins.html">QML Plugins</a></li>
98
<div class="box bottombar" id="topics">
99
<h2 title="Qt Topics"><span></span>
101
<div id="list002" class="list">
103
<li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/">Qt 4.7</a></li>
104
<li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/qt-basic-concepts.html">Basic Qt architecture</a></li>
105
<li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/declarativeui.html">Device UI's & Qt Quick</a></li>
106
<li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/qt-gui-concepts.html">Desktop UI components</a></li>
107
<li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/platform-specific.html">Platform-specific info</a></li>
111
<div class="box" id="examples">
112
<h2 title="Examples"><span></span>
114
<div id="list003" class="list">
116
<li class="defaultLink"><a href="all-examples.html">Examples</a></li>
122
<div class="toolbar">
123
<div class="breadcrumb toolblock">
125
<li class="first"><a href="index.html">Home</a></li>
126
<!-- Bread crumbs goes here -->
127
<li><a href="modules.html">Modules</a></li> <li><a href="qtorganizer.html">QtOrganizer</a></li>
128
<li>QOrganizerItemManagerEngineFactory</li>
131
<div class="toolbuttons toolblock">
133
<li id="smallA" class="t_button">A</li>
134
<li id="medA" class="t_button active">A</li>
135
<li id="bigA" class="t_button">A</li>
136
<li id="print" class="t_button"><a href="javascript:this.print();">
137
<span>Print</span></a></li>
141
<div class="content">
145
<li class="level1"><a href="#public-functions">Public Functions</a></li>
146
<li class="level1"><a href="#details">Detailed Description</a></li>
149
<h1 class="title">QOrganizerItemManagerEngineFactory Class Reference</h1>
150
<p>The QOrganizerItemManagerEngineFactory class provides the interface for plugins that implement <a href="qorganizeritemmanagerengine.html">QOrganizerItemManagerEngine</a> functionality. <a href="#details">More...</a></p>
151
<pre class="highlightedCode brush: cpp"> #include <QOrganizerItemManagerEngineFactory></pre><ul>
152
<li><a href="qorganizeritemmanagerenginefactory-members.html">List of all members, including inherited members</a></li>
155
<a name="public-functions"></a>
156
<h2>Public Functions</h2>
157
<table class="alignedsummary">
158
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemmanagerenginefactory.html#dtor.QOrganizerItemManagerEngineFactory">~QOrganizerItemManagerEngineFactory</a></b> ()</td></tr>
159
<tr><td class="memItemLeft rightAlign topAlign"> virtual QOrganizerItemManagerEngine * </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemmanagerenginefactory.html#engine">engine</a></b> ( const QMap<QString, QString> & <i>parameters</i>, QOrganizerItemManager::Error * <i>error</i> ) = 0</td></tr>
160
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemmanagerenginefactory.html#managerName">managerName</a></b> () const = 0</td></tr>
161
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList<int> </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemmanagerenginefactory.html#supportedImplementationVersions">supportedImplementationVersions</a></b> () const</td></tr>
163
<a name="details"></a>
166
<h2>Detailed Description</h2>
167
<p>The QOrganizerItemManagerEngineFactory class provides the interface for plugins that implement <a href="qorganizeritemmanagerengine.html">QOrganizerItemManagerEngine</a> functionality.</p>
168
<p>This class provides a simple interface for the creation of manager engine instances. Each factory has a specific id associated with it, which forms the <tt>managerName</tt> parameter when creating <a href="qorganizeritemmanager.html">QOrganizerItemManager</a> objects.</p>
169
<p>More information on writing a organizeritems engine plugin is available in the <a href="organizerengines.html">Qt Organizer Manager Engines</a> documentation.</p>
171
<p>See also <a href="qorganizeritemmanager.html">QOrganizerItemManager</a> and <a href="qorganizeritemmanagerengine.html">QOrganizerItemManagerEngine</a>.</p>
174
<h2>Member Function Documentation</h2>
175
<h3 class="fn"><a name="dtor.QOrganizerItemManagerEngineFactory"></a>QOrganizerItemManagerEngineFactory::~QOrganizerItemManagerEngineFactory ()<tt> [virtual]</tt></h3>
176
<p>A default, empty destructor.</p>
177
<h3 class="fn"><a name="engine"></a><a href="qorganizeritemmanagerengine.html">QOrganizerItemManagerEngine</a> * QOrganizerItemManagerEngineFactory::engine ( const QMap<QString, QString> & <i>parameters</i>, <a href="qorganizeritemmanager.html#Error-enum">QOrganizerItemManager::Error</a> * <i>error</i> )<tt> [pure virtual]</tt></h3>
178
<p>This function is called by the <a href="qorganizeritemmanager.html">QOrganizerItemManager</a> implementation to create an instance of the engine provided by this factory.</p>
179
<p>The <i>parameters</i> supplied can be ignored or interpreted as desired.</p>
180
<p>If a supplied parameter results in an unfulfillable request, or some other error occurs, this function may return a null pointer, and the client developer will get an invalid <a href="qorganizeritemmanager.html">QOrganizerItemManager</a> in return. Any error should be stored in the supplied <i>error</i> reference.</p>
181
<h3 class="fn"><a name="managerName"></a>QString QOrganizerItemManagerEngineFactory::managerName () const<tt> [pure virtual]</tt></h3>
182
<p>This function should return a unique string that identifies the engines provided by this factory.</p>
183
<p>Typically this would be of the form "com.nokia.qt.organizeritems.engines.memory", with the appropriate domain and engine name substituted.</p>
184
<h3 class="fn"><a name="supportedImplementationVersions"></a>QList<int> QOrganizerItemManagerEngineFactory::supportedImplementationVersions () const<tt> [virtual]</tt></h3>
185
<p>This function should return a list of versions of the engine which this factory can instantiate.</p>
188
<div class="feedback t_button">
189
[+] Documentation Feedback</div>
199
<acronym title="Copyright">©</acronym> 2008-2010 Nokia Corporation and/or its
200
subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation
201
in Finland and/or other countries worldwide.</p>
203
All other trademarks are property of their respective owners. <a title="Privacy Policy"
204
href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
206
<div id="feedbackBox">
207
<div id="feedcloseX" class="feedclose t_button">X</div>
208
<form id="feedform" action="http://doc.qt.nokia.com/docFeedbck/feedback.php" method="get">
209
<p id="noteHead">Thank you for giving your feedback.</p> <div class="note"><p>Make sure it is related to this specific page. For more general bugs and
210
requests, please use the <a href="http://bugreports.qt.nokia.com/secure/Dashboard.jspa">Qt Bug Tracker</a>.</p></div>
211
<p><textarea id="feedbox" name="feedText" rows="5" cols="40"></textarea></p>
212
<p><input id="feedsubmit" class="feedclose" type="submit" name="feedback" /></p>
218
<script src="scripts/functions.js" type="text/javascript"></script>