KDE3Support
k3fileview.h
Go to the documentation of this file.
void sortingChanged(QDir::SortFlags)
void activateMenu(const KFileItem &item, const QPoint &pos)
Definition k3fileview.cpp:55
void fileSelected(const KFileItem &item)
void activate(const KFileItem &item)
Call this method when an item is selected (depends on single click / double click configuration).
Definition k3fileview.cpp:42
void highlightFile(const KFileItem &item)
emits the highlighted signal for item.
Definition k3fileview.cpp:50
void dropURLs(const KFileItem &item, QDropEvent *event, const KUrl::List &urls)
Definition k3fileview.cpp:65
void activatedMenu(const KFileItem &item, const QPoint &pos)
void dirActivated(const KFileItem &item)
void changeSorting(QDir::SortFlags sorting)
Definition k3fileview.cpp:60
void fileHighlighted(const KFileItem &item)
the item maybe be a null item, indicating that we're in multiselection mode and the selection has cha...
void dropped(const KFileItem &item, QDropEvent *event, const KUrl::List &urls)
virtual void clearSelection()=0
Clears any selection, unhighlights everything.
virtual void listingCompleted()
This hook is called when all items of the currently listed directory are listed and inserted into the...
Definition k3fileview.cpp:438
virtual KFileItem nextItem(const KFileItem &) const =0
bool onlyDoubleClickSelectsFiles() const
Definition k3fileview.cpp:363
void setOnlyDoubleClickSelectsFiles(bool enable)
This is a KFileDialog specific hack: we want to select directories with single click,...
Definition k3fileview.cpp:359
bool updateNumbers(const KFileItem &i)
increases the number of dirs and files.
Definition k3fileview.cpp:154
virtual KFileItem prevItem(const KFileItem &) const =0
virtual void clearView()=0
pure virtual function, that should be implemented to clear the view.
virtual void setSelected(const KFileItem &, bool enable)=0
Tells the view that it should highlight the item.
virtual KFileItem firstFileItem() const =0
virtual void setSelectionMode(KFile::SelectionMode sm)
Definition k3fileview.cpp:397
bool isReversed() const
Tells whether the current items are in reversed order (shortcut to sorting() & QDir::Reversed).
Definition k3fileview.cpp:210
virtual void removeItem(const KFileItem &item)
Removes an item from the list; has to be implemented by the view.
Definition k3fileview.cpp:427
virtual bool isSelected(const KFileItem &) const =0
virtual void setCurrentItem(const KFileItem &item)=0
Reimplement this to set item the current item in the view, e.g.
QDir::SortFlags sorting() const
Returns the sorting order of the internal list.
Definition k3fileview.cpp:193
virtual QWidget * widget()=0
a pure virtual function to get a QWidget, that can be added to other widgets.
virtual KFile::SelectionMode selectionMode() const
Definition k3fileview.cpp:402
virtual void setSorting(QDir::SortFlags sort)
Sets the sorting order of the view.
Definition k3fileview.cpp:198
virtual KFileItem currentFileItem() const =0
void setCurrentItem(const QString &filename)
Sets filename the current item in the view, if available.
Definition k3fileview.cpp:334
virtual void ensureItemVisible(const KFileItem &i)=0
pure virtual function, that should be implemented to make item i visible, i.e.
virtual KActionCollection * actionCollection() const
Definition k3fileview.cpp:443
SelectionMode
static quint32 f(DES_KEY *key, quint32 r, char *subkey)
qulonglong filesize_t
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.