/** Opens the context menu model. */
void open();
+private slots:
+ void pasteIntoFolder();
+
private:
void openTrashContextMenu();
void openTrashItemContextMenu();
bool containsEntry(const KMenu* menu,
const QString& entryName) const;
+ /**
+ * Adds the "Show menubar" action to the menu if the
+ * menubar is hidden.
+ */
+ void addShowMenubarAction(KMenu* menu);
+
+ /**
+ * Returns a name for adding the URL \a url to the Places panel.
+ */
+ QString placesName(const KUrl& url) const;
+
+ QAction* createPasteAction();
+
private:
struct Entry
{