From 803959759a66d01d44d9e07b38f4220a93e57a2c Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 19 Feb 2017 10:36:55 +0100 Subject: Added Menus and Globals --- indexerwidget.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'indexerwidget.h') diff --git a/indexerwidget.h b/indexerwidget.h index 9bcb62d..aa3c1d3 100644 --- a/indexerwidget.h +++ b/indexerwidget.h @@ -8,6 +8,9 @@ #include "taglib/fileref.h" +class QMenu; +class QAction; + class QTextEdit; class BeetReader; struct BeetObject; @@ -16,6 +19,7 @@ class IndexerWidget : public QWidget { Q_OBJECT public: explicit IndexerWidget(QWidget *parent = 0); + QVector menus() { return mMenus; } public slots: void startIndexing(); @@ -24,10 +28,13 @@ class IndexerWidget : public QWidget { void addToError(QString msg); private: + void createMenus(); QTextEdit *mLog; QTextEdit *mError; + QVector mMenus; + QAction *mStartIndexingA; + QAction *mStopIndexingA; BeetReader *mReader; - }; class BeetReader : public QThread { -- cgit v1.2.3-70-g09d2