kio
KFileViewSignaler Class Reference
internal class to make easier to use signals possible More...
#include <kfileview.h>
Inheritance diagram for KFileViewSignaler:
Signals | |
void | activatedMenu (const KFileItem *i, const QPoint &) |
void | dirActivated (const KFileItem *) |
void | dropped (const KFileItem *, QDropEvent *, const KURL::List &) |
void | fileHighlighted (const KFileItem *) |
void | fileSelected (const KFileItem *) |
void | sortingChanged (QDir::SortSpec) |
Public Member Functions | |
void | activate (const KFileItem *item) |
void | activateMenu (const KFileItem *i, const QPoint &pos) |
void | changeSorting (QDir::SortSpec sorting) |
void | dropURLs (const KFileItem *i, QDropEvent *e, const KURL::List &urls) |
void | highlightFile (const KFileItem *i) |
Detailed Description
internal class to make easier to use signals possible
For internal use only.
Definition at line 37 of file kfileview.h.
Member Function Documentation
void KFileViewSignaler::activate | ( | const KFileItem * | item | ) | [inline] |
Call this method when an item is selected (depends on single click / double click configuration).
Emits the appropriate signal.
Definition at line 46 of file kfileview.h.
Definition at line 58 of file kfileview.h.
void KFileViewSignaler::changeSorting | ( | QDir::SortSpec | sorting | ) | [inline] |
Definition at line 62 of file kfileview.h.
void KFileViewSignaler::dirActivated | ( | const KFileItem * | ) | [signal] |
void KFileViewSignaler::dropped | ( | const KFileItem * | , | |
QDropEvent * | , | |||
const KURL::List & | ||||
) | [signal] |
void KFileViewSignaler::dropURLs | ( | const KFileItem * | i, | |
QDropEvent * | e, | |||
const KURL::List & | urls | |||
) | [inline] |
Definition at line 66 of file kfileview.h.
void KFileViewSignaler::fileHighlighted | ( | const KFileItem * | ) | [signal] |
the item maybe be 0L, indicating that we're in multiselection mode and the selection has changed.
void KFileViewSignaler::fileSelected | ( | const KFileItem * | ) | [signal] |
void KFileViewSignaler::highlightFile | ( | const KFileItem * | i | ) | [inline] |
emits the highlighted signal for item.
Call this in your view class whenever the selection changes.
Definition at line 56 of file kfileview.h.
void KFileViewSignaler::sortingChanged | ( | QDir::SortSpec | ) | [signal] |
The documentation for this class was generated from the following file: