00001 /************************************************************************************ 00002 ** 00003 ** This file is part of the QtOPENCASCADE Toolkit. 00004 ** 00005 ** Copyright (C) 2006, 2007, 2008 QtOCC Team Members 00006 ** Peter Dolbey, Marc Britten, Stephane Routelous 00007 ** Stefan Boeykens, Pawel Dobrolowski, Walter Steffe 00008 ** Álvaro Castro Castilla, Dirk Burski, Fotis Sioutis 00009 ** 00010 ** This library is free software; you can redistribute it and/or 00011 ** modify it under the terms of the GNU Lesser General Public 00012 ** License as published by the Free Software Foundation; either 00013 ** version 2.1 of the License, or (at your option) any later version. 00014 ** 00015 ** This library is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 ** Lesser General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU Lesser General Public 00021 ** License along with this library; if not, write to the Free Software 00022 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00023 ** 00024 ***********************************************************************************/ 00025 /*! 00026 \class QoccCommand 00027 \brief This class provides a base object for commands 00028 \author Peter C. Dolbey 00029 */ 00030 00031 #include <qnamespace.h> 00032 #include "commands/qocccommand.h" 00033 #include "qoccinternal.h" 00034 00035 QoccCommand::QoccCommand( QAction* startingAction, QWidget* parent ) 00036 { 00037 Q_UNUSED (parent); 00038 myAction = startingAction; 00039 myIsDrawing = false; 00040 } 00041 00042 QoccCommand::~QoccCommand( ) 00043 { 00044 00045 } 00046 00047 00048 00049