KDE3Support
kfiletreebranch.cpp
Go to the documentation of this file.
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void clear()
virtual void setName(const QString n)
sets the name of the branch.
Definition: kfiletreebranch.cpp:115
QT_MOC_COMPAT void deleteItem(const KFileItem &_fileItem)
Q3ListViewItem * nextSibling() const
QString directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
virtual void setShowingDotFiles(bool _showDotFiles)
void refreshItems(const QList< QPair< KFileItem, KFileItem > > &items)
bool isDir() const
int childCount() 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)
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual void setOpen(bool o)
void append(const type *item)
bool isLocalFile() const
int count(const T &value) const
void directoryChildCount(K3FileTreeViewItem *item, int count)
emitted with the exact count of children for a directory.
void append(const T &value)
virtual void setText(int column, const QString &text)
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
int removeAll(const T &value)
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()
typedef Iterator
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
iterator end()
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 left(int n) const
virtual void setExpandable(bool enable)
Q3ListViewItem * firstChild() const
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
virtual void setPixmap(int column, const QPixmap &pm)
bool isLocalFile() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() 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
iterator begin()
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.