org.kde.koala
public class KFileDetailView extends KListView implements KFileViewInterface
See Also: KDirOperator KCombiView KFileIconView
UNKNOWN: A list-view capable of showing KFileItem'.
Constructor Summary | |
---|---|
protected | KFileDetailView(Class dummy) |
KFileDetailView(QWidget parent, String name) |
Method Summary | |
---|---|
protected boolean | acceptDrag(QDropEvent e) |
KActionCollection | actionCollection() |
void | addItemList(ArrayList list)
inserts a list of items. |
static int | autoOpenDelay()
delay before auto opening a directory |
String | className() |
void | clear()
Clears the view and all item lists. |
void | clearSelection() |
void | clearView() |
protected void | contentsDragEnterEvent(QDragEnterEvent e) |
protected void | contentsDragLeaveEvent(QDragLeaveEvent e) |
protected void | contentsDragMoveEvent(QDragMoveEvent e) |
protected void | contentsDropEvent(QDropEvent ev) |
int | count() |
KFileItem | currentFileItem() |
void | determineIcon(KFileListViewItem item) |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected QDragObject | dragObject() |
int | dropOptions()
Returns the DND options in effect.
|
void | ensureItemVisible(KFileItem arg1) |
protected void | finalize() Deletes the wrapped C++ instance |
KFileItem | firstFileItem() |
void | insertItem(KFileItem i) |
void | invertSelection() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isReversed()
Tells whether the current items are in reversed order (shortcut to
sorting() & QDir.Reversed). |
boolean | isSelected(KFileItem i) |
ArrayList | items() |
protected void | keyPressEvent(QKeyEvent arg1) |
void | listingCompleted() |
QMetaObject | metaObject() |
void | mimeTypeDeterminationFinished() |
KFileItem | nextItem(KFileItem arg1) |
int | numDirs() |
int | numFiles() |
boolean | onlyDoubleClickSelectsFiles() |
KFileItem | prevItem(KFileItem arg1) |
void | readConfig(KConfig arg1, String group) |
void | readConfig(KConfig arg1) |
void | removeItem(KFileItem arg1) |
QScrollView | scrollWidget() |
void | selectAll() |
ArrayList | selectedItems() |
void | setAutoUpdate(boolean arg1) |
void | setCurrentItem(KFileItem arg1) |
void | setCurrentItem(String filename)
Sets filename the current item in the view, if available. |
void | setDropOptions(int options)
Specify DND options. |
protected void | setDropOptions_impl(int options) |
void | setOnlyDoubleClickSelectsFiles(boolean enable)
This is a KFileDialog specific hack: we want to select directories with
single click, but not files. |
void | setParentView(KFileViewInterface parent) |
void | setSelected(KFileItem arg1, boolean arg2) |
void | setSelectionMode(int sm) |
void | setSorting(int arg1) |
void | setViewMode(int vm) |
void | setViewName(String name)
Sets the name of the view, which could be displayed somewhere.
|
KFileViewSignaler | signaler() |
protected void | slotSelectionChanged() |
int | sorting()
Returns the sorting order of the internal list. |
static String | sortingKey(String value, boolean isDir, int sortSpec)
This method calculates a String from the given parameters, that is
suitable for sorting with e.g. |
static String | sortingKey(long value, boolean isDir, int sortSpec)
An overloaded method that takes not a String, but a number as sort
criterion. |
void | sortReversed() |
boolean | updateNumbers(KFileItem i)
increases the number of dirs and files. |
void | updateView(boolean arg1) |
void | updateView(KFileItem arg1) |
void | updateView() |
int | viewMode() |
String | viewName() |
QWidget | widget() |
void | writeConfig(KConfig arg1, String group) |
void | writeConfig(KConfig arg1) |
Returns: the view-specific action-collection. Every view should add its actions here (if it has any) to make them available to e.g. the KDirOperator's popup-menu.
UNKNOWN:
UNKNOWN: inserts a list of items.
UNKNOWN:
UNKNOWN: Clears the view and all item lists.
Returns: the number of dirs and files
UNKNOWN:
UNKNOWN: Returns the DND options in effect.
UNKNOWN: Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed).
Returns: all items currently available in the current sort-order
UNKNOWN:
Returns: the number of directories
UNKNOWN:
Returns: the number of files.
UNKNOWN:
Returns: whether files (not directories) should only be select()ed by double-clicks.
See Also: KFileDetailView
UNKNOWN:
Returns: all currently highlighted items.
UNKNOWN:
filename
the current item in the view, if available.UNKNOWN: Sets filename
the current item in the view, if available.
UNKNOWN: Specify DND options.
UNKNOWN: This is a KFileDialog specific hack: we want to select directories with single click, but not files.
UNKNOWN: Sets the name of the view, which could be displayed somewhere.
UNKNOWN: Returns the sorting order of the internal list.
Parameters: value Any string that should be used as sort criterion isDir Tells whether the key is computed for an item representing a directory (directories are usually sorted before files) sortSpec An ORed combination of QDir.SortSpec flags. Currently, the values IgnoreCase, Reversed and DirsFirst are taken into account.
UNKNOWN: This method calculates a String from the given parameters, that is suitable for sorting with e.
UNKNOWN: An overloaded method that takes not a String, but a number as sort criterion.
Returns: true if the item fits the view mode
UNKNOWN: increases the number of dirs and files.
Returns: the localized name of the view, which could be displayed somewhere, e.g. in a menu, where the user can choose between views.
See Also: KFileDetailView
UNKNOWN: