VR-Forces 4.0.4 Class Documentation
include/tmEventHandler/helpHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: helpHandler.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef HELPHANDLER_H_
00013 #define HELPHANDLER_H_
00014 
00015 #include "tmqt/eventHandler.h"
00016 
00017 class DtTMMapArea;
00018 class QProcess;
00019 
00020 #include "tmEventHandler/tmEventHandlerDefines.h"
00021 class DT_DLL_tmEventHandler DtHelpHandler : public DtEventHandler
00022 {
00023    Q_OBJECT
00024 
00025 public:
00027    DtHelpHandler();
00028    
00030    virtual ~DtHelpHandler();
00031 
00032 public:
00034    static DtEventHandler* create(DtEventController* owner, void* usr);
00035 
00036 public slots:
00037    virtual bool userDefinedAction(DtUserDefinedType iAction, void* usr);
00038    virtual void assistantError(const QString& msg);
00039 
00040 protected:
00041 
00046    virtual void showHelp(const DtTMMapArea*);
00047 
00049    virtual void launchWebPage(const QString* url);
00050 
00056    virtual void launchHelp(const DtTMMapArea* map, const QString& filename);
00057 
00058    virtual QString browserHelpFile() const;
00059    virtual bool useAssistant() const;
00060 
00061 protected:
00062    QProcess*   myAssistant;
00063 };
00064 
00065 #endif //HELPHANDLER_H_
00066 

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)