*/
KFileItemList selectedItems() const;
- /**
- * Returns a list of URLs for all selected items. An empty list
- * is returned, if no item is selected.
- * @see DolphinView::selectedItems()
- */
- KUrl::List selectedUrls() const;
-
/**
* Returns the number of selected items (this is faster than
* invoking selectedItems().count()).
/** Reloads the current directory. */
void reload();
+ void stopLoading();
+
/**
* Refreshes the view to get synchronized with the (updated) Dolphin settings.
* This method only needs to get invoked if the view settings for the Icons View,
*/
void setCategorizedSorting(bool categorized);
- /** Switches between an ascending and descending sorting order. */
- void toggleSortOrder();
-
- /** Switches between a separate sorting (with folders first) and a mixed sorting of files and folders. */
- void toggleSortFoldersFirst();
-
- /**
- * Switches on or off the displaying of additional information
- * as specified by \a action.
- */
- void toggleAdditionalInfo(QAction* action);
-
signals:
/**
* Is emitted if the view has been activated by e. g. a mouse click.
*/
void startedPathLoading(const KUrl& url);
+ /**
+ * Is emitted after the path triggered by DolphinView::setUrl()
+ * has been loaded.
+ */
+ void finishedPathLoading(const KUrl& url);
+
/**
* Emitted when KDirLister emits redirection.
* Testcase: fish://localhost
* slotDirListerCompleted().
*/
QSet<QString> m_newFileNames;
+
+ // For unit tests
+ friend class TestBase;
};
/// Allow using DolphinView::Mode in QVariant