ui/views/viewbase/inc/glxview.h
changeset 24 99ad1390cd33
parent 23 74c9f037fd5d
child 45 863223ea6961
--- a/ui/views/viewbase/inc/glxview.h	Fri Mar 19 09:28:59 2010 +0200
+++ b/ui/views/viewbase/inc/glxview.h	Fri Apr 16 14:58:46 2010 +0300
@@ -37,18 +37,12 @@
 Q_OBJECT
     
 public :
-    GlxView(qint32 id, QGraphicsItem *parent = 0 ) : HbView(parent), mId(id)
-    { 
-    
-    }
-	
+    GlxView(qint32 id, QGraphicsItem *parent = 0 );
     virtual void activate() = 0;
     virtual void deActivate() = 0;
     virtual void setModel(QAbstractItemModel *model) = 0;
-    virtual bool compare (qint32 id)
-    { 
-        return mId == id;
-    }
+
+    virtual bool compare (qint32 id);
     virtual void addToolBar( HbToolBar *toolBar ) { Q_UNUSED(toolBar) }
     virtual void enableMarking() { }
     virtual void disableMarking() { }
@@ -57,26 +51,18 @@
     virtual void resetView() {}
     virtual void initializeView(QAbstractItemModel *model) {Q_UNUSED(model)}
     inline qint32 viewId() { return mId;}
-    virtual QGraphicsItem * getAnimationItem( GlxEffect transtionEffect ) 
-    {
-        Q_UNUSED(transtionEffect)
-        return NULL; 
-    }
-    
-    virtual ~GlxView()
-    {
-    	
-    }
+    QSize screenSize();
+    QRect screenGeometry(); 
+    virtual QGraphicsItem * getAnimationItem( GlxEffect transtionEffect ); 
+    virtual ~GlxView() {   }   
 	
 signals:
     void actionTriggered(qint32 id);
-    void itemSpecificMenuTriggered(qint32,QPointF );	
-
+    void itemSpecificMenuTriggered(qint32,QPointF );
     void gridItemSelected(const QModelIndex &);
     
 private :
-	qint32 mId;
-	
+	qint32 mId;	
 };
 
 #endif /* GLXVIEW_H_ */