KDE3Support
kfiletreebranch.cpp
Go to the documentation of this file.
virtual void setName(const QString n)
sets the name of the branch.
Definition: kfiletreebranch.cpp:115
QT_MOC_COMPAT void deleteItem(const KFileItem &_fileItem)
QString directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
virtual void setShowingDotFiles(bool _showDotFiles)
void refreshItems(const QList< QPair< KFileItem, KFileItem > > &items)
bool isDir() const
void setExtraData(const void *key, void *value)
void newTreeViewItems(KFileTreeBranch *, const K3FileTreeViewItemList &)
emitted with a list of new or updated K3FileTreeViewItem which were found in a branch.
bool isNull() const
int stat(const QString &path, KDE_struct_stat *buf)
virtual bool openUrl(const KUrl &_url, OpenUrlFlags _flags=NoFlags)
virtual KFileItem findByUrl(const KUrl &_url) const
bool isReadable() const
bool dirOnlyMode() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool isLocalFile() const
void directoryChildCount(K3FileTreeViewItem *item, int count)
emitted with the exact count of children for a directory.
void setListed(bool wasListed)
set the flag if the directory was already listed.
Definition: k3filetreeviewitem.cpp:68
void newItems(const KFileItemList &items)
virtual K3FileTreeViewItem * createTreeViewItem(K3FileTreeViewItem *parent, const KFileItem &fileItem)
allocates a K3FileTreeViewItem for the branch for new items.
Definition: kfiletreebranch.cpp:280
void started(const KUrl &_url)
const void * extraData(const void *key) const
virtual void setRoot(K3FileTreeViewItem *r)
sets a K3FileTreeViewItem as root widget for the branch.
Definition: kfiletreebranch.cpp:100
void canceled()
void completed()
void populateFinished(K3FileTreeViewItem *)
emitted with the item of a directory which was finished to populate
KFileTreeBranch(K3FileTreeView *, const KUrl &url, const QString &name, const QPixmap &pix, bool showHidden=false, K3FileTreeViewItem *branchRoot=0)
constructs a branch for K3FileTreeView.
Definition: kfiletreebranch.cpp:34
QString text() const
KUrl url() const
virtual void setShowExtensions(bool visible=true)
sets printing of the file extensions on or off.
Definition: kfiletreebranch.cpp:310
void clear()
virtual bool populate(const KUrl &url, K3FileTreeViewItem *currItem)
populates a branch.
Definition: kfiletreebranch.cpp:540
An item for a K3FileTreeView that knows about its own KFileItem.
Definition: k3filetreeviewitem.h:41
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
void redirection(const KUrl &_url)
The filetreeview offers a treeview on the file system which behaves like a QTreeView showing files an...
Definition: k3filetreeview.h:53
void setChildRecurse(bool t=true)
sets if children recursion is wanted or not.
Definition: kfiletreebranch.cpp:297
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
bool isLocalFile() const
bool equals(const KUrl &u, const EqualsOptions &options=0) const
void setOpen(bool setopen=true)
sets the root of the branch open or closed.
Definition: kfiletreebranch.cpp:130
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
KUrl url() const
QPixmap pixmap(int _size, int _state=0) const
void setOpenPixmap(const QPixmap &pix)
Definition: kfiletreebranch.cpp:137
QStringList list(const QString &fileClass)
virtual K3FileTreeViewItem * findTVIByUrl(const KUrl &)
find the according K3FileTreeViewItem by an url
Definition: kfiletreebranch.cpp:413
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.