ginebra2/mostvisitedpageview.h
changeset 16 3c88a81ff781
parent 12 afcd8e6d025b
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
    30     class WrtBrowserContainer;
    30     class WrtBrowserContainer;
    31 }
    31 }
    32 
    32 
    33 namespace GVA {
    33 namespace GVA {
    34 
    34 
       
    35 const QSize KSize(0,0);
       
    36 
    35 class ExternalEventCharm;
    37 class ExternalEventCharm;
    36 class LinearFlowSnippet;
    38 class LinearFlowSnippet;
    37 
    39 
    38 class  MostVisitedPagesWidget : public ChromeItem
    40 class  MostVisitedPagesWidget : public ChromeItem
    39 {
    41 {
    45 
    47 
    46     void open();
    48     void open();
    47 
    49 
    48     void updatePos(QPointF pos, qreal &toolBarHeight);
    50     void updatePos(QPointF pos, qreal &toolBarHeight);
    49     void resize(const QSize &size);
    51     void resize(const QSize &size);
    50     void displayModeChanged(QString& newMode);
    52     void displayModeChanged(QString& newMode, QSize sz=KSize);
    51     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    53     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    52     void setCenterIndex(QString displayMode);
    54     void setCenterIndex(QString displayMode);
    53     void updateMVGeometry();
    55     void updateMVGeometry();
    54     void updateMVStore(WRT::WrtBrowserContainer *page);
    56     void updateMVStore(WRT::WrtBrowserContainer *page);
    55 
    57