UltraScan III
us_help.h
Go to the documentation of this file.
1 #ifndef US_HELP_H
2 #define US_HELP_H
3 
4 #include <QtCore>
5 #include <QtGui>
6 #include "us_extern.h"
7 
9 
16 class US_GUI_EXTERN US_Help : public QObject
17 {
18  Q_OBJECT
19 
20  public:
25  US_Help( QObject* = 0 );
26 
31  void show_help( const QString& );
32 
36  void show_URL( const QString& );
37 
41  void show_html_file( const QString& );
42 
43  private:
44  // Only needed because we don't want it to be deleted when
45  // show_help() returns.
46  QProcess* assistant;
47 
48  void openBrowser( const QString& );
49 };
50 #endif