ginebra2/ContentViews/GWebContentViewJSObject.h
changeset 16 3c88a81ff781
parent 12 afcd8e6d025b
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
    54     Q_PROPERTY(bool gesturesEnabled READ getGesturesEnabled WRITE setGesturesEnabled)
    54     Q_PROPERTY(bool gesturesEnabled READ getGesturesEnabled WRITE setGesturesEnabled)
    55     bool getGesturesEnabled() const
    55     bool getGesturesEnabled() const
    56     {
    56     {
    57         return webContentViewConst()->gesturesEnabled();
    57         return webContentViewConst()->gesturesEnabled();
    58     }
    58     }
       
    59 
    59     void setGesturesEnabled(bool value)
    60     void setGesturesEnabled(bool value)
    60     {
    61     {
    61         webContentView()->setGesturesEnabled(value);
    62         webContentView()->setGesturesEnabled(value);
    62     }
    63     }
    63 
    64 
   109         return true;
   110         return true;
   110 #else
   111 #else
   111         return false;
   112         return false;
   112 #endif
   113 #endif
   113     }
   114     }
       
   115 #ifndef BEDROCK_TILED_BACKING_STORE
   114     void setSavedZoomValueInView(qreal zoomValue){ webContentView()->setSavedZoomValueInView(zoomValue); }
   116     void setSavedZoomValueInView(qreal zoomValue){ webContentView()->setSavedZoomValueInView(zoomValue); }
       
   117 #endif
   115 
   118 
   116 signals:
   119 signals:
   117     void ContextChanged();
   120     void ContextChanged();
   118     void iconChanged();
   121     void iconChanged();
   119     void loadFinished(bool ok);
   122     void loadFinished(bool ok);
   130 
   133 
   131     // Sent when the display mode changes from landscape to protrait or vice versa.
   134     // Sent when the display mode changes from landscape to protrait or vice versa.
   132     void onDisplayModeChanged(const QString &orientation);
   135     void onDisplayModeChanged(const QString &orientation);
   133 
   136 
   134     void contextEvent(QObject *context);
   137     void contextEvent(QObject *context);
   135 	void superPageShown(const QString &name);
   138     
       
   139     /// Sent when a superpage is shown.
       
   140 	  void superPageShown(const QString &name);
       
   141 	  /// Send when the normal content page is shown, ie. switching away from a super-page.
       
   142 	  void normalPageShown();
   136     
   143     
   137 
   144 
   138 private slots:
   145 private slots:
   139     void statusBarMessage( const QString & text );
   146     void statusBarMessage( const QString & text );
   140     void statusBarVisibilityChangeRequested(bool visible);
   147     void statusBarVisibilityChangeRequested(bool visible);