release 0.5
[presencevnc] / src / vncview.h
index 1f2ac32..f9e040d 100644 (file)
@@ -30,6 +30,7 @@
 class KConfigGroup{};
 
 #include <QClipboard>
+#include <QTextEdit>
 
 extern "C" {
 #include <rfb/rfbclient.h>
@@ -48,6 +49,7 @@ public:
     QSize minimumSizeHint() const;
     void startQuitting();
     bool isQuitting();
+    void reloadSettings();
     bool start();
     bool supportsScaling() const;
     bool supportsLocalCursor() const;
@@ -55,13 +57,12 @@ public:
     void setQuality(int q);
     void setViewOnly(bool viewOnly);
     void showDotCursor(DotCursorState state);
-    void sendKey(Qt::Key key);
     
-    virtual void updateConfiguration();
-
 public slots:
     void enableScaling(bool scale);
     void scaleResize(int w, int h);
+    void sendKey(Qt::Key key);
+    void sendKeySequence(QKeySequence keys);
     void forceFullRepaint();
 
 protected:
@@ -69,6 +70,7 @@ protected:
     bool event(QEvent *event);
     void resizeEvent(QResizeEvent *event);
     bool eventFilter(QObject *obj, QEvent *event);
+    void inputMethodEvent(QInputMethodEvent *event);
 
 private:
     VncClientThread vncThread;
@@ -81,7 +83,6 @@ private:
     bool m_repaint;
     bool m_quitFlag;
     bool m_firstPasswordTry;
-    bool m_authenticaionCanceled;
     bool m_dontSendClipboard;
     qreal m_horizontalFactor;
     qreal m_verticalFactor;
@@ -89,6 +90,8 @@ private:
     bool m_forceLocalCursor;
     bool force_full_repaint;
     RemoteView::Quality quality;
+    int left_zoom, right_zoom;
+    bool disable_tapping;
 
     void keyEventHandler(QKeyEvent *e);
     void unpressModifiers();