📄 filesystem.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/libraries/qtopia/storage.cpp:308 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>FileSystem Class</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>FileSystem Class Reference</h1><p>The FileSystem class describes a single mount point.<a href="#details">More...</a><p><tt>#include <<a href="storage-h.html">storage.h</a>></tt><p><a href="filesystem-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn>const QString & <a href="#disk"><b>disk</b></a> () const</div></li><li><div class=fn>const QString & <a href="#path"><b>path</b></a> () const</div></li><li><div class=fn>const QString & <a href="#name"><b>name</b></a> () const</div></li><li><div class=fn>const QString & <a href="#options"><b>options</b></a> () const</div></li><li><div class=fn>long <a href="#blockSize"><b>blockSize</b></a> () const</div></li><li><div class=fn>long <a href="#totalBlocks"><b>totalBlocks</b></a> () const</div></li><li><div class=fn>long <a href="#availBlocks"><b>availBlocks</b></a> () const</div></li><li><div class=fn>bool <a href="#isRemovable"><b>isRemovable</b></a> () const</div></li><li><div class=fn>bool <a href="#isWritable"><b>isWritable</b></a> () const</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2> The FileSystem class describes a single mount point.<p> This class simply returns information about a mount point, includingfile system name, mount point, human readable name, size informationand mount options information.<p> <p>See also <a href="storageinfo.html">StorageInfo</a> and <a href="qtopiaemb.html">Qtopia Classes</a>.<hr><h2>Member Function Documentation</h2><h3 class=fn>long <a name="availBlocks"></a>FileSystem::availBlocks () const</h3> Returns the number of available blocks on the file system<h3 class=fn>long <a name="blockSize"></a>FileSystem::blockSize () const</h3> Returns the size of each block on the file system.<h3 class=fn>const QString & <a name="disk"></a>FileSystem::disk () const</h3> Returns the file system name, such as /dev/hda3<h3 class=fn>bool <a name="isRemovable"></a>FileSystem::isRemovable () const</h3> Returns flag whether the file system can be removed, such as a CF cardwould be removable, but the internal memory wouldn't<h3 class=fn>bool <a name="isWritable"></a>FileSystem::isWritable () const</h3> Returns flag whether the file system is mounted as writable or read-only.Returns FALSE if read-only, TRUE if read and write.<h3 class=fn>const QString & <a name="name"></a>FileSystem::name () const</h3> Returns the translated, human readable name for the mount directory.<h3 class=fn>const QString & <a name="options"></a>FileSystem::options () const</h3> Returns the mount options<h3 class=fn>const QString & <a name="path"></a>FileSystem::path () const</h3> Returns the mount path, such as /home<h3 class=fn>long <a name="totalBlocks"></a>FileSystem::totalBlocks () const</h3> Returns the total number of blocks on the file system<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright © 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 © 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 + -