Workspace 6.21.5
Public Member Functions | List of all members
HelpImplementation Class Referenceabstract

Base class for a help implementation. More...

#include <Workspace/Application/helpimplementation.h>

Public Member Functions

virtual ~HelpImplementation ()=default
 
virtual void deregistering ()
 
virtual void showHelp (const QMap< QString, QUrl > &links, const QString &keyword="")=0
 
virtual void showHelp (const QString &keyword)=0
 
virtual void showHelp (const QUrl &url)=0
 

Detailed Description

The Workspace allows for the way help is presented to the user to be fully customized. Plugin code issues a request for a given help topic to the PluginManager by calling one of its showHelp() functions. This will be forwarded to the currently set help implementation, if one has been set with a call to setHelpImplementation() (which is usually done at application startup). The most common arrangement is to simply include the workspace-help plugin which will register itself as the help implementation in its setup() function.

Constructor & Destructor Documentation

◆ ~HelpImplementation()

virtual ~HelpImplementation ( )
virtualdefault

Member Function Documentation

◆ deregistering()

virtual void deregistering ( )
inlinevirtual

◆ showHelp() [1/3]

virtual void showHelp ( const QMap< QString, QUrl > &  links,
const QString &  keyword = "" 
)
pure virtual

◆ showHelp() [2/3]

virtual void showHelp ( const QString &  keyword)
pure virtual

◆ showHelp() [3/3]

virtual void showHelp ( const QUrl &  url)
pure virtual