ui/views/slideshowview/inc/glxslideshowview.h
changeset 23 74c9f037fd5d
child 26 c499df2dbb33
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/views/slideshowview/inc/glxslideshowview.h	Fri Mar 19 09:28:59 2010 +0200
@@ -0,0 +1,68 @@
+/*
+* 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:   ?Description
+*
+*/
+
+
+
+#ifndef GLXSLIDESHOWVIEW_H
+#define GLXSLIDESHOWVIEW_H
+
+//User Includes
+#include "glxview.h"
+#include "glxslideshowwidget.h"
+
+//Qt/Orbit forward declarations
+class HbMainWindow;
+class HbDocumentLoader;
+
+//User Includes forward Declaration
+class GlxView;
+class GlxSlideShowWidget;
+class CGlxHdmiController;
+
+
+class GlxSlideShowView : public GlxView
+{
+    Q_OBJECT
+
+public:
+    GlxSlideShowView(HbMainWindow *window,HbDocumentLoader *Docloader);
+    ~GlxSlideShowView();
+    void activate() ;
+    void deActivate();
+    void setModel(QAbstractItemModel *model);
+    void setModelContext();
+        
+public slots :
+    void orientationChanged(Qt::Orientation);   
+    void slideShowEventHandler( GlxSlideShowEvent e);
+    void indexchanged();
+    
+protected :
+    bool event(QEvent *event);
+    
+private:
+    void loadObjects();
+    void SetImageToHdmiL();
+private:
+    QAbstractItemModel  *mModel;
+    HbMainWindow        *mWindow;
+    GlxSlideShowWidget  *mSlideShowWidget;    
+    HbDocumentLoader    *mDocLoader; //Docml loader to load the widgets from docml
+    CGlxHdmiController* iHdmiController;
+};
+
+#endif /*GLXSLIDESHOWVIEW_H*/