X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/d7d4fb9d26773c2d729b49d71af10e1378381ff3..abf17941f7:/src/dolphincontextmenu.h diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index 49c21faa8..82bc9f24d 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -21,10 +21,9 @@ #ifndef DOLPHINCONTEXTMENU_H #define DOLPHINCONTEXTMENU_H -#include -#include -#include -#include +#include +#include + #include #include #include @@ -58,11 +57,9 @@ public: * @fileInfo Pointer to the file item the context menu * is applied. If 0 is passed, the context menu * is above the viewport. - * @pos Position of the upper left edge of the context menu. */ DolphinContextMenu(DolphinView* parent, - KFileItem* fileInfo, - const QPoint& pos); + KFileItem* fileInfo); virtual ~DolphinContextMenu(); @@ -84,7 +81,7 @@ private: * to the predecessor. */ QList insertOpenWithItems(KMenu* popup, - Q3ValueVector& openWithVector); + QVector& openWithVector); /** * Inserts the 'Actions...' submenu to \a popup. @@ -94,7 +91,7 @@ private: * services. */ QList insertActionItems(KMenu* popup, - Q3ValueVector& actionsVector); + QVector& actionsVector); /** * Returns true, if 'menu' contains already @@ -103,16 +100,8 @@ private: bool containsEntry(const KMenu* menu, const QString& entryName) const; - enum { - submenuID = 90, - bookmarkID = 91, - openWithIDStart = 100, - actionsIDStart = 1000, - }; - DolphinView* m_dolphinView; KFileItem* m_fileInfo; - QPoint m_pos; struct Entry { int type;