]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontextmenu.h
Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed...
[dolphin.git] / src / dolphincontextmenu.h
index b8920b7e2101fdafda8f4e7dba49b3a3625f298a..e6bfb9c285869c77067e915d6ae74a5e8750ddea 100644 (file)
@@ -59,15 +59,14 @@ public:
      *                is above the viewport.
      * @baseUrl       Base URL of the viewport where the context menu
      *                should be opened.
-     * @viewType      On which view type is the context menu shown.
      */
     DolphinContextMenu(DolphinMainWindow* parent,
-                       KFileItem* fileInfo,
+                       const KFileItem& fileInfo,
                        const KUrl& baseUrl);
 
     virtual ~DolphinContextMenu();
 
-    /** Opens the context menu modal. */
+    /** Opens the context menu model. */
     void open();
 
 private:
@@ -127,9 +126,9 @@ private:
     };
 
     DolphinMainWindow* m_mainWindow;
-    KFileItem* m_fileInfo;
+    KFileItem m_fileInfo;
     KUrl m_baseUrl;
-    KFileItemList m_selectedItems;
+    QList<KFileItem> m_selectedItems;
     KUrl::List m_selectedUrls;
     int m_context;
 };