[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Listing the local filesystem
From: Alexandre Sagala <asagala () eclipsys ! qc ! ca>
Date: 2001-04-04 17:56:22
[Download RAW message or body]
I know I meant in the html file package that comes with kde . The
KDirLister is not there
At 18:40 01-04-04 +0100, you wrote:
>On Wednesday 04 April 2001 18:33, Alexandre Sagala wrote:
> > How come this class is not documented???
>
>???
>
>/**
> * The dir lister deals with the kiojob used to list and update a directory,
> * handles the timer, and has signals for the user of this class (e.g.
> * konqueror view or kdesktop) to create/destroy its items when asked.
> *
> * This class is independent from the graphical representation of the dir
> * (icon container, tree view, ...) and it stores the items (as KFileItems).
> *
> * Typical usage :
> * Create an instance,
> * Connect to at least update, clear, newItem, and deleteItem
> * Call openURL - the signals will be called
> * Reuse the instance when opening a new url (openURL)
> * Destroy the instance when not needed anymore (usually destructor)
> *
> * Advanced usage : call openURL with _keep = true to list directories
> * without forgetting the ones previously read (e.g. for a tree view)
> *
> *@short Helper class for the kiojob used to list and update a directory.
> */
>class KDirLister : public QObject, public KDirNotify
>{
> Q_OBJECT
>public:
> /**
> * Create a directory lister
> */
> KDirLister( bool _delayedMimeTypes = false );
> /**
> * Destroy the directory lister
> */
> virtual ~KDirLister();
>
> /**
> * Run the directory lister on the given url
> * @param _url the directory URL
> * @param _showDotFiles whether to return the "hidden" files
> * @param _keep if true the previous directories aren't forgotten
> * (they are still watched by kdirwatch and their items are kept in
> * m_lstFileItems)
> *
> * The @ref newItems() signal may be emitted more than once to supply you
> * with KFileItems, up until the signal @ref completed() is emitted
> * (and isFinished() returns true).
> */
> virtual void openURL( const KURL& _url, bool _showDotFiles, bool _keep
> = false );
>
>etc.
>
>--
>David FAURE, david@mandrakesoft.com, faure@kde.org
>http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
>KDE, Making The Future of Computing Available Today
>
>
> >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
------------------------------------------------
Alexandre Sagala - Eclipsys
Spécialiste Linux
asagala@eclipsys.qc.ca
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic