X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Fcadtoolbar.cpp;h=e9cdcd436667747d28cf167c0cd303bd6e40b6f4;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=d988c7ca3895c764d8e72fb2d2c3bb8ab778c931;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/forms/cadtoolbar.cpp b/src/forms/cadtoolbar.cpp index d988c7c..e9cdcd4 100644 --- a/src/forms/cadtoolbar.cpp +++ b/src/forms/cadtoolbar.cpp @@ -3,7 +3,9 @@ // Part of the Architektonas Project // Originally part of QCad Community Edition by Andrew Mustun // Extensively rewritten and refactored by James L. Hammons -// (C) 2010 Underground Software +// Portions copyright (C) 2001-2003 RibbonSoft +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information // // JLH = James L. Hammons // @@ -27,7 +29,7 @@ #include "cadtoolbarselect.h" #include "cadtoolbarsnap.h" #include "cadtoolbarsplines.h" -#include "rs.h" +#include "enums.h" CadToolBar::CadToolBar(QWidget * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): QWidget(parent, flags), actionHandler(NULL), currentTb(NULL), tbSplines(NULL), @@ -57,7 +59,7 @@ CadToolBar::~CadToolBar() /** * @return Pointer to action handler or NULL. */ -QG_ActionHandler * CadToolBar::getActionHandler() +ActionHandler * CadToolBar::getActionHandler() { return actionHandler; } @@ -98,7 +100,7 @@ void CadToolBar::contextMenuEvent(QContextMenuEvent * e) * * @param ah Pointer to action handler which will deal with the actions in this tool bar. */ -void CadToolBar::createSubToolBars(QG_ActionHandler * ah) +void CadToolBar::createSubToolBars(ActionHandler * ah) { actionHandler = ah; tbMain = new CadToolBarMain(this);