diff -r 1eb8015a8491 -r c0dfc135a46c userguide/inc/HelpContentsView.h --- a/userguide/inc/HelpContentsView.h Fri Apr 16 14:53:45 2010 +0300 +++ b/userguide/inc/HelpContentsView.h Mon May 03 12:24:47 2010 +0300 @@ -18,11 +18,12 @@ #ifndef HELPCONTENTSVIEW_H #define HELPCONTENTSVIEW_H -#include +#include #include #include "HelpCommon.h" +#include "HelpDocumentLoader.h" class BrowserWrapper; @@ -38,16 +39,12 @@ void init(); private: + void initDocMl(); void initBackAction(); signals: void activateView(HelpViewName viewName); -signals: // from tollbar event - void showAllList(); - void showFindList(); - void showOnlineSupport(); - private: bool openApplication(const QUrl& url); bool openExternalLink(const QUrl& url); @@ -59,11 +56,6 @@ private slots: // handle button action void onBackAction(); -private slots: // handle tollbar event - void onToolbarAll() { emit showAllList(); }; - void onToolbarFind() { emit showFindList(); }; - void onToolbarOnlineSupport() { emit showOnlineSupport(); }; - private slots: // handle browser event void onLinkClicked(const QUrl& url); void onUrlChanged(const QUrl& url); @@ -71,6 +63,7 @@ private: BrowserWrapper* mBrowser; HbAction* mSoftKeyAction; + HelpUIBuilder mBuilder; }; #endif //HELPCONTENTSVIEW_H