class KDirOperator


Definition#include <kdiroperator.h>
InheritsQWidget (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals

Protected Methods

Protected Slots

void  setCurrentItem ( const QString& filename )

Clears the current selection and attempts to set @param filename the current file. filename is just the name, no path or url.

KCompletion *  completionObject ()

[const]

Returns: a KCompletion object, containing all filenames of the current directory/URL. You can use it to insert it into a KLineEdit or KComboBox

QActionCollection *  actionCollection ()

[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 QActionCollection::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  readConfig ( KConfig *, const QString& group = QString::null )

[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.
     


Generated by: dfaure@faure on Sun Mar 26 14:24:49 2000, using kdoc 2.0a35.