Remove some more autogenerated files
[presencevnc] / src / vncview.h
index d707f31..e87e84e 100644 (file)
@@ -30,7 +30,6 @@
 class KConfigGroup{};
 
 #include <QClipboard>
-#include <QTextEdit>
 
 extern "C" {
 #include <rfb/rfbclient.h>
@@ -48,7 +47,7 @@ public:
     QSize sizeHint() const;
     QSize minimumSizeHint() const;
     bool isQuitting();
-    qreal getZoomFactor() { return m_horizontalFactor;} //assumes fixed aspect ratio
+    qreal zoomFactor() { return m_horizontalFactor;} //assumes fixed aspect ratio
     void reloadSettings();
     bool start();
     bool supportsScaling() const;
@@ -57,6 +56,9 @@ public:
     void setQuality(int q);
     void setViewOnly(bool viewOnly);
     void showDotCursor(DotCursorState state);
+    void useFastTransformations(bool enabled);
+    QPoint cursorPosition() { return QPoint(cursor_x, cursor_y); }
+    void setDisplayOff(bool off) { display_off = off; }
     
 public slots:
     void setZoomLevel(int level = -1); //'level' doesn't correspond to actual magnification, though mapping is done here
@@ -89,7 +91,9 @@ private:
     int left_zoom, right_zoom;
     bool disable_tapping;
     RemoteView::Quality quality;
-       int listen_port;
+    int listen_port;
+    Qt::TransformationMode transformation_mode;
+    bool display_off;
 
     void keyEventHandler(QKeyEvent *e);
     void unpressModifiers();