⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syncapp-h.html

📁 qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人员可以用来资料查询.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/qtopiadesktop/include/interfaces/syncapp.h:1 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>syncapp.h Include File</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font>   <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top">  <table border="0" cellpadding="0" cellspacing="0" width="137">  <tr>  <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td>  <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td>  </tr>  </table></td></tr></table><h1 align=center>syncapp.h</h1><p>This is the verbatim text of the syncapp.h include file. It is provided only for illustration; the copyright remains with Trolltech.<hr><pre>/************************************************************************ Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.**** This file is part of the Qtopia Environment.**** Licensees holding valid Qtopia Developer license may use this** file in accordance with the Qtopia Developer License Agreement** provided with the Software.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING** THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR** PURPOSE.**** email sales@trolltech.com for information about Qtopia License** Agreements.**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.************************************************************************/#ifndef qd__syncappinterface_h#define qd__syncappinterface_h#include &lt;private/qcom_p.h&gt;#include &lt;qstring.h&gt;#include &lt;qcstring.h&gt;#include &lt;qvaluelist.h&gt;#include &lt;qmap.h&gt;#include &lt;qpair.h&gt;namespace MergeML { class Record; class Change; }struct CenterInterface;// {8F107712-ACFD-11D5-923F-009027BEB262}#ifndef IID_SyncAppInterface#define IID_SyncAppInterface QUuid( 0x8f107712, 0xacfd, 0x11d5, 0x92, 0x3f, 0x00, 0x90, 0x27, 0xbe, 0xb2, 0x62)#endifstruct SyncAppInterface : public QUnknownInterface{    virtual void start( CenterInterface* ) = 0;    enum MergeAction { AutoMerge, ManualMerge, Conflicting };    virtual MergeAction merge( const MergeML::Change &amp;rec1, const MergeML::Change &amp;rec2,			       QValueList&lt;MergeML::Change&gt; &amp;manualMergeOut ) = 0;    virtual bool mergeChangeChange() const = 0;    virtual void done() = 0;    virtual QValueList&lt;MergeML::Record&gt; load( const QString &amp;dataset,					    const QString &amp;filename ) const=0;    virtual void save( const QString &amp;dataset, const QString &amp;filename,		       const QValueList&lt;MergeML::Record&gt; &amp; ) = 0;    enum FileLocation { Settings, Application, InvalidFileLocation };    /** Returns empty string if dataSet is not supported for load or save    *   or the filename without a directory (such as "addressbook.xml")    */    virtual QPair&lt;QString,FileLocation&gt; fileForDataSet( const QString &amp;dataSet ) const = 0;    virtual QMap&lt;int, int&gt; uniqueness( const QString &amp;dataSet ) const = 0;    virtual QString keyName( const QString &amp;dataset, int key) const = 0;    virtual int key( const QString &amp;dataset, const QString &amp;keyString ) const = 0;    virtual QString palmtopApplicationName() const = 0;    virtual QString name() const = 0;};#define nullFileSet QPair&lt;QString,FileLocation&gt;(QString::null, SyncAppInterface::InvalidFileLocation)#endif</pre><!-- eof --><p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright &copy; 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -