]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebarpage.h
use "Sort by" instead of "Sort By"
[dolphin.git] / src / sidebarpage.h
index cf9704bca3c5e8897738eab5978b359e779a2146..90f0194d3a6a2ad70fd1b469153f341ff254ac03 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef _SIDEBARPAGE_H_
 #define _SIDEBARPAGE_H_
 
-#include <QWidget>
+#include <QtGui/QWidget>
 #include <kurl.h>
 #include <kfileitem.h>
 
@@ -39,7 +39,7 @@ public:
     const KUrl& url() const;
 
     /** Returns the current selected items of the active Dolphin view. */
-    const KFileItemList& selection() const;
+    const QList<KFileItem>& selection() const;
 
 public slots:
     /**
@@ -52,11 +52,11 @@ public slots:
      * This is invoked to inform the sidebar that the user has selected a new
      * set of items.
      */
-    virtual void setSelection(const KFileItemList& selection);
+    virtual void setSelection(const QList<KFileItem>& selection);
 
 signals:
     /**
-     * This signal is emited when the sidebar requests an URL-change in the
+     * This signal is emitted when the sidebar requests an URL-change in the
      * currently active file-management view. The view is not requested to
      * accept this change, if it is accepted the sidebar will be informed via
      * the setUrl() slot.
@@ -70,7 +70,7 @@ signals:
      * e.g. the current folder. The new selection will be reported via the
      * setSelection slot.
      */
-    void changeSelection(const KFileItemList& selection);
+    void changeSelection(const QList<KFileItem>& selection);
 
     /**
      * This signal is emitted whenever a drop action on this widget needs the
@@ -80,7 +80,7 @@ signals:
 
 private:
     KUrl m_url;
-    KFileItemList m_currentSelection;
+    QList<KFileItem> m_currentSelection;
 };
 
 #endif // _SIDEBARPAGE_H_