Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 1307

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KFile</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KFile</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 KFile is a class which provides a namespace for some enumerated
 values associated with the kfile library. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kfile_h.html">kfile.h</A>&gt;</code></TD></TR>
<TR><TH><A HREF="full-list-KFile.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Types</h4><ul><LI>enum <A HREF="#ref1">Mode</A> {	File         = 1,
	Directory    = 2,
	Files        = 4,
	ExistingOnly = 8,
	LocalOnly    = 16
    }
</LI>
<LI>enum <A HREF="#ref2">FileView</A> {	Default         = 0,
	Simple          = 1,
	Detail          = 2,
	SeparateDirs    = 4,
	PreviewContents = 8,
	PreviewInfo     = 16 
    }
</LI>
<LI>enum <A HREF="#ref3">SelectionMode</A> {	Single      = 1,
	Multi       = 2,
	Extended    = 4,
	NoSelection = 8
    }
</LI>
<LI>enum <A HREF="#ref4">SortMode</A> {	Increasing,
	Decreasing
    }
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  bool &nbsp;<b><A HREF="#ref5">isSortByName</A></b> ( const QDir::SortSpec& sort ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref6">isSortBySize</A></b> ( const QDir::SortSpec& sort ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref7">isSortByDate</A></b> ( const QDir::SortSpec& sort ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref8">isSortDirsFirst</A></b> ( const QDir::SortSpec& sort ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref9">isSortCaseInsensitive</A></b> ( const QDir::SortSpec& sort ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref10">isDefaultView</A></b> ( const FileView& view ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref11">isSimpleView</A></b> ( const FileView& view ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref12">isDetailView</A></b> ( const FileView& view ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref13">isSeparateDirs</A></b> ( const FileView& view ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref14">isPreviewContents</A></b> ( const FileView& view ) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 KFile is a class which provides a namespace for some enumerated
 values associated with the kfile library.  You will never need to
 construct a KFile object itself.
 </p>
<A NAME="Mode"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Mode</strong> {	File         = 1,
	Directory    = 2,
	Files        = 4,
	ExistingOnly = 8,
	LocalOnly    = 16
    }
</td><td align="right"><h3><strong>Mode</strong></h3></td></tr></table><p></p><p>
 Modes of operation for the dialog.
</p>

<ul>
<li><code>File</code> - Get a single file name from the user.
</li>
<li><code>Directory</code> - Get a directory name from the user.
</li>
<li><code>Files</code> - Get multiple file names from the user.
</li>
<li><code>ExistingOnly</code> - Never return a filename which does not exist yet
</li>
<li><code>LocalOnly</code> - Don't return remote filenames
     </li>
</ul>

<p>
</p>
<A NAME="FileView"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>FileView</strong> {	Default         = 0,
	Simple          = 1,
	Detail          = 2,
	SeparateDirs    = 4,
	PreviewContents = 8,
	PreviewInfo     = 16 
    }
</td><td align="right"><h3><strong>FileView</strong></h3></td></tr></table><p></p><A NAME="SelectionMode"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>SelectionMode</strong> {	Single      = 1,
	Multi       = 2,
	Extended    = 4,
	NoSelection = 8
    }
</td><td align="right"><h3><strong>SelectionMode</strong></h3></td></tr></table><p></p><A NAME="SortMode"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>SortMode</strong> {	Increasing,
	Decreasing
    }
</td><td align="right"><h3><strong>SortMode</strong></h3></td></tr></table><p></p><p>
 Increasing - greater indices mean bigger values
 Decrease -  greater indicies mean smaller values
     </p>
<A NAME="isSortByName"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSortByName</strong> ( const QDir::SortSpec& sort )
<br></td><td align="right"><h3><strong>isSortByName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isSortBySize"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSortBySize</strong> ( const QDir::SortSpec& sort )
<br></td><td align="right"><h3><strong>isSortBySize</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isSortByDate"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSortByDate</strong> ( const QDir::SortSpec& sort )
<br></td><td align="right"><h3><strong>isSortByDate</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isSortDirsFirst"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSortDirsFirst</strong> ( const QDir::SortSpec& sort )
<br></td><td align="right"><h3><strong>isSortDirsFirst</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isSortCaseInsensitive"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSortCaseInsensitive</strong> ( const QDir::SortSpec& sort )
<br></td><td align="right"><h3><strong>isSortCaseInsensitive</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isDefaultView"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isDefaultView</strong> ( const FileView& view )
<br></td><td align="right"><h3><strong>isDefaultView</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isSimpleView"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSimpleView</strong> ( const FileView& view )
<br></td><td align="right"><h3><strong>isSimpleView</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isDetailView"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isDetailView</strong> ( const FileView& view )
<br></td><td align="right"><h3><strong>isDetailView</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isSeparateDirs"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isSeparateDirs</strong> ( const FileView& view )
<br></td><td align="right"><h3><strong>isSeparateDirs</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="isPreviewContents"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isPreviewContents</strong> ( const FileView& view )
<br></td><td align="right"><h3><strong>isPreviewContents</strong></h3></td></tr></table><p> <small>[static]</small></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:22 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>