File indexing completed on 2024-04-21 04:58:14

0001 /* This file is part of the KDE project
0002     SPDX-FileCopyrightText: 2003 Alexander Kellett <lypanov@kde.org>
0003     SPDX-FileCopyrightText: 1998, 1999 Simon Hausmann <hausmann@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef KONQEXTENDEDBOOKMARKOWNER_H
0009 #define KONQEXTENDEDBOOKMARKOWNER_H
0010 
0011 #include <konqbookmarkmenu.h>
0012 #include <kbookmarkowner.h>
0013 
0014 class KonqExtendedBookmarkOwner : public KBookmarkOwner
0015 {
0016 public:
0017     KonqExtendedBookmarkOwner(KonqMainWindow *);
0018     QString currentTitle() const override;
0019     QUrl currentUrl() const override;
0020     bool supportsTabs() const override;
0021     QList<FutureBookmark> currentBookmarkList() const override;
0022     void openBookmark(const KBookmark &bm, Qt::MouseButtons mb, Qt::KeyboardModifiers km) override;
0023     void openInNewTab(const KBookmark &bm) override;
0024     void openInNewWindow(const KBookmark &bm) override;
0025     void openFolderinTabs(const KBookmarkGroup &grp) override;
0026 
0027 private:
0028     KonqMainWindow *m_pKonqMainWindow;
0029 };
0030 
0031 #endif