X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8eb9b508ca87fb1d634d8b8ba62c054ed04466d2..c8d8556950005dfd96ebdb41d2f43ad90356367c:/src/dolphincontextmenu.h diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index 3b1a2d9a1..7f43de368 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Peter Penz * + * Copyright (C) 2006 by Peter Penz * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -65,6 +65,7 @@ public: /** * @parent Pointer to the main window the context menu * belongs to. + * @pos Position in screen coordinates. * @fileInfo Pointer to the file item the context menu * is applied. If 0 is passed, the context menu * is above the viewport. @@ -72,6 +73,7 @@ public: * should be opened. */ DolphinContextMenu(DolphinMainWindow* parent, + const QPoint& pos, const KFileItem& fileInfo, const KUrl& baseUrl); @@ -126,7 +128,7 @@ private: * Adds the "Show menubar" action to the menu if the * menubar is hidden. */ - void addShowMenubarAction(); + void addShowMenuBarAction(); /** * Returns a name for adding the URL \a url to the Places panel. @@ -190,6 +192,7 @@ private: TrashContext = 2 }; + QPoint m_pos; DolphinMainWindow* m_mainWindow; KFileItem m_fileInfo;