userguide/inc/HelpMainWindow.h
author Pat Downey <patd@symbian.org>
Tue, 18 May 2010 12:13:28 +0100
changeset 19 d67f854a44b4
parent 18 375271912456
child 33 1038206aa0cb
permissions -rw-r--r--
Merge docml changeset with recent Nokia delivery.

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

#ifndef HELPMAINWINDOW_H
#define HELPMAINWINDOW_H

#include <hbmainwindow.h>

#include "HelpCommon.h"
#include "HelpDocumentLoader.h"

class HelpBaseView;
class HelpCategoryView;
class HelpKeywordView;
class HelpContentsView;

class HelpMainWindow : public HbMainWindow
{
	Q_OBJECT

public:
	HelpMainWindow();
	~HelpMainWindow();

private slots:
    void onActivateView(HelpViewName viewName);

private: // activate views
	void activateCategoryView();
	void activateKeywordView();
	void activateContentsView();
	
private:
	void connectViewSignal(const HelpBaseView *view);

private slots: // handle view event
    void onShowAllList();
    void onShowFindList();

private:
	HelpCategoryView* mCategoryView;
	HelpKeywordView* mKeywordView;
	HelpContentsView* mContentsView;
	HelpViewName mPreviousViewName;
};

#endif //HELPMAINWINDOW_H