kio: remove unused KBookmarkOwner destructor and private member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-06 14:24:47 +03:00
parent ea7d508307
commit 43429280bd

View file

@ -378,8 +378,6 @@ private:
class KIO_EXPORT KBookmarkOwner
{
public:
virtual ~KBookmarkOwner() {}
/**
* This function is called whenever the user wants to add the
* current page to the bookmarks list. The title will become the
@ -417,7 +415,6 @@ public:
enum BookmarkOption { ShowAddBookmark, ShowEditBookmark };
/** Returns true if \p action should be shown in the menu
* The default is to show both a add and editBookmark Entry
* //TODO ContextMenuAction? to disable the contextMenu?
@ -439,10 +436,6 @@ public:
virtual void openFolderinTabs(const KBookmarkGroup &bm);
virtual KBookmarkDialog * bookmarkDialog(KBookmarkManager * mgr, QWidget *parent);
private:
class KBookmarkOwnerPrivate;
KBookmarkOwnerPrivate *d;
};
#endif