/***************************************************************************
- * Copyright (C) 2006 by Peter Penz <peter.penz@gmx.at> *
+ * Copyright (C) 2006 by Peter Penz <peter.penz19@gmail.com> *
* *
* 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 *
/**
* @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.
* should be opened.
*/
DolphinContextMenu(DolphinMainWindow* parent,
+ const QPoint& pos,
const KFileItem& fileInfo,
const KUrl& baseUrl);
* 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.
TrashContext = 2
};
+ QPoint m_pos;
DolphinMainWindow* m_mainWindow;
KFileItem m_fileInfo;