You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
* copyright (C) 2004-2006 *
|
|
* Umbrello UML Modeller Authors <uml-devel@uml.sf.net> *
|
|
***************************************************************************/
|
|
|
|
// own header
|
|
#include "toolbarstatepool.h"
|
|
|
|
ToolBarStatePool::~ToolBarStatePool() {
|
|
}
|
|
|
|
void ToolBarStatePool::setButton(const WorkToolBar::ToolBar_Buttons &button) {
|
|
if (button != m_ToolBarButton) {
|
|
m_ToolBarButton = button;
|
|
|
|
init(); // Go back to the initial state.
|
|
}
|
|
}
|
|
|
|
ToolBarStatePool::ToolBarStatePool(UMLView *umlView): ToolBarState(umlView) {
|
|
m_ToolBarButton = WorkToolBar::tbb_Arrow;
|
|
}
|
|
|
|
#include "toolbarstatepool.moc"
|