Revision: 201025
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 15:29:26 +0300
changeset 9 dde80bf4a8c7
parent 8 15f034b8a3b5
child 10 c348b9772569
child 13 8bf920201dea
Revision: 201025 Kit: 2010127
ganeswidgets/ganeswidgets.pro
ganeswidgets/inc/hgcoverflowcontainer.h
ganeswidgets/inc/hggridcontainer.h
ganeswidgets/src/HgContainer.cpp
ganeswidgets/src/HgImageFader.cpp
ganeswidgets/src/HgScrollBufferManager.cpp
ganeswidgets/src/hgmediawallrenderer.cpp
ganeswidgets/src/hgvgimage.cpp
ganeswidgets/src/hgvgquadrenderer.cpp
ganeswidgets/src/hgwidgets.cpp
ganeswidgets/src/hgwidgets_p.cpp
ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgwidgettestdatamodel.h
ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgwidgettestview.h
ganeswidgets/tsrc/fute/HgWidgetTest/src/hgcoveritem.cpp
ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestdatamodel.cpp
ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestview.cpp
hgcacheproxymodel/hgcacheproxymodel.pro
--- a/ganeswidgets/ganeswidgets.pro	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/ganeswidgets.pro	Tue Jul 06 15:29:26 2010 +0300
@@ -28,14 +28,17 @@
     -llibOpenVGU.dll
 symbian { 
     TARGET.EPOCALLOWDLLDATA = 1
+    
+    #the def files are located in the root of hgwidgets so this is needed
+    defFilePath=..
 }
 
 # Input
 SOURCES += src/hgwidgets.cpp \
     src/hgwidgets_p.cpp \
-    src/HgContainer.cpp \
+    src/hgcontainer.cpp \
     src/hgwidgetitem.cpp \
-    src/HgScrollBufferManager.cpp \
+    src/hgscrollbuffermanager.cpp \
     src/hgquad.cpp \
     src/hgquadrenderer.cpp \
     src/hgvgquadrenderer.cpp \
@@ -43,7 +46,7 @@
     src/hgmediawallrenderer.cpp \
     src/hgspring.cpp \
     src/hgdrag.cpp \
-    src/HgImageFader.cpp \
+    src/hgimagefader.cpp \
     src/hglongpressvisualizer.cpp \
     src/hgcoverflowcontainer.cpp \
     src/hggridcontainer.cpp \
--- a/ganeswidgets/inc/hgcoverflowcontainer.h	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/inc/hgcoverflowcontainer.h	Tue Jul 06 15:29:26 2010 +0300
@@ -19,7 +19,7 @@
 #define HGCOVERFLOWCONTAINER_H
 
 #include <hgwidgets/hgmediawall.h>
-#include "HgContainer.h"
+#include "hgcontainer.h"
 
 class HgCenterItemArea;
 
--- a/ganeswidgets/inc/hggridcontainer.h	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/inc/hggridcontainer.h	Tue Jul 06 15:29:26 2010 +0300
@@ -18,7 +18,7 @@
 #ifndef HGGRIDCONTAINER_H
 #define HGGRIDCONTAINER_H
 
-#include "HgContainer.h"
+#include "hgcontainer.h"
 
 class HbLabel;
 class HgWidgetItem;
--- a/ganeswidgets/src/HgContainer.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/HgContainer.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -19,7 +19,7 @@
 #include <QPainter>
 #include <QTimer>
 #include <HbMainWindow>
-#include "HgContainer.h"
+#include "hgcontainer.h"
 #include "hgmediawallrenderer.h"
 #include "hgquad.h"
 #include "hgvgquadrenderer.h"
--- a/ganeswidgets/src/HgImageFader.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/HgImageFader.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -14,7 +14,7 @@
 * Description:
 *
 */
-#include "HgImageFader.h"
+#include "hgimagefader.h"
 #include "hgimage.h"
 
 HgImageFader::HgImageFader()
--- a/ganeswidgets/src/HgScrollBufferManager.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/HgScrollBufferManager.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -18,7 +18,7 @@
 
 #include <QTimer>
 
-#include "HgScrollBufferManager.h"
+#include "hgscrollbuffermanager.h"
 #include "trace.h"
 
 // -----------------------------------------------------------------------------
--- a/ganeswidgets/src/hgmediawallrenderer.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/hgmediawallrenderer.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -19,7 +19,7 @@
 #include "hgquadrenderer.h"
 #include "hgquad.h"
 #include "hgimage.h"
-#include "HgImageFader.h"
+#include "hgimagefader.h"
 #include "hgvgquadrenderer.h"
 #include "hgqtquadrenderer.h"
 #include <QVector3D>
--- a/ganeswidgets/src/hgvgimage.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/hgvgimage.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 #include "hgvgimage.h"
-#include "HgImageFader.h"
+#include "hgimagefader.h"
 #include "hgvgquadrenderer.h"
 
 const int KMaxMirrorWidth(128);
--- a/ganeswidgets/src/hgvgquadrenderer.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/hgvgquadrenderer.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -20,7 +20,7 @@
 #include "hgquad.h"
 #include "hgvgimage.h"
 #include "trace.h"
-#include "HgImageFader.h"
+#include "hgimagefader.h"
 
 #include <VG/openvg.h>
 #include <VG/vgu.h>
--- a/ganeswidgets/src/hgwidgets.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/hgwidgets.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -23,9 +23,9 @@
 #include <HbStyleLoader>
 
 #include "hgwidgets_p.h"
-#include "HgContainer.h"
+#include "hgcontainer.h"
 #include "hgwidgetitem.h"
-#include "HgScrollBufferManager.h"
+#include "hgscrollBufferManager.h"
 #include "hggridcontainer.h"
 #include "trace.h"
 
--- a/ganeswidgets/src/hgwidgets_p.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/src/hgwidgets_p.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -20,9 +20,9 @@
 #include <hgwidgets/hgwidgets.h>
 
 #include "hgwidgets_p.h"
-#include "HgContainer.h"
+#include "hgcontainer.h"
 #include "hgcoverflowcontainer.h"
-#include "HgScrollBufferManager.h"
+#include "hgscrollbuffermanager.h"
 #include "hgwidgetitem.h"
 #include "trace.h"
 //#include "hgindexfeedback.h"
--- a/ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgwidgettestdatamodel.h	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgwidgettestdatamodel.h	Tue Jul 06 15:29:26 2010 +0300
@@ -98,13 +98,13 @@
     QPixmap                         mDefaultPixmap;
     bool                            mSilentDataFetch;
 
-    ThumbnailManager* mWrapper;
-    QStringList mWaitingThumbnails;
-    bool mThumbnailRequestPending;
-    int mThumbnailRequestIndex;
-    int mThumbnailRequestID;
+    ThumbnailManager*               mWrapper;
+    QStringList                     mWaitingThumbnails;
+    bool                            mThumbnailRequestPending;
+    int                             mThumbnailRequestIndex;
+    int                             mThumbnailRequestID;
 
-    QFileInfoList mFileInfoList;
+    QFileInfoList                   mFileInfoList;
 };
 
 #endif // HgWidgetTestDataModel_H
--- a/ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgwidgettestview.h	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgwidgettestview.h	Tue Jul 06 15:29:26 2010 +0300
@@ -112,11 +112,11 @@
     QModelIndex             mFlippedIndex;
     HbLabel*                mFrontItem;
     HbView*                 mOptionsView;
-    HgItemSizeDialog*       mItemSizeDialog;
-    HgItemSizeDialog*       mItemPosDialog;
-    QParallelAnimationGroup* mAnimationGroup;
-    HbDialog*               mDialog;
-    HgCoverItem*            mCoverItem;
+    HgItemSizeDialog        *mItemSizeDialog;
+    HgItemSizeDialog        *mItemPosDialog;
+    QParallelAnimationGroup *mAnimationGroup;
+    HbDialog                *mDialog;
+    HgCoverItem             *mCoverItem;
 };
 
 
--- a/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgcoveritem.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgcoveritem.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -23,6 +23,7 @@
 
 void HgCoverItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
     {
+    Q_UNUSED(event);
     emit close();
     }
 
--- a/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestdatamodel.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestdatamodel.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -57,12 +57,12 @@
       mImageType(ImageTypeNone),
 //      mDefaultIcon((":/images/default.svg")),
       mUseLowResImages(false),
+      mBufferManager(0),
+      mSilentDataFetch(false),
       mWrapper( new ThumbnailManager() ),
       mThumbnailRequestPending(false),
       mThumbnailRequestIndex(-1),
-      mThumbnailRequestID(-1),
-      mBufferManager(0),
-      mSilentDataFetch(false)
+      mThumbnailRequestID(-1)
 {
     FUNC_LOG;
     mWrapper->setQualityPreference( ThumbnailManager::OptimizeForPerformance );
@@ -596,6 +596,8 @@
 
 void HgWidgetTestDataModel::thumbnailReady( QPixmap pixmap, void* data, int /*id*/, int error )
 {
+    Q_UNUSED(data);
+    
     if (!error && !pixmap.isNull() ){
 //        int idx = reinterpret_cast<int>(data);
         if (mImageType == ImageTypeQPixmap || mImageType == ImageTypeHbIcon)
--- a/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestview.cpp	Wed Jun 23 19:25:46 2010 +0300
+++ b/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestview.cpp	Tue Jul 06 15:29:26 2010 +0300
@@ -56,9 +56,9 @@
     mOptionsView(0),
     mItemSizeDialog(0),
     mItemPosDialog(0),
+    mAnimationGroup(0),
     mDialog(0),
-    mCoverItem(0),
-    mAnimationGroup(0)
+    mCoverItem(0)
 {    
     mModel = new HgWidgetTestDataModel(this);
     mSelectionModel = new QItemSelectionModel(mModel, this);
--- a/hgcacheproxymodel/hgcacheproxymodel.pro	Wed Jun 23 19:25:46 2010 +0300
+++ b/hgcacheproxymodel/hgcacheproxymodel.pro	Tue Jul 06 15:29:26 2010 +0300
@@ -19,6 +19,9 @@
 symbian {
 	TARGET.EPOCALLOWDLLDATA = 1
 	TARGET.CAPABILITY = ALL -TCB
+	
+	#the def files are located in the root of hgwidgets so this is needed
+	defFilePath=..
 }
 
 DEFINES += BUILD_CACHEPROXYMODEL