]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.h
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
[dolphin.git] / src / dolphinview.h
index 7d6e1288fb498efa3170134a392630bec68c48a3..cffa52880d5722095c716f6fac543bca5a0c9d78 100644 (file)
@@ -327,11 +327,6 @@ public:
     /** Reloads the current directory. */
     void reload();
 
-    /**
-     * Declare this View as the activeview of the mainWindow()
-     */
-    void declareViewActive();
-
 public slots:
     /**
      * Popups the filter bar above the status bar if \a show is true.
@@ -445,6 +440,12 @@ private slots:
     void dropUrls(const KUrl::List& urls,
                   const QPoint& pos);
 
+    /**
+     * Drops the URLs \a urls at the
+     * destination \a destination.
+     */
+    void dropUrls(const KUrl::List& urls,
+                  const KUrl& destination);
     /**
      * Updates the view properties of the current URL to the
      * sorting given by \a sorting.
@@ -457,6 +458,18 @@ private slots:
      */
     void updateSortOrder(Qt::SortOrder order);
 
+    /**
+     * Emits the signal contentsMoved with the current coordinates
+     * of the viewport as parameters.
+     */
+    void emitContentsMoved();
+
+    /**
+     * Updates the activation state of the view by checking whether
+     * the currently active view is this view.
+     */
+    void updateActivationState();
+
 private:
     void startDirLister(const KUrl& url, bool reload = false);