33 #ifndef CXHELPENGINE_H
34 #define CXHELPENGINE_H
37 #include "boost/shared_ptr.hpp"
38 #include "org_custusx_help_Export.h"
44 class QHelpEngineCore;
46 class QHelpSearchEngine;
59 class org_custusx_help_EXPORT
HelpEngine :
public QObject
65 QHelpEngine*
engine() {
return helpEngine; }
67 void keywordActivated(QString);
69 void focusObjectChanged(QObject* newFocus);
70 void focusChanged(QWidget * old, QWidget * now);
71 void setInitialPage();
73 QString findBestMatchingKeyword(QObject*
object);
74 QHelpEngine* helpEngine;
75 void setupDataWithWarning();
77 bool isBreakChar(QChar c)
const;
78 bool isBreakChar(QString text,
int index)
const;
79 QString convertToKeyword(QString
id)
const;
87 #endif // CXHELPENGINE_H
boost::shared_ptr< HelpEngine > HelpEnginePtr