#ifndef HISTORYSIDEBAR_H #define HISTORYSIDEBAR_H #include #include #include #include namespace Ui { class HistorySideBar; } class QupZilla; class HistorySideBar : public QWidget { Q_OBJECT public: explicit HistorySideBar(QupZilla* mainClass, QWidget* parent = 0); ~HistorySideBar(); public slots: void refreshTable(); private slots: void search(); void itemDoubleClicked(QTreeWidgetItem* item); void deleteItem(); void contextMenuRequested(const QPoint &position); void loadInNewTab(); void itemControlClicked(QTreeWidgetItem* item); private: Ui::HistorySideBar* ui; QPointer p_QupZilla; }; #endif // HISTORYSIDEBAR_H