VR-Forces 4.0.4 Class Documentation
include/tmEventHandler/deleteHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: deleteHandler.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DELETEHANDLER_H_
00013 #define DELETEHANDLER_H_
00014 
00015 #include "tmqt/eventHandler.h"
00016 
00017 class DtBaseWindow;
00018 class DtTMMapArea;
00019 class DtModelData;
00020 
00023 #include "tmEventHandler/tmEventHandlerDefines.h"
00024 class DT_DLL_tmEventHandler DtDeleteHandler : public DtEventHandler
00025 {
00026    Q_OBJECT
00027    
00028 public:
00029 
00031    DtDeleteHandler();
00032    
00034    virtual ~DtDeleteHandler();
00035 
00037    virtual void removeObject(const DtModelData& data);
00038 
00039 public:
00041    static DtEventHandler* create(DtEventController* owner, void* usr);
00042 
00043 protected:
00045    virtual bool userDefinedAction(DtUserDefinedType iAction, void* usr);
00046    virtual bool deleteSelection();
00047 
00048    virtual void deleteObject(const DtModelData& data);
00049 };
00050 
00051 #endif //DELETEHANDLER_H_
00052 
00053 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)