• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
toolbarstatepool.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2004-2013 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef TOOLBARSTATEPOOL_H
12 #define TOOLBARSTATEPOOL_H
13 
14 #include "toolbarstate.h"
15 #include "worktoolbar.h"
16 
22 class ToolBarStatePool : public ToolBarState
23 {
24  Q_OBJECT
25 public:
26 
27  virtual ~ToolBarStatePool();
28 
29  void setButton(const WorkToolBar::ToolBar_Buttons &button);
30  WorkToolBar::ToolBar_Buttons getButton() const;
31 
32 protected:
33 
34  ToolBarStatePool(UMLScene *umlScene);
35 
36 private:
37 
38  WorkToolBar::ToolBar_Buttons m_ToolBarButton;
39 
40 };
41 
42 #endif //TOOLBARSTATEPOOL_H
ToolBarStatePool
Base class for tools that can use the same state but with different button.
Definition: toolbarstatepool.h:22
ToolBarStatePool::setButton
void setButton(const WorkToolBar::ToolBar_Buttons &button)
Sets the current button and inits the tool.
Definition: toolbarstatepool.cpp:28
WorkToolBar::ToolBar_Buttons
ToolBar_Buttons
Enumeration of all available toolbar buttons.
Definition: worktoolbar.h:55
ToolBarStatePool::~ToolBarStatePool
virtual ~ToolBarStatePool()
Destroys this ToolBarStatePool.
Definition: toolbarstatepool.cpp:17
worktoolbar.h
ToolBarStatePool::getButton
WorkToolBar::ToolBar_Buttons getButton() const
Returns the current button.
Definition: toolbarstatepool.cpp:42
toolbarstate.h
ToolBarStatePool::ToolBarStatePool
ToolBarStatePool(UMLScene *umlScene)
Creates a new ToolBarStatePool.
Definition: toolbarstatepool.cpp:54
ToolBarState
Base class for toolbar states.
Definition: toolbarstate.h:69
UMLScene
UMLScene instances represent diagrams.
Definition: umlscene.h:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal