diff -r 12f60d9a73b3 -r cbffe13eac63 userguide/src/HelpBaseView.cpp --- a/userguide/src/HelpBaseView.cpp Tue Aug 31 15:06:12 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,61 +0,0 @@ -/* -* 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: -* -*/ - -#include -#include -#include - -#include "HelpBaseView.h" - -////////////////////////////////////////////////////////////////////////////////////////////// - -HelpBaseView::HelpBaseView() -{ -} - -HelpBaseView::~HelpBaseView() -{ -} - - -//////////////////////////////////////////////////////////////////////////////////////////// - -void HelpBaseView::initBaseDocMl() -{ - // Create widget hierarchy - setObjectName( DOCML_VIEW_NAME ); - - // List existing root elements - this allows us to refer to objects in the XML - // which are created outside the document. - QObjectList roots; - roots.append( this ); - - mBuilder.setObjectTree(roots); - - mBuilder.load(QRC_DOCML_BASE); -} - -void HelpBaseView::onToolbarOnlineSupport() -{ - HbNotificationDialog *notificationDialog = new HbNotificationDialog(); - notificationDialog->setParent(this); - notificationDialog->setTitle(URL_LINK_SUPPORT); - notificationDialog->show(); -} - - -// end of file