X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fvncview.h;h=0c3a22ea179fa0d584a0903989c99b1bd4ad43d5;hb=cec1e74674ff4e42e82c1333514efe4ce077ae6c;hp=fe043f28bae396f161d76ce822643f2343dc78b7;hpb=1d581a85a46b5f82af0ec1d51f44c03f259d2c49;p=presencevnc diff --git a/src/vncview.h b/src/vncview.h index fe043f2..0c3a22e 100644 --- a/src/vncview.h +++ b/src/vncview.h @@ -47,8 +47,8 @@ public: QSize framebufferSize(); QSize sizeHint() const; QSize minimumSizeHint() const; - void startQuitting(); bool isQuitting(); + qreal getZoomFactor() { return m_horizontalFactor;} //assumes fixed aspect ratio void reloadSettings(); bool start(); bool supportsScaling() const; @@ -62,6 +62,7 @@ public slots: void setZoomLevel(int level = -1); //'level' doesn't correspond to actual magnification, though mapping is done here void sendKey(Qt::Key key); void sendKeySequence(QKeySequence keys); + void startQuitting(); void forceFullRepaint(); protected: