UltraScan III
List of all members | Public Slots | Public Member Functions | Static Private Member Functions | Private Attributes
US_HelpDaemon Class Reference

Launch help programs. More...

#include "us_helpdaemon.h"

Inheritance diagram for US_HelpDaemon:
Inheritance graph
[legend]
Collaboration diagram for US_HelpDaemon:
Collaboration graph
[legend]

Public Slots

void show (const QString &)
 Sends the web page to be shown to Qt's Assistant. More...
 
void close (int, QProcess::ExitStatus)
 A slot to catch the message that the user closed Assistant. It merely terminates the process. The parameters sent are ignored. More...
 

Public Member Functions

 US_HelpDaemon (const QString &, QObject *=0)
 Launch Qt Assistant and set the page to show. More...
 

Static Private Member Functions

static void debug (const QString &)
 

Private Attributes

QProcess daemon
 

Detailed Description

Launch help programs.

Provides functions to launch a web browser for external links or Qt Assistant for local help files.

Definition at line 12 of file us_helpdaemon.h.

Constructor & Destructor Documentation

US_HelpDaemon::US_HelpDaemon ( const QString &  page,
QObject *  o = 0 
)

Launch Qt Assistant and set the page to show.

Parameters
pageThe page to have assistant show.
oA pointer to the parent widget. This normally can be left as NULL.

Definition at line 7 of file us_helpdaemon.cpp.

Member Function Documentation

void US_HelpDaemon::close ( int  ,
QProcess::ExitStatus   
)
slot

A slot to catch the message that the user closed Assistant. It merely terminates the process. The parameters sent are ignored.

Definition at line 36 of file us_helpdaemon.cpp.

void US_HelpDaemon::debug ( const QString &  message)
staticprivate

Definition at line 67 of file us_helpdaemon.cpp.

void US_HelpDaemon::show ( const QString &  helpPage)
slot

Sends the web page to be shown to Qt's Assistant.

Parameters
helpPageA QString of the page to show.

Definition at line 41 of file us_helpdaemon.cpp.

Member Data Documentation

QProcess US_HelpDaemon::daemon
private

Definition at line 37 of file us_helpdaemon.h.


The documentation for this class was generated from the following files: