ginebra2/ContentToolbarSnippet.h
changeset 16 3c88a81ff781
parent 3 0954f5dd2cd0
--- a/ginebra2/ContentToolbarSnippet.h	Thu Sep 23 15:32:11 2010 -0400
+++ b/ginebra2/ContentToolbarSnippet.h	Fri Oct 15 17:30:59 2010 -0400
@@ -42,6 +42,7 @@
     static ContentToolbarSnippet * instance(const QString& elementId, ChromeWidget * chrome, const QWebElement & element);
     WebChromeContainerSnippet * middleSnippet() { return m_middleSnippet;}
     void handleToolbarStateChange(ContentToolbarState);
+    virtual void setChromeWidget(QGraphicsWidget * newWidget);
 
   Q_SIGNALS:
     void menuButtonSelected();
@@ -67,6 +68,16 @@
     void onHidden();
     void onShown();
     void onInactivityTimer();
+
+    /// Called when the ContentToolbarChromeItem's inactivityTimer() signal is sent.
+    void onWidgetInactivityTimer();
+
+#ifdef Q_WS_MAEMO_5
+    /// Called when the top-level window changes state -- typically from
+    /// full screen to normal or vice versa.
+    void onWindowStateChanged(Qt::WindowStates state);
+#endif
+
     void onExternalMouse(QEvent * ev, const QString & name, const QString & description);
     void onAspectChanged( );