]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.h
Extracted the servicemenu code from KonqPopupMenu into KonqMenuActions, and used...
[dolphin.git] / src / dolphinview.h
index 60864dd9bbb7811e934087f0f28bd0dd57ad6b99..9291ea8b9d14704ccdbf76147d71f1ee294767a3 100644 (file)
@@ -224,7 +224,7 @@ public:
      * selected.
      * @see DolphinView::selectedUrls()
      */
-    QList<KFileItem> 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<KFileItem>& selection);
+    void changeSelection(const KFileItemList& selection);
 
 signals:
     /**
@@ -372,7 +369,7 @@ signals:
     /**
      * Is emitted whenever the selection has been changed.
      */
-    void selectionChanged(const QList<KFileItem>& 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<KFileItem>& 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;