release 0.5
[presencevnc] / src / vncview.h
index 1f76385..f9e040d 100644 (file)
@@ -30,6 +30,7 @@
 class KConfigGroup{};
 
 #include <QClipboard>
+#include <QTextEdit>
 
 extern "C" {
 #include <rfb/rfbclient.h>
@@ -56,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:
@@ -70,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;
@@ -90,6 +91,7 @@ private:
     bool force_full_repaint;
     RemoteView::Quality quality;
     int left_zoom, right_zoom;
+    bool disable_tapping;
 
     void keyEventHandler(QKeyEvent *e);
     void unpressModifiers();