aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarywidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/library/librarywidget.h')
-rw-r--r--src/plugins/General/library/librarywidget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/General/library/librarywidget.h b/src/plugins/General/library/librarywidget.h
index a77e543a8..126c916c4 100644
--- a/src/plugins/General/library/librarywidget.h
+++ b/src/plugins/General/library/librarywidget.h
@@ -27,7 +27,9 @@ namespace Ui {
class LibraryWidget;
}
+class QMenu;
class LibraryModel;
+class QContextMenuEvent;
class LibraryWidget : public QWidget
{
@@ -37,12 +39,18 @@ public:
~LibraryWidget();
void refresh();
+private:
+ void contextMenuEvent(QContextMenuEvent *e);
+
private slots:
void on_filterLineEdit_textChanged(const QString &text);
+ void addSelected();
+ void showInformation();
private:
Ui::LibraryWidget *m_ui;
LibraryModel *m_model;
+ QMenu *m_menu;
};
#endif // LIBRARYWIDGET_H