summaryrefslogtreecommitdiffstats
path: root/beetplayer.h
blob: f5169d9d3ba593b586eaa350199f53f9bca812fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef BEETPLAYER_H
#define BEETPLAYER_H

#include <QMainWindow>

class BeetPlayer : public QMainWindow {
    Q_OBJECT
    public:
        enum Tabs { Player = 0, Indexer = 1 };
        explicit BeetPlayer(QWidget *parent = 0, Qt::WindowFlags f = 0);

    public slots:
        void tabChanged(int tab);
        void configure();

    private:
        void openDatabase();
        void createGlobalActions();
        QTabWidget *mTab;
        QHash<int, QVector<QMenu*>> mMenus;
};

#endif // BEETPLAYER_H