ganeswidgets/inc/hgwidgets_p.h
changeset 13 8bf920201dea
parent 3 c863538fcbb6
child 14 645b870db620
equal deleted inserted replaced
9:dde80bf4a8c7 13:8bf920201dea
    73     QSizeF itemSize() const;
    73     QSizeF itemSize() const;
    74 
    74 
    75     void setItemSpacing(const QSizeF& size);
    75     void setItemSpacing(const QSizeF& size);
    76     QSizeF itemSpacing() const;
    76     QSizeF itemSpacing() const;
    77 
    77 
       
    78     void setHandleLongPress(bool handleLongPress);
       
    79     bool handleLongPress() const;
       
    80     
       
    81     virtual void handleThemeChanged();
       
    82     
    78     HgWidget *q_ptr;
    83     HgWidget *q_ptr;
    79 
    84 
    80 private:
    85 private:
    81 
    86 
    82     void clearCurrentModel();
    87     void clearCurrentModel();
   112                      int sourceEnd, const QModelIndex &destinationParent,
   117                      int sourceEnd, const QModelIndex &destinationParent,
   113                      int destinationRow);
   118                      int destinationRow);
   114     void _q_modelReset();
   119     void _q_modelReset();
   115     void _q_groovePressed(qreal value, Qt::Orientation orientation);
   120     void _q_groovePressed(qreal value, Qt::Orientation orientation);
   116     void _q_updateCurrentItem(const QModelIndex &current, const QModelIndex &previous);
   121     void _q_updateCurrentItem(const QModelIndex &current, const QModelIndex &previous);
   117 
   122     void _q_themeChanged();
       
   123     
   118     void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
   124     void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
   119 
   125 
   120     void initBufferManager(int itemCount);
   126     void initBufferManager(int itemCount);
   121 
   127     
   122 protected:
   128 protected:
   123 
   129 
   124     HgContainer *mContainer;
   130     HgContainer *mContainer;
   125     HgScrollBufferManager *mBufferManager;
   131     HgScrollBufferManager *mBufferManager;
   126 
   132