X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/dbc8874c00c35aaefacdd03f8aef9e4ac4e2be01..b5eca6dc2aaa6f90d7dc2fe27ab9ccc45aee77f2:/src/dolphinview.h diff --git a/src/dolphinview.h b/src/dolphinview.h index 60864dd9b..9291ea8b9 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -224,7 +224,7 @@ public: * selected. * @see DolphinView::selectedUrls() */ - QList selectedItems() const; + KFileItemList selectedItems() const; /** * Returns a list of URLs for all selected items. An empty list @@ -281,9 +281,6 @@ public: /** Sets the additional information which should be shown for the items. */ void setAdditionalInfo(KFileItemDelegate::InformationList info); - /** Sets the additional information which should be shown for the items. */ - void setAdditionalInfo(KFileItemDelegate::Information info); - /** Returns the additional information which should be shown for the items. */ KFileItemDelegate::InformationList additionalInfo() const; @@ -320,7 +317,7 @@ public slots: * will actually get selected. The view will e.g. not select items which * are not in the currently displayed folder. */ - void changeSelection(const QList& selection); + void changeSelection(const KFileItemList& selection); signals: /** @@ -372,7 +369,7 @@ signals: /** * Is emitted whenever the selection has been changed. */ - void selectionChanged(const QList& selection); + void selectionChanged(const KFileItemList& selection); /** * Is emitted if a context menu is requested for the item \a item, @@ -421,18 +418,18 @@ private slots: void activate(); /** - * If the item specified by \a index is a directory, then this + * If the item \a item is a directory, then this * directory will be loaded. If the item is a file, the corresponding * application will get started. */ - void triggerItem(const QModelIndex& index); + void triggerItem(const KFileItem& index); /** * Generates a preview image for each file item in \a items. * The current preview settings (maximum size, 'Show Preview' menu) * are respected. */ - void generatePreviews(const QList& items); + void generatePreviews(const KFileItemList& items); /** * Replaces the icon of the item \a item by the preview pixmap @@ -489,11 +486,11 @@ private slots: /** * Updates the status bar to show hover information for the - * item with the index \a index. If currently other items are selected, + * item \a item. If currently other items are selected, * no hover information is shown. * @see DolphinView::clearHoverInformation() */ - void showHoverInformation(const QModelIndex& index); + void showHoverInformation(const KFileItem& item); /** * Clears the hover information shown in the status bar. @@ -502,7 +499,7 @@ private slots: void clearHoverInformation(); private: - void startDirLister(const KUrl& url, bool reload = false); + void loadDirectory(const KUrl& url, bool reload = false); /** * Returns the URL where the view properties should be stored. Usually @@ -546,12 +543,6 @@ private: /** Applies an item effect to all cut items. */ void applyCutItemEffect(); - /** - * Updates the color of the viewport depending from the - * activation state (see DolphinView::isActive()). - */ - void updateViewportColor(); - /** * Returns true, if the ColumnView is activated. As the column view * requires some special handling for iterating through directories, @@ -575,7 +566,6 @@ private: bool m_active; bool m_loadingDirectory; - bool m_initializeColumnView; bool m_storedCategorizedSorting; Mode m_mode;