ganeswidgets/inc/hggridcontainer.h
changeset 20 a60f8b6b1d32
parent 17 a10844a9914d
equal deleted inserted replaced
17:a10844a9914d 20:a60f8b6b1d32
    45     QPair<int,int> pinchLevels(Qt::Orientation scrollDirection) const;
    45     QPair<int,int> pinchLevels(Qt::Orientation scrollDirection) const;
    46     
    46     
    47     void setRowCount(int count, Qt::Orientation scrollDirection = Qt::Horizontal);
    47     void setRowCount(int count, Qt::Orientation scrollDirection = Qt::Horizontal);
    48     int rowCount(Qt::Orientation scrollDirection) const;
    48     int rowCount(Qt::Orientation scrollDirection) const;
    49 
    49 
       
    50     void setReflectionsEnabled(bool reflectionsEnabled);
       
    51     bool reflectionsEnabled() const;    
       
    52     
    50 signals:
    53 signals:
    51 
    54 
    52     void emptySpacePressed();
    55     void emptySpacePressed();
    53     
    56     
    54 protected:
    57 protected:
    73     bool event(QEvent *e);
    76     bool event(QEvent *e);
    74     
    77     
    75     void handlePinchEnd();
    78     void handlePinchEnd();
    76     void handlePinchUpdate(HbPinchGesture* pinch);    
    79     void handlePinchUpdate(HbPinchGesture* pinch);    
    77 
    80 
       
    81     void updateReflections(bool enable, int start, int end);
       
    82 
       
    83     virtual void addItems(int start, int end);
       
    84     virtual void removeItems(int start, int end);
       
    85     virtual void moveItems(int start, int end, int destination);
       
    86     
    78 public slots:
    87 public slots:
    79     
    88     
    80     void effectFinished();
    89     void effectFinished();
    81     
    90     
    82 private:    
    91 private: