Add some statics to retrieve a core help engine and the collection path.

Reviewed-by: ck
This commit is contained in:
kh1
2010-03-16 14:42:09 +01:00
parent 4f03a8be53
commit 24c36c172e
2 changed files with 42 additions and 3 deletions

View File

@@ -33,6 +33,7 @@
#include <QtCore/QObject>
QT_FORWARD_DECLARE_CLASS(QHelpEngineCore)
QT_FORWARD_DECLARE_CLASS(QString)
QT_FORWARD_DECLARE_CLASS(QStringList)
@@ -45,16 +46,22 @@ class HELP_EXPORT HelpManager : public QObject
{
Q_OBJECT
public:
HelpManager(Internal::HelpPlugin*);
HelpManager(Internal::HelpPlugin *plugin);
~HelpManager();
void handleHelpRequest(const QString &url);
void registerDocumentation(const QStringList &fileNames);
static QString collectionFilePath();
static QHelpEngineCore& helpEngineCore();
signals:
void registerDocumentation();
private:
Internal::HelpPlugin *m_plugin;
static QHelpEngineCore* m_coreEngine;
};
} // Help