ginebra2/WebChromeItem.h
changeset 9 b39122337a00
parent 3 0954f5dd2cd0
child 16 3c88a81ff781
equal deleted inserted replaced
7:a1f515018ac1 9:b39122337a00
    48     QGraphicsScene * scene();
    48     QGraphicsScene * scene();
    49     ChromeRenderer * renderer();
    49     ChromeRenderer * renderer();
    50     void grabFocus();
    50     void grabFocus();
    51     bool event(QEvent* event);
    51     bool event(QEvent* event);
    52     ChromeWidget * chrome() { return m_chrome; }
    52     ChromeWidget * chrome() { return m_chrome; }
    53     QWebElement element() { return m_element; }
       
    54     inline bool isPainting() { return m_painting; }
    53     inline bool isPainting() { return m_painting; }
    55   public slots:
    54   public slots:
       
    55     QWebElement element() { return m_element; }
    56     //inline void setCacheMode(bool mode) {m_cacheMode = mode;};
    56     //inline void setCacheMode(bool mode) {m_cacheMode = mode;};
    57   signals:
    57   signals:
    58     void contextMenu(QGraphicsSceneContextMenuEvent * ev);
    58     void contextMenu(QGraphicsSceneContextMenuEvent * ev);
    59   protected:
    59   protected:
    60     void contextMenuEvent(QGraphicsSceneContextMenuEvent * ev);
    60     void contextMenuEvent(QGraphicsSceneContextMenuEvent * ev);