diff options
Diffstat (limited to 'src/history/historypanel.h')
-rw-r--r-- | src/history/historypanel.h | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/src/history/historypanel.h b/src/history/historypanel.h index 5a511e47..12ffe953 100644 --- a/src/history/historypanel.h +++ b/src/history/historypanel.h @@ -32,14 +32,11 @@ // Rekonq Includes #include "rekonq_defines.h" -// Qt Includes -#include <QDockWidget> +// Local Includes +#include "panels/urlpanel.h" -// Forward Declarations -class PanelTreeView; - -class REKONQ_TESTS_EXPORT HistoryPanel : public QDockWidget +class REKONQ_TESTS_EXPORT HistoryPanel : public UrlPanel { Q_OBJECT @@ -47,23 +44,17 @@ public: explicit HistoryPanel(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); virtual ~HistoryPanel(); -public slots: - void showing(bool); - -signals: - void openUrl(const KUrl &, const Rekonq::OpenType &); - void itemHovered(const QString &); - private slots: - void contextMenuItem(const QPoint &pos); - void contextMenuGroup(const QPoint &pos); + virtual void contextMenuItem(const QPoint &pos); + virtual void contextMenuGroup(const QPoint &pos); + virtual void contextMenuEmpty(const QPoint &pos); + void openAll(); private: - void setup(); + virtual void setup(); - PanelTreeView *m_treeView; - bool _loaded; + virtual QAbstractItemModel* getModel(); }; #endif // HISTORYPANEL_H |