VR-Forces 4.2 Class Documentation
helpHandler.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: helpHandler.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef HELPHANDLER_H_
13 #define HELPHANDLER_H_
14 
15 #include "tmqt/eventHandler.h"
16 
17 class DtTMMapArea;
18 class QProcess;
19 
22 {
23  Q_OBJECT
24 
25 public:
27  DtHelpHandler();
28 
30  virtual ~DtHelpHandler();
31 
32 public:
34  static DtEventHandler* create(DtEventController* owner, void* usr);
35 
36 public slots:
37  virtual bool userDefinedAction(DtUserDefinedType iAction, void* usr);
38  virtual void assistantError(const QString& msg);
39 
40 protected:
41 
46  virtual void showHelp(const DtTMMapArea*);
47 
49  virtual void launchWebPage(const QString* url);
50 
56  virtual void launchHelp(const DtTMMapArea* map, const QString& filename);
57 
58  virtual QString browserHelpFile() const;
59  virtual bool useAssistant() const;
60 
61 protected:
62  QProcess* myAssistant;
63 };
64 
65 #endif //HELPHANDLER_H_
66 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)