]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/cadtoolbar.cpp
Phase two of adding polyline functionality...
[architektonas] / src / forms / cadtoolbar.cpp
index d988c7ca3895c764d8e72fb2d2c3bb8ab778c931..e9cdcd436667747d28cf167c0cd303bd6e40b6f4 100644 (file)
@@ -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 <jlhamm@acm.org>
 //
@@ -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);