org.kde.koala
public class KCombiView extends QSplitter implements KFileViewInterface
See Also: KFileView KFileIconView KFileDetailView KDirOperator
UNKNOWN: This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side.
| Constructor Summary | |
|---|---|
| protected | KCombiView(Class dummy) |
| KCombiView(QWidget parent, String name) | |
| Method Summary | |
|---|---|
| KActionCollection | actionCollection() |
| void | addItemList(ArrayList list)
inserts a list of items. |
| static int | autoOpenDelay()
delay before auto opening a directory |
| String | className() |
| void | clear() |
| void | clearSelection() |
| void | clearView() |
| int | count() |
| KFileItem | currentFileItem() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| int | dropOptions()
Returns the DND options in effect.
|
| void | ensureItemVisible(KFileItem arg1) |
| boolean | eventFilter(QObject o, QEvent e) |
| 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 arg1) |
| ArrayList | items() |
| void | listingCompleted() |
| QMetaObject | metaObject() |
| 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) |
| void | selectAll() |
| ArrayList | selectedItems() |
| void | setAcceptDrops(boolean b) |
| 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 | setRight(KFileViewInterface view)
Sets the view to be shown in the right. |
| void | setSelected(KFileItem arg1, boolean arg2) |
| void | setSelectionMode(int sm) |
| void | setSorting(int sort) |
| void | setViewMode(int vm) |
| void | setViewName(String name)
Sets the name of the view, which could be displayed somewhere.
|
| KFileViewSignaler | signaler() |
| protected void | slotSortingChanged(int arg1) |
| 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) |
UNKNOWN: inserts a list of items.
UNKNOWN:
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: KCombiView
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 view to be shown in the right.
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: KCombiView
UNKNOWN: