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

📄 filesystemoperator.html

📁 qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人员可以用来资料查询.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="listSettings"></a>FileSystemOperator::listSettings ()</h3> <p> Retrieve a directory listing of the settings directory on the Qtopia device.<h3 class=fn>QString <a name="localBackupPath"></a>FileSystemOperator::localBackupPath ()<tt> [static]</tt></h3> <p> Returns the Qtopia Desktop "Backup" path (usually asubdirectory of <a href="#localCenterPath">localCenterPath</a>())<h3 class=fn>const QString &amp; <a name="localCenterPath"></a>FileSystemOperator::localCenterPath ()<tt> [static]</tt></h3>Returns the Qtopia Desktop data path (usually in the usershome directory).<h3 class=fn>QString <a name="localDocsPath"></a>FileSystemOperator::localDocsPath ( const&nbsp;QString&nbsp;&amp;&nbsp;mimetype ) const</h3> <p> Returns a the Qtopia Desktop path for documents of Mimetype <em>mimetype</em>.<h3 class=fn>QString <a name="localDocsRoot"></a>FileSystemOperator::localDocsRoot () const</h3> <p> Returns the Qtopia Desktop "Documents" path (usually <a href="#localCenterPath">localCenterPath</a>() + "/Documents".Documents that appear in the "document view" com  ponent are stored here.<h3 class=fn>void <a name="newTotalBytes"></a>FileSystemOperator::newTotalBytes ( int&nbsp;newTotal )<tt> [signal]</tt></h3><p> This signal is emitted when the total bytes expected changes to <em>newTotal</em>.<h3 class=fn>void <a name="pdaMessage"></a>FileSystemOperator::pdaMessage ( const&nbsp;QString&nbsp;&amp;&nbsp;call, const&nbsp;QByteArray&nbsp;&amp;&nbsp;params )<tt> [signal]</tt></h3> <p> This signal is emitted when a QCop message from the Qtopia device arrives.<em>call</em> is the method called, <em>params</em> a QByteArray of argument data.<h3 class=fn>void <a name="pdaVersionReceived"></a>FileSystemOperator::pdaVersionReceived ( int&nbsp;major, int&nbsp;minor, const&nbsp;QString&nbsp;&amp;&nbsp;arch )<tt> [signal]</tt></h3> <p> This signal is emitted when the FileSystemOperator was successfull retrieving theQtopia version of the Qtopia device. <em>major</em> is the major while<em>minor</em> is the minor Qtopia version number. <em>arch</em> is an identifierfor the device.<h3 class=fn>void <a name="progress"></a>FileSystemOperator::progress ( int&nbsp;bytesDone )<tt> [signal]</tt></h3> <p> This signal is emitted when the progress of the transfer currently beeing processed bythe FileSystemOperator changes. <em>bytesDone</em> is the number of bytes transfered.<h3 class=fn>void <a name="progressUpdate"></a>FileSystemOperator::progressUpdate ( int&nbsp;numBytesDone, int&nbsp;totalNumBytes, <a href="transferreceipt.html">TransferReceipt</a>&nbsp;*&nbsp;receipt )<tt> [signal]</tt></h3> <p> This signal is emitted when the progress of a transfer changes. <em>numBytesDone</em> is thenumber of bytes transfered, <em>totalNumBytes</em> the total number of bytes to transfer.<em>receipt</em> is a pointer to the <a href="transferreceipt.html">TransferReceipt</a> associated with this transfer.<h3 class=fn>QString <a name="remoteAppPath"></a>FileSystemOperator::remoteAppPath ( const&nbsp;QString&nbsp;&amp;&nbsp;app ) const</h3> <p> Returns the path on the Qtopia device used by Qtopia application <em>app</em>to store application data.<h3 class=fn>QString <a name="remoteAppRoot"></a>FileSystemOperator::remoteAppRoot () const</h3> <p> Returns the path on the Qtopia device used to store application data.<h3 class=fn>QString <a name="remoteDocURI"></a>FileSystemOperator::remoteDocURI ( const&nbsp;QString&nbsp;&amp;&nbsp;remoteFileName ) const</h3>Returns a URI ("ftp://...") referring to <em>remoteFileName</em> on the device."<h3 class=fn>QString <a name="remoteDocsPath"></a>FileSystemOperator::remoteDocsPath ( const&nbsp;QString&nbsp;&amp;&nbsp;mimeType ) const</h3> <p> Returns the path used by Qtopia to store documents of the Mimetype <em>mimeType</em>on the Qtopia device.<h3 class=fn>QString <a name="remoteDocsRoot"></a>FileSystemOperator::remoteDocsRoot () const</h3> <p> Returns the path used to store documents on the Qtopia device.<h3 class=fn>QString <a name="remoteSettingsPath"></a>FileSystemOperator::remoteSettingsPath () const</h3> <p> Returns the path used by Qtopia applications to store settings on Qtopia devices.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="removeAppData"></a>FileSystemOperator::removeAppData ( const&nbsp;QString&nbsp;&amp;&nbsp;app, const&nbsp;QString&nbsp;&amp;&nbsp;filename )</h3> <p> Removes the application <em>app</em> data and the settings file <em>filename</em> on the PDA and the desktop.<h3 class=fn>QPtrList&lt;TransferReceipt&gt; <a name="removeDocument"></a>FileSystemOperator::removeDocument ( QdDocLnk&nbsp;&amp;&nbsp;lnk )</h3>Remove both the .desktop file and document file for a given document link file <em>lnk</em>from the Qtopia device.<h3 class=fn><a href="transferreceipt.html">TransferReceipt</a>&nbsp;* <a name="removeDocument-2"></a>FileSystemOperator::removeDocument ( const&nbsp;QString&nbsp;&amp;&nbsp;docsRoot, const&nbsp;QString&nbsp;&amp;&nbsp;fname, const&nbsp;QString&nbsp;&amp;&nbsp;mime )</h3>Remove the document file <em>fname</em> form path <em>docsRoot</em> and of mimetype <em>mime</em> from theQtopia device.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="removeSetting"></a>FileSystemOperator::removeSetting ( const&nbsp;QString&nbsp;&amp;&nbsp;filename )</h3> <p> Remove file <em>filename</em> from the settings directory on the Qtopia device.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="retrieveAppData"></a>FileSystemOperator::retrieveAppData ( const&nbsp;QString&nbsp;&amp;&nbsp;app, const&nbsp;QString&nbsp;&amp;&nbsp;filename, uint&nbsp;size = 100, bool&nbsp;remoteChangesFile = TRUE )</h3> <p> Retrive application <em>app</em> file <em>filename</em> of size <em>size</em> from the Qtopia device.<p> <em>size</em> and <em>remoteChangesFile</em> are internal.<h3 class=fn><a href="transferreceipt.html">TransferReceipt</a>&nbsp;* <a name="retrieveDocument"></a>FileSystemOperator::retrieveDocument ( const&nbsp;QString&nbsp;&amp;&nbsp;docRoot, const&nbsp;QString&nbsp;&amp;&nbsp;filename, const&nbsp;QString&nbsp;&amp;&nbsp;mimeType, uint&nbsp;size = 1024, QString&nbsp;destDir = QString::null )</h3>Retrieve document file <em>filename</em> of mimetype <em>mimeType</em> of size <em>size</em>in document base directory <em>docRoot</em> from the Qtopia device and store it inlocal directory <em>destDir</em>.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="retrieveOther"></a>FileSystemOperator::retrieveOther ( const&nbsp;QString&nbsp;&amp;&nbsp;remoteFile, const&nbsp;QString&nbsp;&amp;&nbsp;localFile, uint&nbsp;size = 1024 )</h3>Retrieve the file <em>remoteFile</em> (absolute file path) from the Qtopia device and storeit in the local file <em>localFile</em> (absolute file path). The <em>size</em> argument is usedto display progress information. You can retrieve size information a priori by doing adirectory listing.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="retrieveSetting"></a>FileSystemOperator::retrieveSetting ( const&nbsp;QString&nbsp;&amp;&nbsp;filename, uint&nbsp;size = 100, bool&nbsp;remoteChangesFile = TRUE )</h3> <p> Retrieve settings file <em>filename</em> of size <em>size</em> from the Qtopia device.<p> <em>size</em> and <em>remoteChangesFile</em> are internal.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="sendAppData"></a>FileSystemOperator::sendAppData ( const&nbsp;QString&nbsp;&amp;&nbsp;app, const&nbsp;QString&nbsp;&amp;&nbsp;filename )</h3>Copy local application <em>app</em> data file <em>filename</em> to the appropriate applicationdata folder on the Qtopia device.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="sendAppData-2"></a>FileSystemOperator::sendAppData ( const&nbsp;QString&nbsp;&amp;&nbsp;app, const&nbsp;QString&nbsp;&amp;&nbsp;localFile, const&nbsp;QString&nbsp;&amp;&nbsp;filename )</h3>Copy local application <em>app</em> data file <em>localFile</em> (absolute file path) tofile <em>filename</em> in the appropriate application data folder on the Qtopia device.<h3 class=fn><a href="transferreceipt.html">TransferReceipt</a>&nbsp;* <a name="sendDocument"></a>FileSystemOperator::sendDocument ( const&nbsp;QdDocLnk&nbsp;&amp;&nbsp;lnk, bool&nbsp;link )</h3>Copy the local file pointed to by <em>lnk</em>to the Qtopia device. If <em>link</em> is TRUE, then it only sends the QdDocLnk file itself.If FALSE then it copyies the file pointed to by the link<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="sendOther"></a>FileSystemOperator::sendOther ( const&nbsp;QString&nbsp;&amp;&nbsp;localFile, const&nbsp;QString&nbsp;&amp;&nbsp;remoteFile )</h3>Copy local file <em>localFile</em> (absolute file path) to file <em>remoteFile</em> (absolutefile path) on the Qtopia device.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="sendSetting"></a>FileSystemOperator::sendSetting ( const&nbsp;QString&nbsp;&amp;&nbsp;filename )</h3> <p> Copy local settings file <em>filename</em> to the appropriate folder for settings fileson the Qtopia device.<h3 class=fn>QGuardedPtr&lt;TransferReceipt&gt; <a name="sendSetting-2"></a>FileSystemOperator::sendSetting ( const&nbsp;QString&nbsp;&amp;&nbsp;localFile, const&nbsp;QString&nbsp;&amp;&nbsp;filename )</h3> <p> Copy local file <em>localFile</em> (absolute path) to file \filename in theappropriate folder for settings files folder on the Qtopia device.<h3 class=fn>void <a name="setConnected"></a>FileSystemOperator::setConnected ()<tt> [slot]</tt></h3><p> Equivalent to <a href="#setConnectionEnabled">setConnectionEnabled</a>(TRUE).<h3 class=fn>void <a name="setConnectionEnabled"></a>FileSystemOperator::setConnectionEnabled ( bool&nbsp;v )<tt> [slot]</tt></h3>Sets if a connection is possible to <em>v</em>.This should be set to TRUE oncea physical PPP connection is established.<h3 class=fn>void <a name="setDisconnected"></a>FileSystemOperator::setDisconnected ()<tt> [slot]</tt></h3><p> Equivalent to <a href="#setConnectionEnabled">setConnectionEnabled</a>(FALSE).<h3 class=fn>void <a name="start"></a>FileSystemOperator::start ( int&nbsp;totalNumBytes )<tt> [signal]</tt></h3> <p> This signal is emitted when the FileSystemOperator starts to process a scheduled transferof <em>totalNumBytes</em> bytes.<h3 class=fn>void <a name="stop"></a>FileSystemOperator::stop ()<tt> [virtual]</tt></h3>Stop all pending file transfers and directory listings.<h3 class=fn>QString <a name="stripPath"></a>FileSystemOperator::stripPath ( const&nbsp;QString&nbsp;&amp;&nbsp;filePath )<tt> [static]</tt></h3>Returns the filename of the absolute file path <em>filePath</em>.<h3 class=fn>void <a name="successExecuting"></a>FileSystemOperator::successExecuting ( <a href="transferreceipt.html">TransferReceipt</a>&nbsp;*&nbsp;r )<tt> [signal]</tt></h3> <p> This signal is emitted when a scheduled transfer has successfully been completed.<em>r</em> is a pointer to the <a href="transferreceipt.html">TransferReceipt</a> associated with this transfer.<h3 class=fn>QString <a name="tempPath"></a>FileSystemOperator::tempPath ()<tt> [static]</tt></h3> <p> Returns a path used to store temporary files.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright &copy; 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<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 + -