KFile Class Reference
from PyKDE4.kio import *
Detailed Description
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.
 Enumerations | 
| FileView  | { Default, Simple, Detail, SeparateDirs, PreviewContents, PreviewInfo, Tree, DetailTree, FileViewMax } | 
| Mode  | { File, Directory, Files, ExistingOnly, LocalOnly, ModeMax } | 
| SelectionMode  | { Single, Multi, Extended, NoSelection } | 
 Methods | 
|   | __init__ (self) | 
| bool  | isDefaultView (self, KFile.FileView view) | 
| bool  | isDetailTreeView (self, KFile.FileView view) | 
| bool  | isDetailView (self, KFile.FileView view) | 
| bool  | isPreviewContents (self, KFile.FileView view) | 
| bool  | isPreviewInfo (self, KFile.FileView view) | 
| bool  | isSeparateDirs (self, KFile.FileView view) | 
| bool  | isSimpleView (self, KFile.FileView view) | 
| bool  | isSortByDate (self, QDir.SortFlags sort) | 
| bool  | isSortByName (self, QDir.SortFlags sort) | 
| bool  | isSortBySize (self, QDir.SortFlags sort) | 
| bool  | isSortByType (self, QDir.SortFlags sort) | 
| bool  | isSortCaseInsensitive (self, QDir.SortFlags sort) | 
| bool  | isSortDirsFirst (self, QDir.SortFlags sort) | 
| bool  | isTreeView (self, KFile.FileView view) | 
Method Documentation
Enumeration Documentation
- Enumerator: 
 - 
| Default = 0 |  | 
| Simple = 1 |  | 
| Detail = 2 |  | 
| SeparateDirs = 4 |  | 
| PreviewContents = 8 |  | 
| PreviewInfo = 16 |  | 
| Tree = 32 |  | 
| DetailTree = 64 |  | 
| FileViewMax = 65536 |  | 
 
 
Modes of operation for the dialog.
 File - Get a single file name from the user. 
 Directory - Get a directory name from the user. 
 Files - Get multiple file names from the user. 
 ExistingOnly - Never return a filename which does not exist yet 
 LocalOnly - Don't return remote filenames 
- Enumerator: 
 - 
| ExeCompletion = 1 |  | 
| FileCompletion  |  | 
| DirCompletion  |  | 
 
 
- Enumerator: 
 - 
| Single = 1 |  | 
| Multi = 2 |  | 
| Extended = 4 |  | 
| NoSelection = 8 |  |