diff -r 5db69f4c3d06 -r b048e15729d6 piprofilerui/ui/hb/inc/pimainwindow.h --- a/piprofilerui/ui/hb/inc/pimainwindow.h Mon Aug 23 15:50:54 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,109 +0,0 @@ -/* -* Copyright (c) 2010 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 PIPROFILERMAINWINDOW_H_ -#define PIPROFILERMAINWINDOW_H_ - -// System includes -#include -#include - -// User includes -#include "pluginattributes.h" - -// Forward declarations -class PIMainView; -class PISettingsView; -class PIProfilerEngine; -class HbDocumentLoader; -class HbApplication; - -// Class declaration -class PIMainWindow: public HbMainWindow -{ -Q_OBJECT -public: - - // Member functions - - PIMainWindow(PIProfilerEngine* engine, HbDocumentLoader &loader, HbApplication *app); - virtual ~PIMainWindow(); - -signals: - - /** - * Signal that is emitted when back button is pressed at settings view - */ - void returnedFromSettings(); - -public slots: - - /** - * Activates main view - */ - void activateMainView(); - - /** - * Activates settings view - */ - void activateSettingsView(int uid = 0); - - /** - * method that is called when back button pressed at settings view - */ - void settingsViewClosed(); - - /** - * Sets and new plugin list to all views - */ - void setPluginList(QList &pluginList); - -private: - - /** - * creates and adds main view to window - */ - void addMainView(HbDocumentLoader &loader, HbApplication *app); - - /** - * creates and adds settings view to main window - */ - void addSettingsView(); - -private slots: - -private: - // data - - // Engine wrapper - PIProfilerEngine* mEngine; - - // Main view - PIMainView* mMainView; - - // Settings view - PISettingsView* mSettingsView; - - // Back Action - HbAction *mBackAction; - - // plug-in attributes - QList mPluginAttributes; - -}; - -#endif /* PIPROFILERMAINWINDOW_H_ */