1 /**************************************************************************************** 2 * Copyright (c) 2009 Nikolaj Hald Nielsen <nhn@kde.org> * 3 * * 4 * This program is free software; you can redistribute it and/or modify it under * 5 * the terms of the GNU General Public License as published by the Free Software * 6 * Foundation; either version 2 of the License, or (at your option) any later * 7 * version. * 8 * * 9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY * 10 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 11 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 12 * * 13 * You should have received a copy of the GNU General Public License along with * 14 * this program. If not, see <http://www.gnu.org/licenses/>. * 15 ****************************************************************************************/ 16 17 #ifndef CURRENTTRACKTOOLBAR_H 18 #define CURRENTTRACKTOOLBAR_H 19 20 #include <QToolBar> 21 22 /** A toolbar that contains the CurrentTrackActions of the currently playing track. 23 */ 24 class CurrentTrackToolbar : public QToolBar 25 { 26 Q_OBJECT 27 28 public: 29 explicit CurrentTrackToolbar( QWidget * parent ); 30 31 ~CurrentTrackToolbar() override; 32 33 protected Q_SLOTS: 34 void handleAddActions(); 35 }; 36 37 #endif 38