|
|
|
You need to call listDirectory() to actually load the directory, this constructor only initializes and doesn't start loading.
|
[virtual]
void |
bool |
[const]
void |
void |
Set a filter like "*.cpp *.h *.o". Call rereadDir() to apply it.
const QString& |
[const]
Returns: the current namefilter.
KURL |
[const]
local URLs (i.e. directories) always have file: prepended.
void |
void |
Clears the current selection and attempts to set filename
the current file. filename is just the name, no path or url.
void |
const KFileView * |
[const]
QWidget * |
[const]
Returns the widget of the current view. 0L if there is no view/widget.
void |
void |
QDir::SortSpec |
[const]
bool |
[const]
KFileReader * |
[const]
KProgress * |
[const]
Returns: the progress widget, that is shown during directory listing. You can for example reparent() it to put it into a statusbar.
void |
Sets the listing/selection mode for the views, an OR'ed combination of
You cannot mix File and Files of course.
KFile::Mode |
[const]
void |
const KFileViewItemList * |
[const]
Returns: a list of all currently selected items. If there is no view, then 0L is returned.
inline bool |
[const]
int |
[const]
int |
[const]
KCompletion * |
[const]
Returns: a KCompletion object, containing all filenames and directories of the current directory/URL. You can use it to insert it into a KLineEdit or KComboBox Note: it will only contain files, after prepareCompletionObjects() has been called. It will be implicitly called from makeCompletion() or makeDirCompletion()
KCompletion * |
[const]
Returns: a KCompletion object, containing only all directories of the current directory/URL. You can use it to insert it into a KLineEdit or KComboBox Note: it will only contain directories, after prepareCompletionObjects() has been called. It will be implicitly called from makeCompletion() or makeDirCompletion()
KActionCollection * |
[const]
an accessor to a collection of all available Actions. The actions are static, they will be there all the time (no need to connect to the signals KActionCollection::inserted() or removed().
There are the following actions:
The short and detailed view are in an exclusive group. The sort-by actions are in an exclusive group as well.
You can e.g. use
actionCollection()->action( "up" )->plug( someToolBar );</pre> to add a button into a toolbar, which makes the dirOperator change to its parent directory. @returns all available Actions |
void |
[virtual]
Reads the default settings for a view, i.e. the default KFile::FileView. Also reads the sorting and whether hidden files should be shown. Note: the default view will not be set - you have to call
@ref setView( KFile::Default )</pre> to apply it. |
void |
[virtual]
void |
This is a KFileDialog specific hack: we want to select directories with single click, but not files. But as a generic class, we have to be able to select files on single click as well.
This gives us the opportunity to do both.
The default is false, set it to true if you don't want files selected with single click.
bool |
[const]
Returns: whether files (not directories) should only be select()ed by double-clicks.
See also: setOnlyDoubleClickSelectsFiles
bool |
Creates the given directory/url. If it is a relative path, it will be completed with the current directory. If enterDirectory is true, the directory will be entered after a successful operation. If unsuccessful, a messagebox will be presented to the user.
Returns: true if the directory could be created.
void |
Clears the forward and backward history.
void |
[protected: ]
void |
[protected: ]
void |
[protected: ]
void |
[protected: ]
void |
[protected: ]
void |
[protected: ]
void |
[protected: ]
void |
[slot]
void |
[slot]
void |
[slot]
void |
[slot]
void |
[slot]
void |
[slot]
QString |
[slot]
QString |
[slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: virtual slot]
Called upon right-click to activate the popupmenu.
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
Emitted whenever the current fileview is changed, either by an explicit call to setView() or by the user selecting a different view thru the GUI.
void |
[signal]
void |
[signal]
void |
[signal]
Generated by: marc@yogi on Tue Mar 27 13:08:28 2001, using kdoc 2.0a48. |