diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-30 18:02:05 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-30 18:02:05 +0200 |
commit | 4b160adc90c4a484e7cb94b3c9fd23439f0e12a8 (patch) | |
tree | a1fff65e53a3910cf5e86e75147ed517a51a4978 /src/history/historypanel.h | |
parent | suggestion download: kill previous job before start a new one. (diff) | |
parent | panels directory removed (diff) | |
download | rekonq-4b160adc90c4a484e7cb94b3c9fd23439f0e12a8.tar.xz |
Merge commit 'refs/merge-requests/193' of git://gitorious.org/rekonq/mainline into m193
Diffstat (limited to 'src/history/historypanel.h')
-rw-r--r-- | src/history/historypanel.h | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/src/history/historypanel.h b/src/history/historypanel.h index 68de2828..9c9d4a4e 100644 --- a/src/history/historypanel.h +++ b/src/history/historypanel.h @@ -33,43 +33,28 @@ #include "rekonq_defines.h" // Local Includes -#include "application.h" -#include "paneltreeview.h" +#include "urlpanel.h" -// Qt Includes -#include <QDockWidget> -// Forward Declarations -class KUrl; -class QWidget; -class QModelIndex; - - -class REKONQ_TESTS_EXPORT HistoryPanel : public QDockWidget +class REKONQ_TESTS_EXPORT HistoryPanel : public UrlPanel { Q_OBJECT public: explicit HistoryPanel(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); - ~HistoryPanel(); - -public slots: - void showing(bool); - -signals: - void openUrl(const KUrl &, const Rekonq::OpenType &); - void itemHovered(const QString &); + virtual ~HistoryPanel(); 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(); - PanelTreeView *m_treeView; + virtual void setup(); - bool _loaded; + virtual QAbstractItemModel* getModel(); }; #endif // HISTORYPANEL_H |