hgcacheproxymodel/tsrc/fute/HgCacheProxyModelTestApp/src/mywindow.h
changeset 1 e48454f237ca
child 3 c863538fcbb6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hgcacheproxymodel/tsrc/fute/HgCacheProxyModelTestApp/src/mywindow.h	Mon May 03 13:32:54 2010 +0300
@@ -0,0 +1,76 @@
+/*
+* 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:
+*
+*  Version     : %version: 1 %
+*/
+#ifndef CONTENTWIDGET_H
+#define CONTENTWIDGET_H
+
+#include <hbview.h>
+#include <QGraphicsWidget>
+#include <QAbstractItemModel>
+#include <QtGui>
+#include <hbgridviewitem.h>
+
+#include <QtGui>
+#include <hbapplication.h>
+#include <hblistview.h>
+#include <hbicon.h>
+#include <hblabel.h>
+#include <hbgridview.h>
+#include <hbgridviewitem.h>
+#include <hbmainwindow.h>
+#include <hbmenu.h>
+#include <QDirModel>
+
+class QTimer;
+class HbMenu;
+class HbMainWindow;
+class HbGridView;
+class HbAction;
+class HbMenuItem;
+class QFileSystemWatcher;
+class HgCacheProxyModel;
+class HbSlider;
+class MyDataProvider;
+
+class MyWindow : public HbMainWindow
+{
+    Q_OBJECT
+
+public:
+    MyWindow();
+    ~MyWindow();
+
+private slots:
+    void processAction ( HbAction* action );
+    void setIndex(int index);
+    void timeout();
+    
+private:
+    HbMenu *createMainMenu();
+    
+private:
+    HbAbstractItemView* mView;      
+    HgCacheProxyModel *mModel;
+	
+	MyDataProvider *mMyDataProvider;
+    HbView* mMainView;	
+    int mTestVal;
+    QTimer *mTimer;
+
+};
+
+#endif // CONTENTWIDGET_H