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;
+
private:
struct Entry
{