1 /***************************************************************************
2 * copyright: Max Howell <max.howell@methylblue.com>, (C) 2004 *
3 * Dan Meltzer <hydrogen@notyetimplemented.com>, (C) 2007 *
4 ***************************************************************************/
7 /***************************************************************************
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
14 ***************************************************************************/
16 #ifndef AMAROKTOOLBAR_H
17 #define AMAROKTOOLBAR_H
19 #include "actionclasses.h"
20 #include "enginecontroller.h"
26 class ToolBar
: public KToolBar
30 * Create a Toolbar with no Border.
31 * @param parent The Main Window that
32 * this toolbar belongs to.
33 * @param name The QObject name of this toolbar
35 ToolBar( QMainWindow
*parent
, const char *name
)
36 : KToolBar( name
, parent
, Qt::TopToolBarArea
, true, false, false )
41 * Create a borderless toolbar that can live anywhere.
42 * @param parent The Widget that should be the parent of this toolbar
43 * @param name The QObject name of this toolbar
45 ToolBar( QWidget
*parent
)
46 : KToolBar( parent
, false, false )
51 virtual void paintEvent( QPaintEvent
* )