1 /***************************************************************************
2 * Copyright (C) 2004-2006 by Albert Astals Cid <tsdgeos@terra.es> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
20 class ToolAction
: public KAction
25 ToolAction( QObject
*parent
= 0 );
26 virtual ~ToolAction();
28 void addAction( QAction
*action
);
31 virtual QWidget
* createWidget( QWidget
*parent
);
34 void slotNewDefaultAction( QAction
*action
);
37 QList
< QPointer
< QToolButton
> > m_buttons
;
38 QList
< QAction
* > m_actions
;